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 main (8b1fa8), with Swift 6.2 (beta) for macOS (SPM) on 21 Jun 2025 20:06:57 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: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/btfranklin/CleverBird
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 8b1fa83 Added banner image to the README
Cloned https://github.com/btfranklin/CleverBird.git
Revision (git rev-parse @):
8b1fa839e9eb92bc889a42a7b887375805bb5064
SUCCESS checkout https://github.com/btfranklin/CleverBird.git at main
========================================
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] Write sources
[1/5] Copying gpt3-encoder.json
[2/5] Copying gpt3-vocab.bpe
[3/5] Write sources
[4/5] Write swift-version-1EA4D86E10B52AF.txt
[6/11] Compiling Get Request.swift
[7/11] Compiling Get Response.swift
[8/11] Compiling Get DataLoader.swift
[9/11] Compiling Get APIClientDelegate.swift
[10/11] Emitting module Get
[11/11] Compiling Get APIClient.swift
[12/46] 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>
[13/46] 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>
[14/46] 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>
[15/46] 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>
[16/49] Compiling CleverBird OpenAIAPIConnection+createChatCompletionRequest.swift
[17/49] Compiling CleverBird Penalty.swift
[18/49] Compiling CleverBird Percentage.swift
[19/49] Compiling CleverBird ChatStreamedResponseChunk.swift
[20/49] Compiling CleverBird CleverBirdError.swift
[21/49] Compiling CleverBird OpenAIAPIConnection.swift
[22/49] Compiling CleverBird ChatCompletionRequestParameters.swift
[23/49] Compiling CleverBird ChatCompletionResponse.swift
[24/49] Emitting module CleverBird
[25/49] Compiling CleverBird FunctionRegistry.swift
[26/49] Compiling CleverBird JSONType.swift
[27/49] Compiling CleverBird JSONValue.swift
[28/49] Compiling CleverBird MessageContent.swift
[29/49] Compiling CleverBird OpenAIAPIConnection+createEmbeddingRequest.swift
[30/49] Compiling CleverBird typealiases.swift
[31/49] Compiling CleverBird Pattern.swift
[32/49] Compiling CleverBird EmbeddingModel.swift
[33/49] Compiling CleverBird EmbeddingRequestParameters.swift
[34/49] Compiling CleverBird EmbeddingResponse.swift
[35/49] Compiling CleverBird ChatThread.swift
[36/49] Compiling CleverBird Function.swift
[37/49] Compiling CleverBird FunctionCall.swift
[38/49] Compiling CleverBird FunctionCallMode.swift
[39/49] Compiling CleverBird Token.swift
[40/49] Compiling CleverBird TokenEncoder.swift
[41/49] Compiling CleverBird resource_bundle_accessor.swift
[42/49] Compiling CleverBird StreamableChatThread.swift
[43/49] Compiling CleverBird EmbeddedDocumentStore+persistence.swift
[44/49] Compiling CleverBird EmbeddedDocumentStore.SimilarityMetric.swift
[45/49] Compiling CleverBird EmbeddedDocumentStore.swift
[46/49] Compiling CleverBird ChatMessage.swift
[47/49] Compiling CleverBird ChatModel.swift
[48/49] Compiling CleverBird ChatThread+complete.swift
[49/49] Compiling CleverBird ChatThread+tokenCount.swift
Build complete! (10.40s)
Fetching https://github.com/kean/Get
[1/2349] Fetching get
Fetched https://github.com/kean/Get from cache (1.04s)
Computing version for https://github.com/kean/Get
Computed https://github.com/kean/Get at 2.2.1 (1.55s)
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.