The Swift Package Index logo.Swift Package Index

Build Information

Successful build of AIChatKitLlama, reference main (415c82), with Swift 6.1 for macOS (SPM) on 9 Oct 2026 04:20:36 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 --target AIChatLlama -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/AIChatKitLlama.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/NerdSnipe-Inc/AIChatKitLlama
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 415c82b docs: document nBatch and defaults; cross-link AIChatKitMLX
Cloned https://github.com/NerdSnipe-Inc/AIChatKitLlama.git
Revision (git rev-parse @):
415c82bdb0215c8b8555ecb123e915ee668238f3
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/NerdSnipe-Inc/AIChatKitLlama.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/NerdSnipe-Inc/AIChatKitLlama.git
https://github.com/NerdSnipe-Inc/AIChatKitLlama.git
{
  "dependencies" : [
    {
      "identity" : "aichatkit",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/NerdSnipe-Inc/AIChatKit.git"
    },
    {
      "identity" : "llama.swift",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.9469.0",
            "upper_bound" : "2.9470.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/mattt/llama.swift"
    }
  ],
  "manifest_display_name" : "AIChatKitLlama",
  "name" : "AIChatKitLlama",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "14.0"
    },
    {
      "name" : "ios",
      "version" : "17.0"
    }
  ],
  "products" : [
    {
      "name" : "AIChatLlama",
      "targets" : [
        "AIChatLlama"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "AIChatLlamaTests",
      "module_type" : "SwiftTarget",
      "name" : "AIChatLlamaTests",
      "path" : "Tests/AIChatLlamaTests",
      "sources" : [
        "LlamaChatTemplateTests.swift"
      ],
      "target_dependencies" : [
        "AIChatLlama"
      ],
      "type" : "test"
    },
    {
      "c99name" : "AIChatLlama",
      "module_type" : "SwiftTarget",
      "name" : "AIChatLlama",
      "path" : "Sources/AIChatLlama",
      "product_dependencies" : [
        "AIChatCore",
        "LlamaSwift"
      ],
      "product_memberships" : [
        "AIChatLlama"
      ],
      "sources" : [
        "LlamaChatTemplate.swift",
        "LlamaContext.swift",
        "LlamaProvider.swift",
        "LlamaSampler.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.10"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 --target AIChatLlama -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/6] Write sources
[4/6] Copying llama.framework
[5/6] Write swift-version-2F0A5646E1D333AE.txt
[7/18] Compiling LlamaSwift Llama.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[8/18] Emitting module LlamaSwift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[9/18] Compiling JSONSchema JSONSchema+Object.swift
[10/18] Compiling JSONSchema JSONSchema+Null.swift
[11/18] Compiling JSONSchema JSONSchema+Enum.swift
[12/18] Compiling JSONSchema JSONSchema+Array.swift
[13/18] Compiling JSONSchema JSONSchema+Boolean.swift
[14/18] Emitting module JSONSchema
[15/18] Compiling JSONSchema JSONSchema.swift
[16/18] Compiling JSONSchema JSONSchema+Integer.swift
[17/18] Compiling JSONSchema JSONSchema+Number.swift
[18/18] Compiling JSONSchema JSONSchema+String.swift
[19/27] Compiling AIChatCore SSEParser.swift
[20/27] Compiling AIChatCore ChatRequestOptions.swift
[21/27] Emitting module AIChatCore
[22/27] Compiling AIChatCore ChatMessage.swift
[23/27] Compiling AIChatCore ChatProvider.swift
[24/27] Compiling AIChatCore ChatStreamEvent.swift
[25/27] Compiling AIChatCore ChatError.swift
[26/27] Compiling AIChatCore ChatLog.swift
[27/27] Compiling AIChatCore BalancedEmitter.swift
[28/32] Compiling AIChatLlama LlamaProvider.swift
/Users/admin/builder/spi-builder-workspace/Sources/AIChatLlama/LlamaProvider.swift:89:22: warning: cannot access property 'liveContext' with a non-sendable type 'LlamaContext?' from nonisolated deinit; this is an error in the Swift 6 language mode
 87 |
 88 |     deinit {
 89 |         liveContext  = nil
    |                      `- warning: cannot access property 'liveContext' with a non-sendable type 'LlamaContext?' from nonisolated deinit; this is an error in the Swift 6 language mode
 90 |         if let m = loadedModel { llama_model_free(m) }
 91 |         llama_backend_free()
/Users/admin/builder/spi-builder-workspace/Sources/AIChatLlama/LlamaContext.swift:17:13: note: class 'LlamaContext' does not conform to the 'Sendable' protocol
 15 | ///     trimmed to the common prefix via `llama_memory_seq_rm` and the new suffix
 16 | ///     is evaluated.
 17 | final class LlamaContext {
    |             `- note: class 'LlamaContext' does not conform to the 'Sendable' protocol
 18 |
 19 |     let ctx: OpaquePointer
/Users/admin/builder/spi-builder-workspace/Sources/AIChatLlama/LlamaProvider.swift:90:9: warning: cannot access property 'loadedModel' with a non-sendable type 'OpaquePointer?' from nonisolated deinit; this is an error in the Swift 6 language mode
 88 |     deinit {
 89 |         liveContext  = nil
 90 |         if let m = loadedModel { llama_model_free(m) }
    |         `- warning: cannot access property 'loadedModel' with a non-sendable type 'OpaquePointer?' from nonisolated deinit; this is an error in the Swift 6 language mode
 91 |         llama_backend_free()
 92 |     }
Swift.Optional:1:21: note: generic enum 'Optional' does not conform to the 'Sendable' protocol
1 | @frozen public enum Optional<Wrapped> : ~Copyable where Wrapped : ~Copyable {
  |                     `- note: generic enum 'Optional' does not conform to the 'Sendable' protocol
2 |     case none
3 |     case some(Wrapped)
[29/32] Emitting module AIChatLlama
[30/32] Compiling AIChatLlama LlamaContext.swift
[31/32] Compiling AIChatLlama LlamaChatTemplate.swift
[32/32] Compiling AIChatLlama LlamaSampler.swift
Build of target: 'AIChatLlama' complete! (33.50s)
Fetching https://github.com/NerdSnipe-Inc/AIChatKit.git
Fetching https://github.com/mattt/llama.swift
[1/298] Fetching aichatkit
[299/7826] Fetching aichatkit, llama.swift
Fetched https://github.com/mattt/llama.swift from cache (1.26s)
Fetched https://github.com/NerdSnipe-Inc/AIChatKit.git from cache (1.26s)
Computing version for https://github.com/mattt/llama.swift
Computed https://github.com/mattt/llama.swift at 2.9469.0 (1.78s)
Computing version for https://github.com/NerdSnipe-Inc/AIChatKit.git
Computed https://github.com/NerdSnipe-Inc/AIChatKit.git at 2.0.0 (0.48s)
Fetching https://github.com/kevinhermawan/swift-json-schema.git
Fetching https://github.com/JohnSundell/Splash.git
Fetching https://github.com/gonzalezreal/swift-markdown-ui.git
[1/223] Fetching swift-json-schema
[146/2403] Fetching swift-json-schema, splash
[147/10925] Fetching swift-json-schema, splash, swift-markdown-ui
Fetched https://github.com/kevinhermawan/swift-json-schema.git from cache (0.75s)
[280/10702] Fetching splash, swift-markdown-ui
Fetched https://github.com/JohnSundell/Splash.git from cache (5.07s)
Fetched https://github.com/gonzalezreal/swift-markdown-ui.git from cache (5.07s)
Computing version for https://github.com/JohnSundell/Splash.git
Computed https://github.com/JohnSundell/Splash.git at 0.16.0 (5.67s)
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.47s)
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/gonzalezreal/NetworkImage
Fetching https://github.com/swiftlang/swift-cmark
[1/1072] Fetching networkimage
[763/19686] Fetching networkimage, swift-cmark
Fetched https://github.com/gonzalezreal/NetworkImage from cache (1.90s)
Fetched https://github.com/swiftlang/swift-cmark from cache (1.90s)
Computing version for https://github.com/gonzalezreal/NetworkImage
Computed https://github.com/gonzalezreal/NetworkImage at 6.0.1 (2.44s)
Computing version for https://github.com/swiftlang/swift-cmark
Computed https://github.com/swiftlang/swift-cmark at 0.9.0 (0.60s)
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/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/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/NerdSnipe-Inc/AIChatKit.git
Working copy of https://github.com/NerdSnipe-Inc/AIChatKit.git resolved at 2.0.0
Creating working copy for https://github.com/mattt/llama.swift
Working copy of https://github.com/mattt/llama.swift resolved at 2.9469.0
Downloading binary artifact https://github.com/ggml-org/llama.cpp/releases/download/b9469/llama-b9469-xcframework.zip
[16375/199598168] Downloading https://github.com/ggml-org/llama.cpp/releases/download/b9469/llama-b9469-xcframework.zip
Downloaded https://github.com/ggml-org/llama.cpp/releases/download/b9469/llama-b9469-xcframework.zip (9.48s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "aichatkit",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/NerdSnipe-Inc/AIChatKit.git"
    },
    {
      "identity" : "llama.swift",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.9469.0",
            "upper_bound" : "2.9470.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/mattt/llama.swift"
    }
  ],
  "manifest_display_name" : "AIChatKitLlama",
  "name" : "AIChatKitLlama",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "14.0"
    },
    {
      "name" : "ios",
      "version" : "17.0"
    }
  ],
  "products" : [
    {
      "name" : "AIChatLlama",
      "targets" : [
        "AIChatLlama"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "AIChatLlamaTests",
      "module_type" : "SwiftTarget",
      "name" : "AIChatLlamaTests",
      "path" : "Tests/AIChatLlamaTests",
      "sources" : [
        "LlamaChatTemplateTests.swift"
      ],
      "target_dependencies" : [
        "AIChatLlama"
      ],
      "type" : "test"
    },
    {
      "c99name" : "AIChatLlama",
      "module_type" : "SwiftTarget",
      "name" : "AIChatLlama",
      "path" : "Sources/AIChatLlama",
      "product_dependencies" : [
        "AIChatCore",
        "LlamaSwift"
      ],
      "product_memberships" : [
        "AIChatLlama"
      ],
      "sources" : [
        "LlamaChatTemplate.swift",
        "LlamaContext.swift",
        "LlamaProvider.swift",
        "LlamaSampler.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.10"
}
Done.