The Swift Package Index logo.Swift Package Index

Build Information

Successful build of AIChatKit, reference 2.0.0 (93ff72), with Swift 6.2 for macOS (SPM) on 30 Sep 2026 11:55:42 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-26.3.0.app xcrun swift build --arch arm64 --target AIChatCore

Build Log

========================================
RunAll
========================================
Builder version: 5.1.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/NerdSnipe-Inc/AIChatKit.git
Reference: 2.0.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/NerdSnipe-Inc/AIChatKit
 * tag               2.0.0      -> FETCH_HEAD
HEAD is now at 93ff722 Release 2.0.0: drop failed turns from provider history; Gemma text-call parsing moves to AIChatKitMLX
Cloned https://github.com/NerdSnipe-Inc/AIChatKit.git
Revision (git rev-parse @):
93ff722d2f69531d6bfa640f44062028ae7d6a65
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/NerdSnipe-Inc/AIChatKit.git at 2.0.0
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/NerdSnipe-Inc/AIChatKit.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.3.0.app xcrun swift build --arch arm64 --target AIChatCore
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version--3CB7CFEC50E0D141.txt
[4/13] Compiling JSONSchema JSONSchema+Integer.swift
[5/13] Compiling JSONSchema JSONSchema+Boolean.swift
[6/13] Compiling JSONSchema JSONSchema+Enum.swift
[7/13] Compiling JSONSchema JSONSchema+Object.swift
[8/13] Emitting module JSONSchema
[9/13] Compiling JSONSchema JSONSchema+Array.swift
[10/13] Compiling JSONSchema JSONSchema+Number.swift
[11/13] Compiling JSONSchema JSONSchema+String.swift
[12/13] Compiling JSONSchema JSONSchema+Null.swift
[13/13] Compiling JSONSchema JSONSchema.swift
[14/22] Compiling AIChatCore ChatMessage.swift
[15/22] Compiling AIChatCore ChatError.swift
/Users/admin/builder/spi-builder-workspace/Sources/AIChatCore/ChatError.swift:129:34: warning: conditional cast from 'any Error' to 'any CustomStringConvertible' always succeeds
127 |         // useless for debugging. Prefer the type's own readable description when it has one.
128 |         if error is LocalizedError { return error.localizedDescription }
129 |         if let described = error as? CustomStringConvertible { return described.description }
    |                                  `- warning: conditional cast from 'any Error' to 'any CustomStringConvertible' always succeeds
130 |         return error.localizedDescription
131 |     }
[16/22] Compiling AIChatCore ChatLog.swift
[17/22] Compiling AIChatCore ChatProvider.swift
[18/22] Compiling AIChatCore BalancedEmitter.swift
[19/22] Compiling AIChatCore SSEParser.swift
[20/22] Emitting module AIChatCore
[21/22] Compiling AIChatCore ChatStreamEvent.swift
[22/22] Compiling AIChatCore ChatRequestOptions.swift
Build of target: 'AIChatCore' complete! (22.06s)
Fetching https://github.com/JohnSundell/Splash.git
Fetching https://github.com/gonzalezreal/swift-markdown-ui.git
Fetching https://github.com/kevinhermawan/swift-json-schema.git
[1/2180] Fetching splash
[132/2403] Fetching splash, swift-json-schema
Fetched https://github.com/kevinhermawan/swift-json-schema.git from cache (1.22s)
[1179/10702] Fetching splash, swift-markdown-ui
Fetched https://github.com/gonzalezreal/swift-markdown-ui.git from cache (4.96s)
Fetched https://github.com/JohnSundell/Splash.git from cache (4.96s)
Computing version for https://github.com/JohnSundell/Splash.git
Computed https://github.com/JohnSundell/Splash.git at 0.16.0 (7.62s)
Computing version for https://github.com/kevinhermawan/swift-json-schema.git
Computed https://github.com/kevinhermawan/swift-json-schema.git at 2.0.1 (0.52s)
Computing version for https://github.com/gonzalezreal/swift-markdown-ui.git
Computed https://github.com/gonzalezreal/swift-markdown-ui.git at 2.4.1 (0.63s)
Fetching https://github.com/swiftlang/swift-cmark
Fetching https://github.com/gonzalezreal/NetworkImage
[1/1072] Fetching networkimage
[527/19675] Fetching networkimage, swift-cmark
Fetched https://github.com/swiftlang/swift-cmark from cache (1.99s)
Fetched https://github.com/gonzalezreal/NetworkImage from cache (1.99s)
Computing version for https://github.com/gonzalezreal/NetworkImage
Computed https://github.com/gonzalezreal/NetworkImage at 6.0.1 (2.60s)
Computing version for https://github.com/swiftlang/swift-cmark
Computed https://github.com/swiftlang/swift-cmark at 0.9.0 (0.63s)
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/gonzalezreal/NetworkImage
Working copy of https://github.com/gonzalezreal/NetworkImage resolved at 6.0.1
Creating working copy for https://github.com/gonzalezreal/swift-markdown-ui.git
Working copy of https://github.com/gonzalezreal/swift-markdown-ui.git resolved at 2.4.1
Creating working copy for https://github.com/JohnSundell/Splash.git
Working copy of https://github.com/JohnSundell/Splash.git resolved at 0.16.0
Creating working copy for https://github.com/swiftlang/swift-cmark
Working copy of https://github.com/swiftlang/swift-cmark resolved at 0.9.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-markdown-ui",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.4.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/gonzalezreal/swift-markdown-ui.git"
    },
    {
      "identity" : "splash",
      "requirement" : {
        "exact" : [
          "0.16.0"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/JohnSundell/Splash.git"
    }
  ],
  "manifest_display_name" : "AIChatKit",
  "name" : "AIChatKit",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "14.0"
    },
    {
      "name" : "ios",
      "version" : "17.0"
    }
  ],
  "products" : [
    {
      "name" : "AIChatCore",
      "targets" : [
        "AIChatCore"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "AIChatOpenAI",
      "targets" : [
        "AIChatOpenAI"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "AIChatAnthropic",
      "targets" : [
        "AIChatAnthropic"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "AIChatFoundationModels",
      "targets" : [
        "AIChatFoundationModels"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "AIChatUI",
      "targets" : [
        "AIChatUI"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "AIChatUITests",
      "module_type" : "SwiftTarget",
      "name" : "AIChatUITests",
      "path" : "Tests/AIChatUITests",
      "sources" : [
        "ChatSessionLifecycleTests.swift",
        "ChatSessionReasoningEntryTests.swift",
        "ChatSessionTests.swift",
        "ThinkingTileViewTests.swift",
        "UserMessageRowTests.swift"
      ],
      "target_dependencies" : [
        "AIChatUI"
      ],
      "type" : "test"
    },
    {
      "c99name" : "AIChatUI",
      "module_type" : "SwiftTarget",
      "name" : "AIChatUI",
      "path" : "Sources/AIChatUI",
      "product_dependencies" : [
        "MarkdownUI",
        "Splash"
      ],
      "product_memberships" : [
        "AIChatUI"
      ],
      "sources" : [
        "ChatClipboard.swift",
        "ChatSession.swift",
        "ChatView.swift",
        "Views/ComposerView.swift",
        "Views/ConversationView.swift",
        "Views/KnowledgeRetrievalView.swift",
        "Views/MarkdownMessageView.swift",
        "Views/ThinkingTileView.swift",
        "Views/ToolCallView.swift"
      ],
      "target_dependencies" : [
        "AIChatCore"
      ],
      "type" : "library"
    },
    {
      "c99name" : "AIChatOpenAITests",
      "module_type" : "SwiftTarget",
      "name" : "AIChatOpenAITests",
      "path" : "Tests/AIChatOpenAITests",
      "sources" : [
        "OpenAIRequestBuilderTests.swift",
        "OpenAIStreamProcessorTests.swift"
      ],
      "target_dependencies" : [
        "AIChatOpenAI"
      ],
      "type" : "test"
    },
    {
      "c99name" : "AIChatOpenAI",
      "module_type" : "SwiftTarget",
      "name" : "AIChatOpenAI",
      "path" : "Sources/AIChatOpenAI",
      "product_memberships" : [
        "AIChatOpenAI"
      ],
      "sources" : [
        "OpenAIModels.swift",
        "OpenAIProvider.swift",
        "OpenAIRequestBuilder.swift",
        "OpenAIStreamProcessor.swift"
      ],
      "target_dependencies" : [
        "AIChatCore"
      ],
      "type" : "library"
    },
    {
      "c99name" : "AIChatFoundationModelsTests",
      "module_type" : "SwiftTarget",
      "name" : "AIChatFoundationModelsTests",
      "path" : "Tests/AIChatFoundationModelsTests",
      "sources" : [
        "FoundationModelsProviderTests.swift"
      ],
      "target_dependencies" : [
        "AIChatFoundationModels"
      ],
      "type" : "test"
    },
    {
      "c99name" : "AIChatFoundationModels",
      "module_type" : "SwiftTarget",
      "name" : "AIChatFoundationModels",
      "path" : "Sources/AIChatFoundationModels",
      "product_memberships" : [
        "AIChatFoundationModels"
      ],
      "sources" : [
        "FoundationModelsProvider.swift"
      ],
      "target_dependencies" : [
        "AIChatCore"
      ],
      "type" : "library"
    },
    {
      "c99name" : "AIChatCoreTests",
      "module_type" : "SwiftTarget",
      "name" : "AIChatCoreTests",
      "path" : "Tests/AIChatCoreTests",
      "sources" : [
        "BalancedEmitterTests.swift",
        "ChatErrorTests.swift",
        "ChatMessageTests.swift",
        "SSEParserTests.swift"
      ],
      "target_dependencies" : [
        "AIChatCore"
      ],
      "type" : "test"
    },
    {
      "c99name" : "AIChatCore",
      "module_type" : "SwiftTarget",
      "name" : "AIChatCore",
      "path" : "Sources/AIChatCore",
      "product_dependencies" : [
        "JSONSchema"
      ],
      "product_memberships" : [
        "AIChatCore",
        "AIChatOpenAI",
        "AIChatAnthropic",
        "AIChatFoundationModels",
        "AIChatUI"
      ],
      "sources" : [
        "BalancedEmitter.swift",
        "ChatError.swift",
        "ChatLog.swift",
        "ChatMessage.swift",
        "ChatProvider.swift",
        "ChatRequestOptions.swift",
        "ChatStreamEvent.swift",
        "SSEParser.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "AIChatAnthropicTests",
      "module_type" : "SwiftTarget",
      "name" : "AIChatAnthropicTests",
      "path" : "Tests/AIChatAnthropicTests",
      "sources" : [
        "AnthropicRequestBuilderTests.swift",
        "AnthropicStreamProcessorTests.swift"
      ],
      "target_dependencies" : [
        "AIChatAnthropic"
      ],
      "type" : "test"
    },
    {
      "c99name" : "AIChatAnthropic",
      "module_type" : "SwiftTarget",
      "name" : "AIChatAnthropic",
      "path" : "Sources/AIChatAnthropic",
      "product_memberships" : [
        "AIChatAnthropic"
      ],
      "sources" : [
        "AnthropicModels.swift",
        "AnthropicProvider.swift",
        "AnthropicRequestBuilder.swift",
        "AnthropicStreamProcessor.swift"
      ],
      "target_dependencies" : [
        "AIChatCore"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.10"
}
Done.