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 LLMChatOpenAI, reference main (3ffffb), with Swift 6.1 for macOS (SPM) on 29 Apr 2025 21:27:58 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures

Build Log

========================================
RunAll
========================================
Builder version: 4.61.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/kevinhermawan/swift-llm-chat-openai.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/kevinhermawan/swift-llm-chat-openai
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 3ffffb4 release: 1.3.2
Cloned https://github.com/kevinhermawan/swift-llm-chat-openai.git
Revision (git rev-parse @):
3ffffb4b85b3b764d72ef49adedce142bbd49e6c
SUCCESS checkout https://github.com/kevinhermawan/swift-llm-chat-openai.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/kevinhermawan/swift-llm-chat-openai.git
https://github.com/kevinhermawan/swift-llm-chat-openai.git
{
  "dependencies" : [
    {
      "identity" : "swift-json-schema",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.0.1",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/kevinhermawan/swift-json-schema.git"
    },
    {
      "identity" : "swift-docc-plugin",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.4.3",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-docc-plugin.git"
    }
  ],
  "manifest_display_name" : "LLMChatOpenAI",
  "name" : "LLMChatOpenAI",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "15.0"
    },
    {
      "name" : "macos",
      "version" : "12.0"
    }
  ],
  "products" : [
    {
      "name" : "LLMChatOpenAI",
      "targets" : [
        "LLMChatOpenAI"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "LLMChatOpenAITests",
      "module_type" : "SwiftTarget",
      "name" : "LLMChatOpenAITests",
      "path" : "Tests/LLMChatOpenAITests",
      "sources" : [
        "ChatCompletionTests.swift",
        "ResponseFormatTests.swift",
        "ToolUseTests.swift",
        "Utils/URLProtocolMock.swift",
        "VisionTests.swift"
      ],
      "target_dependencies" : [
        "LLMChatOpenAI"
      ],
      "type" : "test"
    },
    {
      "c99name" : "LLMChatOpenAI",
      "module_type" : "SwiftTarget",
      "name" : "LLMChatOpenAI",
      "path" : "Sources/LLMChatOpenAI",
      "product_dependencies" : [
        "JSONSchema"
      ],
      "product_memberships" : [
        "LLMChatOpenAI"
      ],
      "sources" : [
        "ChatCompletion.swift",
        "ChatCompletionChunk.swift",
        "ChatMessage.swift",
        "ChatOptions.swift",
        "LLMChatOpenAI+Typealias.swift",
        "LLMChatOpenAI.swift",
        "LLMChatOpenAIError.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.10"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/5] Write sources
[4/5] Write swift-version-2F0A5646E1D333AE.txt
[6/15] Compiling JSONSchema JSONSchema+Enum.swift
[7/15] Compiling JSONSchema JSONSchema.swift
[8/15] Compiling JSONSchema JSONSchema+String.swift
[9/15] Compiling JSONSchema JSONSchema+Boolean.swift
[10/15] Compiling JSONSchema JSONSchema+Null.swift
[11/15] Compiling JSONSchema JSONSchema+Object.swift
[12/15] Compiling JSONSchema JSONSchema+Array.swift
[13/15] Compiling JSONSchema JSONSchema+Integer.swift
[14/15] Emitting module JSONSchema
[15/15] Compiling JSONSchema JSONSchema+Number.swift
[16/23] Compiling LLMChatOpenAI ChatMessage.swift
[17/23] Compiling LLMChatOpenAI ChatOptions.swift
[18/23] Compiling LLMChatOpenAI ChatCompletion.swift
[19/23] Compiling LLMChatOpenAI LLMChatOpenAI+Typealias.swift
[20/23] Compiling LLMChatOpenAI LLMChatOpenAIError.swift
[21/23] Compiling LLMChatOpenAI LLMChatOpenAI.swift
[22/23] Emitting module LLMChatOpenAI
[23/23] Compiling LLMChatOpenAI ChatCompletionChunk.swift
Build complete! (22.58s)
Fetching https://github.com/kevinhermawan/swift-json-schema.git
Fetching https://github.com/apple/swift-docc-plugin.git
[1/206] Fetching swift-json-schema
[168/2255] Fetching swift-json-schema, swift-docc-plugin
Fetched https://github.com/apple/swift-docc-plugin.git from cache (1.20s)
Fetched https://github.com/kevinhermawan/swift-json-schema.git from cache (1.20s)
Computing version for https://github.com/apple/swift-docc-plugin.git
Computed https://github.com/apple/swift-docc-plugin.git at 1.4.3 (2.14s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit from cache
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.73s)
Computing version for https://github.com/kevinhermawan/swift-json-schema.git
Computed https://github.com/kevinhermawan/swift-json-schema.git at 2.0.1 (1.18s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.60s)
Creating working copy for https://github.com/apple/swift-docc-plugin.git
Working copy of https://github.com/apple/swift-docc-plugin.git resolved at 1.4.3
Creating working copy for https://github.com/kevinhermawan/swift-json-schema.git
Working copy of https://github.com/kevinhermawan/swift-json-schema.git resolved at 2.0.1
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift-json-schema",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.0.1",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/kevinhermawan/swift-json-schema.git"
    },
    {
      "identity" : "swift-docc-plugin",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.4.3",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-docc-plugin.git"
    }
  ],
  "manifest_display_name" : "LLMChatOpenAI",
  "name" : "LLMChatOpenAI",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "15.0"
    },
    {
      "name" : "macos",
      "version" : "12.0"
    }
  ],
  "products" : [
    {
      "name" : "LLMChatOpenAI",
      "targets" : [
        "LLMChatOpenAI"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "LLMChatOpenAITests",
      "module_type" : "SwiftTarget",
      "name" : "LLMChatOpenAITests",
      "path" : "Tests/LLMChatOpenAITests",
      "sources" : [
        "ChatCompletionTests.swift",
        "ResponseFormatTests.swift",
        "ToolUseTests.swift",
        "Utils/URLProtocolMock.swift",
        "VisionTests.swift"
      ],
      "target_dependencies" : [
        "LLMChatOpenAI"
      ],
      "type" : "test"
    },
    {
      "c99name" : "LLMChatOpenAI",
      "module_type" : "SwiftTarget",
      "name" : "LLMChatOpenAI",
      "path" : "Sources/LLMChatOpenAI",
      "product_dependencies" : [
        "JSONSchema"
      ],
      "product_memberships" : [
        "LLMChatOpenAI"
      ],
      "sources" : [
        "ChatCompletion.swift",
        "ChatCompletionChunk.swift",
        "ChatMessage.swift",
        "ChatOptions.swift",
        "LLMChatOpenAI+Typealias.swift",
        "LLMChatOpenAI.swift",
        "LLMChatOpenAIError.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.10"
}
Done.