The Swift Package Index logo.Swift Package Index

Build Information

Successful build of AIChatKit, reference main (be527c), with Swift 6.1 for macOS (SPM) on 9 Oct 2026 05:10:01 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 --target AIChatCore -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: 5.1.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/NerdSnipe-Inc/AIChatKit.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/NerdSnipe-Inc/AIChatKit
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at be527c0 docs: fix install version pin and list AIChatKitLlama as a companion package
Cloned https://github.com/NerdSnipe-Inc/AIChatKit.git
Revision (git rev-parse @):
be527c0228faf415bde9968a189fa9dbcd959a75
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/NerdSnipe-Inc/AIChatKit.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/NerdSnipe-Inc/AIChatKit.git
https://github.com/NerdSnipe-Inc/AIChatKit.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-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"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 --target AIChatCore -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
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-2F0A5646E1D333AE.txt
[4/13] Compiling JSONSchema JSONSchema+Array.swift
[5/13] Emitting module JSONSchema
[6/13] Compiling JSONSchema JSONSchema+Boolean.swift
[7/13] Compiling JSONSchema JSONSchema+Enum.swift
[8/13] Compiling JSONSchema JSONSchema+Integer.swift
[9/13] Compiling JSONSchema JSONSchema+Null.swift
[10/13] Compiling JSONSchema JSONSchema+Number.swift
[11/13] Compiling JSONSchema JSONSchema+Object.swift
[12/13] Compiling JSONSchema JSONSchema.swift
[13/13] Compiling JSONSchema JSONSchema+String.swift
[14/22] Compiling AIChatCore SSEParser.swift
[15/22] Compiling AIChatCore ChatStreamEvent.swift
[16/22] Compiling AIChatCore ChatRequestOptions.swift
[17/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 |     }
[18/22] Compiling AIChatCore ChatProvider.swift
[19/22] Emitting module AIChatCore
[20/22] Compiling AIChatCore BalancedEmitter.swift
[21/22] Compiling AIChatCore ChatMessage.swift
[22/22] Compiling AIChatCore ChatLog.swift
Build of target: 'AIChatCore' complete! (22.82s)
Fetching https://github.com/kevinhermawan/swift-json-schema.git
Fetching https://github.com/gonzalezreal/swift-markdown-ui.git
Fetching https://github.com/JohnSundell/Splash.git
[1/223] Fetching swift-json-schema
[30/2403] Fetching swift-json-schema, splash
[147/10925] Fetching swift-json-schema, splash, swift-markdown-ui
Fetched https://github.com/JohnSundell/Splash.git from cache (4.91s)
Fetched https://github.com/kevinhermawan/swift-json-schema.git from cache (4.91s)
Fetched https://github.com/gonzalezreal/swift-markdown-ui.git from cache (4.91s)
Computing version for https://github.com/JohnSundell/Splash.git
Computed https://github.com/JohnSundell/Splash.git at 0.16.0 (8.14s)
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.50s)
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.59s)
Fetching https://github.com/swiftlang/swift-cmark
Fetching https://github.com/gonzalezreal/NetworkImage
[1/1072] Fetching networkimage
[763/19686] Fetching networkimage, swift-cmark
Fetched https://github.com/swiftlang/swift-cmark from cache (1.94s)
Fetched https://github.com/gonzalezreal/NetworkImage from cache (1.94s)
Computing version for https://github.com/gonzalezreal/NetworkImage
Computed https://github.com/gonzalezreal/NetworkImage at 6.0.1 (2.48s)
Computing version for https://github.com/swiftlang/swift-cmark
Computed https://github.com/swiftlang/swift-cmark at 0.9.0 (0.59s)
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/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/gonzalezreal/NetworkImage
Working copy of https://github.com/gonzalezreal/NetworkImage resolved at 6.0.1
Creating working copy for https://github.com/swiftlang/swift-cmark
Working copy of https://github.com/swiftlang/swift-cmark resolved at 0.9.0
Creating working copy for https://github.com/JohnSundell/Splash.git
Working copy of https://github.com/JohnSundell/Splash.git resolved at 0.16.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.