The Swift Package Index logo.Swift Package Index

Build Information

Successful build of CleverBird, reference 4.5.3 (d100fb), with Swift 6.3 for macOS (SPM) on 20 Apr 2026 23:14:38 UTC.

Swift 6 data race errors: 0

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.70.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
Fetching https://github.com/kean/Get
[1/2349] Fetching get
Fetched https://github.com/kean/Get from cache (1.40s)
Computing version for https://github.com/kean/Get
Computed https://github.com/kean/Get at 2.1.6 (2.08s)
Creating working copy for https://github.com/kean/Get
Working copy of https://github.com/kean/Get resolved at 2.1.6
========================================
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",
  "traits": [
    "default"
  ],
  "dependencies": [
    {
      "identity": "cleverbird",
      "name": "CleverBird",
      "url": "https://github.com/btfranklin/CleverBird.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/CleverBird",
      "traits": [
        "default"
      ],
      "dependencies": [
        {
          "identity": "get",
          "name": "Get",
          "url": "https://github.com/kean/Get",
          "version": "2.2.1",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Get",
          "traits": [
            "default"
          ],
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/btfranklin/CleverBird.git
[1/1160] Fetching cleverbird
Fetched https://github.com/btfranklin/CleverBird.git from cache (1.17s)
Fetching https://github.com/kean/Get from cache
Fetched https://github.com/kean/Get from cache (0.46s)
Computing version for https://github.com/kean/Get
Computed https://github.com/kean/Get at 2.2.1 (0.52s)
Creating working copy for https://github.com/btfranklin/CleverBird.git
Working copy of https://github.com/btfranklin/CleverBird.git resolved at 4.5.3 (d100fb1)
Creating working copy for https://github.com/kean/Get
Working copy of https://github.com/kean/Get resolved at 2.2.1
warning: '.resolve-product-dependencies': dependency 'cleverbird' is not used by any target
Found 1 product dependencies
  - Get
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/btfranklin/CleverBird.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/5] Copying gpt3-encoder.json
[0/5] Write sources
[0/5] Copying gpt3-vocab.bpe
[4/5] Write swift-version--6988338F2F200930.txt
[6/11] Emitting module Get
[7/11] Compiling Get DataLoader.swift
[8/11] Compiling Get APIClient.swift
[9/11] Compiling Get Response.swift
[10/11] Compiling Get Request.swift
[11/11] Compiling Get APIClientDelegate.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 EmbeddingModel.swift
[18/49] Compiling CleverBird EmbeddingRequestParameters.swift
[19/49] Compiling CleverBird EmbeddingResponse.swift
[20/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>
[21/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>
[22/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>
[23/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>
[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 OpenAIAPIConnection+createEmbeddingRequest.swift
[29/49] Compiling CleverBird typealiases.swift
[30/49] Compiling CleverBird Pattern.swift
[31/49] Compiling CleverBird FunctionRegistry.swift
[32/49] Compiling CleverBird JSONType.swift
[33/49] Compiling CleverBird JSONValue.swift
[34/49] Compiling CleverBird MessageContent.swift
[35/49] Compiling CleverBird OpenAIAPIConnection+createChatCompletionRequest.swift
[36/49] Compiling CleverBird Penalty.swift
[37/49] Compiling CleverBird Percentage.swift
[38/49] Compiling CleverBird ChatStreamedResponseChunk.swift
[39/49] Compiling CleverBird ChatMessage.swift
[40/49] Compiling CleverBird ChatModel.swift
[41/49] Compiling CleverBird ChatThread+complete.swift
[42/49] Compiling CleverBird ChatThread+tokenCount.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.53s)
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.