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 CleverBird, reference 4.5.3 (d100fb), with Swift 6.2 (beta) for macOS (SPM) on 21 Jun 2025 20:05:47 UTC.

Swift 6 data race errors: 0

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/btfranklin/CleverBird.git
Reference: 4.5.3
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/btfranklin/CleverBird
 * tag               4.5.3      -> FETCH_HEAD
HEAD is now at d100fb1 Add support for GPT4o Mini (#23)
Cloned https://github.com/btfranklin/CleverBird.git
Revision (git rev-parse @):
d100fb16d0887fa450ca87c627c05e385a82cc92
SUCCESS checkout https://github.com/btfranklin/CleverBird.git at 4.5.3
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/btfranklin/CleverBird.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/5] Copying gpt3-encoder.json
[0/5] Copying gpt3-vocab.bpe
[2/5] Write sources
[4/5] Write swift-version-1EA4D86E10B52AF.txt
[6/11] Compiling Get DataLoader.swift
[7/11] Compiling Get Response.swift
[8/11] Compiling Get Request.swift
[9/11] Compiling Get APIClientDelegate.swift
[10/11] Emitting module Get
[11/11] Compiling Get APIClient.swift
[12/46] Emitting module CleverBird
[13/49] Compiling CleverBird CleverBirdError.swift
[14/49] Compiling CleverBird OpenAIAPIConnection.swift
[15/49] Compiling CleverBird ChatCompletionRequestParameters.swift
[16/49] Compiling CleverBird ChatCompletionResponse.swift
[17/49] Compiling CleverBird ChatThread+withStreaming.swift
/Users/admin/builder/spi-builder-workspace/Sources/CleverBird/chat/streaming/StreamableChatThread+complete.swift:52:25: warning: capture of 'strongSelf' with non-sendable type 'StreamableChatThread' in a '@Sendable' closure [#SendableClosureCaptures]
 50 |                 defer {
 51 |                     DispatchQueue.main.async {
 52 |                         strongSelf.streamingTask = nil
    |                         `- warning: capture of 'strongSelf' with non-sendable type 'StreamableChatThread' in a '@Sendable' closure [#SendableClosureCaptures]
 53 |                     }
 54 |                     if let responseMessageRole, let responseMessageContent {
/Users/admin/builder/spi-builder-workspace/Sources/CleverBird/chat/streaming/StreamableChatThread.swift:3:20: note: class 'StreamableChatThread' does not conform to the 'Sendable' protocol
 1 | //  Created by B.T. Franklin on 5/11/23
 2 |
 3 | public final class StreamableChatThread {
   |                    `- note: class 'StreamableChatThread' does not conform to the 'Sendable' protocol
 4 |
 5 |     var streamingTask: Task<Void, Error>?
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[18/49] Compiling CleverBird OpenAIAPIConnection+createChatCompletionAsyncByteStream.swift
/Users/admin/builder/spi-builder-workspace/Sources/CleverBird/chat/streaming/StreamableChatThread+complete.swift:52:25: warning: capture of 'strongSelf' with non-sendable type 'StreamableChatThread' in a '@Sendable' closure [#SendableClosureCaptures]
 50 |                 defer {
 51 |                     DispatchQueue.main.async {
 52 |                         strongSelf.streamingTask = nil
    |                         `- warning: capture of 'strongSelf' with non-sendable type 'StreamableChatThread' in a '@Sendable' closure [#SendableClosureCaptures]
 53 |                     }
 54 |                     if let responseMessageRole, let responseMessageContent {
/Users/admin/builder/spi-builder-workspace/Sources/CleverBird/chat/streaming/StreamableChatThread.swift:3:20: note: class 'StreamableChatThread' does not conform to the 'Sendable' protocol
 1 | //  Created by B.T. Franklin on 5/11/23
 2 |
 3 | public final class StreamableChatThread {
   |                    `- note: class 'StreamableChatThread' does not conform to the 'Sendable' protocol
 4 |
 5 |     var streamingTask: Task<Void, Error>?
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[19/49] Compiling CleverBird StreamOptions.swift
/Users/admin/builder/spi-builder-workspace/Sources/CleverBird/chat/streaming/StreamableChatThread+complete.swift:52:25: warning: capture of 'strongSelf' with non-sendable type 'StreamableChatThread' in a '@Sendable' closure [#SendableClosureCaptures]
 50 |                 defer {
 51 |                     DispatchQueue.main.async {
 52 |                         strongSelf.streamingTask = nil
    |                         `- warning: capture of 'strongSelf' with non-sendable type 'StreamableChatThread' in a '@Sendable' closure [#SendableClosureCaptures]
 53 |                     }
 54 |                     if let responseMessageRole, let responseMessageContent {
/Users/admin/builder/spi-builder-workspace/Sources/CleverBird/chat/streaming/StreamableChatThread.swift:3:20: note: class 'StreamableChatThread' does not conform to the 'Sendable' protocol
 1 | //  Created by B.T. Franklin on 5/11/23
 2 |
 3 | public final class StreamableChatThread {
   |                    `- note: class 'StreamableChatThread' does not conform to the 'Sendable' protocol
 4 |
 5 |     var streamingTask: Task<Void, Error>?
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[20/49] Compiling CleverBird StreamableChatThread+complete.swift
/Users/admin/builder/spi-builder-workspace/Sources/CleverBird/chat/streaming/StreamableChatThread+complete.swift:52:25: warning: capture of 'strongSelf' with non-sendable type 'StreamableChatThread' in a '@Sendable' closure [#SendableClosureCaptures]
 50 |                 defer {
 51 |                     DispatchQueue.main.async {
 52 |                         strongSelf.streamingTask = nil
    |                         `- warning: capture of 'strongSelf' with non-sendable type 'StreamableChatThread' in a '@Sendable' closure [#SendableClosureCaptures]
 53 |                     }
 54 |                     if let responseMessageRole, let responseMessageContent {
/Users/admin/builder/spi-builder-workspace/Sources/CleverBird/chat/streaming/StreamableChatThread.swift:3:20: note: class 'StreamableChatThread' does not conform to the 'Sendable' protocol
 1 | //  Created by B.T. Franklin on 5/11/23
 2 |
 3 | public final class StreamableChatThread {
   |                    `- note: class 'StreamableChatThread' does not conform to the 'Sendable' protocol
 4 |
 5 |     var streamingTask: Task<Void, Error>?
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[21/49] Compiling CleverBird OpenAIAPIConnection+createEmbeddingRequest.swift
[22/49] Compiling CleverBird typealiases.swift
[23/49] Compiling CleverBird Pattern.swift
[24/49] Compiling CleverBird ChatThread.swift
[25/49] Compiling CleverBird Function.swift
[26/49] Compiling CleverBird FunctionCall.swift
[27/49] Compiling CleverBird FunctionCallMode.swift
[28/49] Compiling CleverBird ChatMessage.swift
[29/49] Compiling CleverBird ChatModel.swift
[30/49] Compiling CleverBird ChatThread+complete.swift
[31/49] Compiling CleverBird ChatThread+tokenCount.swift
[32/49] Compiling CleverBird FunctionRegistry.swift
[33/49] Compiling CleverBird JSONType.swift
[34/49] Compiling CleverBird JSONValue.swift
[35/49] Compiling CleverBird MessageContent.swift
[36/49] Compiling CleverBird EmbeddingModel.swift
[37/49] Compiling CleverBird EmbeddingRequestParameters.swift
[38/49] Compiling CleverBird EmbeddingResponse.swift
[39/49] Compiling CleverBird OpenAIAPIConnection+createChatCompletionRequest.swift
[40/49] Compiling CleverBird Penalty.swift
[41/49] Compiling CleverBird Percentage.swift
[42/49] Compiling CleverBird ChatStreamedResponseChunk.swift
[43/49] Compiling CleverBird Token.swift
[44/49] Compiling CleverBird TokenEncoder.swift
[45/49] Compiling CleverBird resource_bundle_accessor.swift
[46/49] Compiling CleverBird StreamableChatThread.swift
[47/49] Compiling CleverBird EmbeddedDocumentStore+persistence.swift
[48/49] Compiling CleverBird EmbeddedDocumentStore.SimilarityMetric.swift
[49/49] Compiling CleverBird EmbeddedDocumentStore.swift
Build complete! (10.66s)
Fetching https://github.com/kean/Get
[1/2349] Fetching get
Fetched https://github.com/kean/Get from cache (1.11s)
Computing version for https://github.com/kean/Get
Computed https://github.com/kean/Get at 2.2.1 (1.67s)
Creating working copy for https://github.com/kean/Get
Working copy of https://github.com/kean/Get resolved at 2.2.1
Build complete.
{
  "dependencies" : [
    {
      "identity" : "get",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.1.6",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/kean/Get"
    }
  ],
  "manifest_display_name" : "CleverBird",
  "name" : "CleverBird",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "12.0"
    },
    {
      "name" : "ios",
      "version" : "15.0"
    },
    {
      "name" : "tvos",
      "version" : "16.0"
    },
    {
      "name" : "watchos",
      "version" : "9.0"
    }
  ],
  "products" : [
    {
      "name" : "CleverBird",
      "targets" : [
        "CleverBird"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "CleverBirdTests",
      "module_type" : "SwiftTarget",
      "name" : "CleverBirdTests",
      "path" : "Tests/CleverBirdTests",
      "sources" : [
        "MessageContentTests.swift",
        "MessageEncodingTests.swift",
        "OpenAIChatThreadTests.swift",
        "TokenEncoderTests.swift"
      ],
      "target_dependencies" : [
        "CleverBird"
      ],
      "type" : "test"
    },
    {
      "c99name" : "CleverBird",
      "module_type" : "SwiftTarget",
      "name" : "CleverBird",
      "path" : "Sources/CleverBird",
      "product_dependencies" : [
        "Get"
      ],
      "product_memberships" : [
        "CleverBird"
      ],
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/CleverBird/tokenization/resources/gpt3-encoder.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/CleverBird/tokenization/resources/gpt3-vocab.bpe",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "CleverBirdError.swift",
        "OpenAIAPIConnection.swift",
        "chat/ChatCompletionRequestParameters.swift",
        "chat/ChatCompletionResponse.swift",
        "chat/ChatMessage.swift",
        "chat/ChatModel.swift",
        "chat/ChatThread+complete.swift",
        "chat/ChatThread+tokenCount.swift",
        "chat/ChatThread.swift",
        "chat/Function.swift",
        "chat/FunctionCall.swift",
        "chat/FunctionCallMode.swift",
        "chat/FunctionRegistry.swift",
        "chat/JSONType.swift",
        "chat/JSONValue.swift",
        "chat/MessageContent.swift",
        "chat/OpenAIAPIConnection+createChatCompletionRequest.swift",
        "chat/Penalty.swift",
        "chat/Percentage.swift",
        "chat/streaming/ChatStreamedResponseChunk.swift",
        "chat/streaming/ChatThread+withStreaming.swift",
        "chat/streaming/OpenAIAPIConnection+createChatCompletionAsyncByteStream.swift",
        "chat/streaming/StreamOptions.swift",
        "chat/streaming/StreamableChatThread+complete.swift",
        "chat/streaming/StreamableChatThread.swift",
        "embeddings/EmbeddedDocumentStore+persistence.swift",
        "embeddings/EmbeddedDocumentStore.SimilarityMetric.swift",
        "embeddings/EmbeddedDocumentStore.swift",
        "embeddings/EmbeddingModel.swift",
        "embeddings/EmbeddingRequestParameters.swift",
        "embeddings/EmbeddingResponse.swift",
        "embeddings/OpenAIAPIConnection+createEmbeddingRequest.swift",
        "embeddings/typealiases.swift",
        "tokenization/Pattern.swift",
        "tokenization/Token.swift",
        "tokenization/TokenEncoder.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.7"
}
Done.