The Swift Package Index logo.Swift Package Index

Build Information

Successful build of AIChatKitLlama, reference 1.0.3 (0801dd), with Swift 6.1 for macOS (SPM) on 30 Sep 2026 14:58:00 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: 1.0.3
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/NerdSnipe-Inc/AIChatKitLlama
 * tag               1.0.3      -> FETCH_HEAD
HEAD is now at 0801dd4 Release 1.0.3: accept AIChatKit 2.x; pin llama.swift to 2.9469.x (newer builds change the sampler API)
Cloned https://github.com/NerdSnipe-Inc/AIChatKitLlama.git
Revision (git rev-parse @):
0801dd4499a2996d352afdc58eaaacf34835d704
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/NerdSnipe-Inc/AIChatKitLlama.git at 1.0.3
========================================
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+Integer.swift
[10/18] Compiling JSONSchema JSONSchema+Object.swift
[11/18] Compiling JSONSchema JSONSchema.swift
[12/18] Compiling JSONSchema JSONSchema+Null.swift
[13/18] Compiling JSONSchema JSONSchema+Boolean.swift
[14/18] Compiling JSONSchema JSONSchema+Number.swift
[15/18] Compiling JSONSchema JSONSchema+String.swift
[16/18] Compiling JSONSchema JSONSchema+Array.swift
[17/18] Emitting module JSONSchema
[18/18] Compiling JSONSchema JSONSchema+Enum.swift
[19/27] Compiling AIChatCore ChatProvider.swift
[20/27] Compiling AIChatCore SSEParser.swift
[21/27] Compiling AIChatCore ChatStreamEvent.swift
[22/27] Compiling AIChatCore ChatRequestOptions.swift
[23/27] Compiling AIChatCore ChatLog.swift
[24/27] Compiling AIChatCore BalancedEmitter.swift
[25/27] Compiling AIChatCore ChatError.swift
[26/27] Emitting module AIChatCore
[27/27] Compiling AIChatCore ChatMessage.swift
[28/32] Compiling AIChatLlama LlamaSampler.swift
[29/32] Compiling AIChatLlama LlamaContext.swift
[30/32] Compiling AIChatLlama LlamaChatTemplate.swift
[31/32] Emitting module AIChatLlama
[32/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)
Build of target: 'AIChatLlama' complete! (32.05s)
Fetching https://github.com/NerdSnipe-Inc/AIChatKit.git
Fetching https://github.com/mattt/llama.swift
[1/293] Fetching aichatkit
[294/7821] Fetching aichatkit, llama.swift
Fetched https://github.com/NerdSnipe-Inc/AIChatKit.git from cache (1.36s)
Fetched https://github.com/mattt/llama.swift from cache (1.36s)
Computing version for https://github.com/mattt/llama.swift
Computed https://github.com/mattt/llama.swift at 2.9469.0 (1.90s)
Computing version for https://github.com/NerdSnipe-Inc/AIChatKit.git
Computed https://github.com/NerdSnipe-Inc/AIChatKit.git at 2.0.0 (0.46s)
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/2180] Fetching splash
[2/2403] Fetching splash, swift-json-schema
[139/10925] Fetching splash, swift-json-schema, swift-markdown-ui
Fetched https://github.com/kevinhermawan/swift-json-schema.git from cache (0.87s)
[368/10702] Fetching splash, swift-markdown-ui
Fetched https://github.com/JohnSundell/Splash.git from cache (4.61s)
Fetched https://github.com/gonzalezreal/swift-markdown-ui.git from cache (4.61s)
Computing version for https://github.com/JohnSundell/Splash.git
Computed https://github.com/JohnSundell/Splash.git at 0.16.0 (5.18s)
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.45s)
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.56s)
Fetching https://github.com/swiftlang/swift-cmark
Fetching https://github.com/gonzalezreal/NetworkImage
[1/1072] Fetching networkimage
[763/19675] Fetching networkimage, swift-cmark
Fetched https://github.com/gonzalezreal/NetworkImage from cache (1.84s)
Fetched https://github.com/swiftlang/swift-cmark from cache (1.84s)
Computing version for https://github.com/gonzalezreal/NetworkImage
Computed https://github.com/gonzalezreal/NetworkImage at 6.0.1 (2.34s)
Computing version for https://github.com/swiftlang/swift-cmark
Computed https://github.com/swiftlang/swift-cmark at 0.9.0 (0.56s)
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/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/swiftlang/swift-cmark
Working copy of https://github.com/swiftlang/swift-cmark resolved at 0.9.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/gonzalezreal/NetworkImage
Working copy of https://github.com/gonzalezreal/NetworkImage resolved at 6.0.1
Creating working copy for https://github.com/mattt/llama.swift
Working copy of https://github.com/mattt/llama.swift resolved at 2.9469.0
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
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.58s)
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.