The Swift Package Index logo.Swift Package Index

Build Information

Successful build of CoreMLLLM, reference main (6273b0), with Swift 6.4 for macOS (SPM) on 21 Nov 2026 14:03:18 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-27.0.0.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 5.1.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/john-rocky/CoreML-LLM.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/john-rocky/CoreML-LLM
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 6273b09 Replace absolute local paths with home-relative ones
Cloned https://github.com/john-rocky/CoreML-LLM.git
Revision (git rev-parse @):
6273b0988cbd11160fb445318456cb600cc5c4c0
SUCCESS checkout https://github.com/john-rocky/CoreML-LLM.git at main
Fetching https://github.com/mattt/EventSource.git
Fetching https://github.com/huggingface/swift-jinja.git
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/huggingface/swift-huggingface.git
Fetching https://github.com/apple/swift-asn1.git
[1/1936] Fetching swift-atomics
[21/4018] Fetching swift-atomics, swift-asn1
[22/7173] Fetching swift-atomics, swift-asn1, swift-huggingface
[23/9554] Fetching swift-atomics, swift-asn1, swift-huggingface, swift-jinja
[24/9887] Fetching swift-atomics, swift-asn1, swift-huggingface, swift-jinja, eventsource
[7586/40302] Fetching swift-atomics, swift-asn1, swift-huggingface, swift-jinja, eventsource, swift-collections
Fetched https://github.com/huggingface/swift-jinja.git (1.13s)
Fetched https://github.com/mattt/EventSource.git (1.13s)
[6985/37588] Fetching swift-atomics, swift-asn1, swift-huggingface, swift-collections
Fetching https://github.com/ibireme/yyjson.git
Fetching https://github.com/huggingface/swift-transformers
[8999/124538] Fetching swift-atomics, swift-asn1, swift-huggingface, swift-collections, swift-nio
[19735/132083] Fetching swift-atomics, swift-asn1, swift-huggingface, swift-collections, swift-nio, swift-transformers
[24134/137437] Fetching swift-atomics, swift-asn1, swift-huggingface, swift-collections, swift-nio, swift-transformers, yyjson
Fetched https://github.com/ibireme/yyjson.git (1.65s)
[71007/132083] Fetching swift-atomics, swift-asn1, swift-huggingface, swift-collections, swift-nio, swift-transformers
Fetching https://github.com/apple/swift-crypto.git
Fetched https://github.com/huggingface/swift-transformers (1.72s)
Computing version for https://github.com/huggingface/swift-transformers
[69373/124538] Fetching swift-atomics, swift-asn1, swift-huggingface, swift-collections, swift-nio
Fetching https://github.com/apple/swift-system.git
[90629/143525] Fetching swift-atomics, swift-asn1, swift-huggingface, swift-collections, swift-nio, swift-crypto
Computed https://github.com/huggingface/swift-transformers at 1.3.0 (3.52s)
[92748/151144] Fetching swift-atomics, swift-asn1, swift-huggingface, swift-collections, swift-nio, swift-crypto, swift-system
Fetched https://github.com/apple/swift-system.git (1.31s)
[97064/143525] Fetching swift-atomics, swift-asn1, swift-huggingface, swift-collections, swift-nio, swift-crypto
Fetched https://github.com/apple/swift-crypto.git (3.87s)
[105409/124538] Fetching swift-atomics, swift-asn1, swift-huggingface, swift-collections, swift-nio
Fetched https://github.com/apple/swift-collections.git (9.56s)
Fetched https://github.com/apple/swift-asn1.git (9.56s)
Fetched https://github.com/apple/swift-atomics.git (9.56s)
Fetched https://github.com/huggingface/swift-huggingface.git (9.56s)
Computing version for https://github.com/ibireme/yyjson.git
Fetched https://github.com/apple/swift-nio.git (9.56s)
Computed https://github.com/ibireme/yyjson.git at 0.12.0 (16.53s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 4.4.0 (2.32s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.4.1 (0.72s)
Computing version for https://github.com/huggingface/swift-huggingface.git
Computed https://github.com/huggingface/swift-huggingface.git at 0.9.0 (0.62s)
Computing version for https://github.com/huggingface/swift-jinja.git
Computed https://github.com/huggingface/swift-jinja.git at 2.3.5 (0.63s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.0 (0.72s)
Computing version for https://github.com/mattt/EventSource.git
Computed https://github.com/mattt/EventSource.git at 1.4.1 (0.61s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.98.0 (0.71s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.4 (0.61s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (0.60s)
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.6.4
Creating working copy for https://github.com/huggingface/swift-jinja.git
Working copy of https://github.com/huggingface/swift-jinja.git resolved at 2.3.5
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 4.4.0
Creating working copy for https://github.com/mattt/EventSource.git
Working copy of https://github.com/mattt/EventSource.git resolved at 1.4.1
Creating working copy for https://github.com/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.7.0
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.4.1
Creating working copy for https://github.com/huggingface/swift-transformers
Working copy of https://github.com/huggingface/swift-transformers resolved at 1.3.0
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.0
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.98.0
Creating working copy for https://github.com/ibireme/yyjson.git
Working copy of https://github.com/ibireme/yyjson.git resolved at 0.12.0
Creating working copy for https://github.com/huggingface/swift-huggingface.git
Working copy of https://github.com/huggingface/swift-huggingface.git resolved at 0.9.0
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "traits": [
    "default"
  ],
  "dependencies": [
    {
      "identity": "coreml-llm",
      "name": "CoreMLLLM",
      "url": "https://github.com/john-rocky/CoreML-LLM.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/CoreML-LLM",
      "traits": [
        "default"
      ],
      "dependencies": [
        {
          "identity": "swift-transformers",
          "name": "swift-transformers",
          "url": "https://github.com/huggingface/swift-transformers",
          "version": "1.4.0",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-transformers",
          "traits": [
          ],
          "dependencies": [
            {
              "identity": "swift-jinja",
              "name": "Jinja",
              "url": "https://github.com/huggingface/swift-jinja.git",
              "version": "3.2.1",
              "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-jinja",
              "traits": [
                "default"
              ],
              "dependencies": [
                {
                  "identity": "swift-collections",
                  "name": "swift-collections",
                  "url": "https://github.com/apple/swift-collections.git",
                  "version": "1.7.6",
                  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-collections",
                  "traits": [
                  ],
                  "dependencies": [
                  ]
                }
              ]
            },
            {
              "identity": "swift-huggingface",
              "name": "swift-huggingface",
              "url": "https://github.com/huggingface/swift-huggingface.git",
              "version": "1.0.1",
              "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-huggingface",
              "traits": [
              ],
              "dependencies": [
                {
                  "identity": "eventsource",
                  "name": "EventSource",
                  "url": "https://github.com/mattt/EventSource.git",
                  "version": "1.6.0",
                  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/EventSource",
                  "traits": [
                  ],
                  "dependencies": [
                  ]
                },
                {
                  "identity": "swift-crypto",
                  "name": "swift-crypto",
                  "url": "https://github.com/apple/swift-crypto.git",
                  "version": "4.5.2",
                  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-crypto",
                  "traits": [
                    "default"
                  ],
                  "dependencies": [
                    {
                      "identity": "swift-asn1",
                      "name": "swift-asn1",
                      "url": "https://github.com/apple/swift-asn1.git",
                      "version": "1.7.4",
                      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-asn1",
                      "traits": [
                        "default"
                      ],
                      "dependencies": [
                      ]
                    }
                  ]
                }
              ]
            },
            {
              "identity": "swift-collections",
              "name": "swift-collections",
              "url": "https://github.com/apple/swift-collections.git",
              "version": "1.7.6",
              "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-collections",
              "traits": [
              ],
              "dependencies": [
              ]
            },
            {
              "identity": "swift-crypto",
              "name": "swift-crypto",
              "url": "https://github.com/apple/swift-crypto.git",
              "version": "4.5.2",
              "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-crypto",
              "traits": [
                "default"
              ],
              "dependencies": [
                {
                  "identity": "swift-asn1",
                  "name": "swift-asn1",
                  "url": "https://github.com/apple/swift-asn1.git",
                  "version": "1.7.4",
                  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-asn1",
                  "traits": [
                    "default"
                  ],
                  "dependencies": [
                  ]
                }
              ]
            },
            {
              "identity": "yyjson",
              "name": "yyjson",
              "url": "https://github.com/ibireme/yyjson.git",
              "version": "0.13.0",
              "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/yyjson",
              "traits": [
              ],
              "dependencies": [
              ]
            }
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/john-rocky/CoreML-LLM.git
[1/6463] Fetching coreml-llm
Fetched https://github.com/john-rocky/CoreML-LLM.git (2.60s)
Fetching https://github.com/huggingface/swift-transformers from cache
Fetched https://github.com/huggingface/swift-transformers from cache (0.56s)
Computing version for https://github.com/huggingface/swift-transformers
Computed https://github.com/huggingface/swift-transformers at 1.4.0 (1.24s)
Fetching https://github.com/ibireme/yyjson.git from cache
Fetching https://github.com/huggingface/swift-huggingface.git from cache
Fetching https://github.com/apple/swift-crypto.git from cache
Fetching https://github.com/apple/swift-collections.git from cache
Fetching https://github.com/huggingface/swift-jinja.git from cache
Fetched https://github.com/apple/swift-collections.git from cache (0.64s)
Fetched https://github.com/ibireme/yyjson.git from cache (0.69s)
Fetched https://github.com/apple/swift-crypto.git from cache (0.69s)
Fetched https://github.com/huggingface/swift-jinja.git from cache (0.69s)
Fetched https://github.com/huggingface/swift-huggingface.git from cache (0.69s)
Computing version for https://github.com/ibireme/yyjson.git
Computed https://github.com/ibireme/yyjson.git at 0.13.0 (1.37s)
Computing version for https://github.com/huggingface/swift-huggingface.git
Computed https://github.com/huggingface/swift-huggingface.git at 1.0.1 (0.63s)
Fetching https://github.com/mattt/EventSource.git from cache
Fetched https://github.com/mattt/EventSource.git from cache (0.49s)
Computing version for https://github.com/huggingface/swift-jinja.git
Computed https://github.com/huggingface/swift-jinja.git at 3.2.1 (0.57s)
Computing version for https://github.com/mattt/EventSource.git
Computed https://github.com/mattt/EventSource.git at 1.6.0 (0.60s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.7.6 (0.70s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 4.5.2 (0.03s)
Fetching https://github.com/apple/swift-asn1.git from cache
Fetched https://github.com/apple/swift-asn1.git from cache (0.51s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.4 (0.57s)
Creating working copy for https://github.com/ibireme/yyjson.git
Working copy of https://github.com/ibireme/yyjson.git resolved at 0.13.0
Creating working copy for https://github.com/john-rocky/CoreML-LLM.git
Working copy of https://github.com/john-rocky/CoreML-LLM.git resolved at main (6273b09)
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 4.5.2
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.7.6
Creating working copy for https://github.com/huggingface/swift-jinja.git
Working copy of https://github.com/huggingface/swift-jinja.git resolved at 3.2.1
Creating working copy for https://github.com/mattt/EventSource.git
Working copy of https://github.com/mattt/EventSource.git resolved at 1.6.0
Creating working copy for https://github.com/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.7.4
Creating working copy for https://github.com/huggingface/swift-transformers
Working copy of https://github.com/huggingface/swift-transformers resolved at 1.4.0
Creating working copy for https://github.com/huggingface/swift-huggingface.git
Working copy of https://github.com/huggingface/swift-huggingface.git resolved at 1.0.1
Found 1 product dependencies
  - swift-transformers
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.4
Building package at path:  $PWD
https://github.com/john-rocky/CoreML-LLM.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-27.0.0.app xcrun swift build --arch arm64
Building for debugging...
[Computing dependencies]
[Constructing description]
[Pre-planning 1 / 1099]
[Planning deferred tasks]
[Starting]
[9 / 443]
[208 / 443] swift-crypto_Crypto
[214 / 443]
[231 / 449] CNIOWindows
[237 / 472] CNIOWindows
[249 / 500]
[261 / 523]
[275 / 549]
[295 / 549]
[303 / 549]
[318 / 581]
[324 / 581]
[333 / 581] InternalCollectionsUtilities
[338 / 581] _NIOBase64
[344 / 581] Atomics
[346 / 581] Atomics
[349 / 581] Atomics
[352 / 581]
[356 / 581] _NIODataStructures
[373 / 581] NIOConcurrencyHelpers
[384 / 581] NIOConcurrencyHelpers
[387 / 581]
[390 / 581]
[396 / 581]
[405 / 583] Atomics
[414 / 605] ContainersPreview
[416 / 605]
[420 / 605] ContainersPreview
[428 / 605] ContainersPreview
[432 / 605]
[439 / 606]
[447 / 617] OrderedCollections
[456 / 617] OrderedCollections-product
[464 / 617] Crypto
[466 / 617] Crypto
[470 / 617] Crypto
[475 / 617] Crypto
[477 / 617] DequeModule
[485 / 617] Crypto
[488 / 619] Crypto
[490 / 619] NIOCore
[501 / 642] NIOCore
[503 / 642] NIOCore
[505 / 642] Jinja
[513 / 642] NIOCore
[516 / 642] NIOCore
[517 / 642] NIOCore
[518 / 642] Jinja
[519 / 642] Jinja-product
[520 / 642] Jinja-product
[521 / 642] NIOCore
[523 / 642] NIOCore
[532 / 643] EventSource
[537 / 648] EventSource
[544 / 649] EventSource
[546 / 649] HuggingFace
[558 / 687]
[564 / 687]
[567 / 687]
[569 / 687]
[571 / 687]
[572 / 687]
[573 / 687]
[584 / 687] HuggingFace
[591 / 688] HuggingFace
[593 / 728]
[603 / 751]
[606 / 751]
[607 / 751]
[612 / 751]
[614 / 751]
[616 / 751]
[620 / 751]
[624 / 751]
[627 / 751]
[629 / 751]
[630 / 751]
[641 / 751]
[643 / 751]
[644 / 751]
[646 / 751]
[648 / 751]
[649 / 751]
[656 / 751] Hub
[663 / 752] Hub
[663 / 752] Tokenizers
[673 / 763] Tokenizers
[674 / 763] Tokenizers
[681 / 764] Tokenizers
[685 / 764] CoreMLLLM
[691 / 787]
[692 / 787]
[694 / 787]
[696 / 787]
[697 / 787]
[708 / 787] CoreMLLLM
[740 / 793]
[741 / 794]
[743 / 797] coreml-llm-smoke-product
[751 / 808] video-test-product
[754 / 810] functiongemma-demo-product
[757 / 810] verify-k8-probe-product
[764 / 810] determinism-oracle-product
[771 / 814] coreml-llm-smoke-product
[775 / 814] embeddinggemma-demo-product
[776 / 814] coreml-llm-smoke-product
[777 / 814] ane-residency-gate-product
[784 / 821] CoreMLLLM
[785 / 821] accept-rate-bench-product
[788 / 821] ane-residency-gate-product
[798 / 821] CoreMLLLM-product
[806 / 821] gemma4mm-smoke-product
[808 / 821]
[819 / 821] accept-rate-bench-product
Build complete! (32.31 sec)
/Users/admin/builder/spi-builder-workspace/Sources/CoreMLLLM/SuffixSpeculativeEngine.swift:164:13: warning: result of 'try?' is unused [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
162 |         if let url = persistURL, commitsSinceSave >= saveEvery {
163 |             commitsSinceSave = 0
164 |             try? tree.save(to: url)
    |             `- warning: result of 'try?' is unused [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
165 |         }
166 |     }
[#NoUsage]: <https://docs.swift.org/compiler/documentation/diagnostics/no-usage>
/Users/admin/builder/spi-builder-workspace/Sources/CoreMLLLM/Gemma3BundleDownloader.swift:335:17: warning: stored property 'continuation' of 'Sendable'-conforming class 'Delegate' is mutable
333 |             let state: ProgressState
334 |             let onUpdate: (Progress) -> Void
335 |             var continuation: CheckedContinuation<(URL, URLResponse), Swift.Error>?
    |                 `- warning: stored property 'continuation' of 'Sendable'-conforming class 'Delegate' is mutable
336 |             private var lastUpdate = Date.distantPast
337 |             private var movedURL: URL?
/Users/admin/builder/spi-builder-workspace/Sources/CoreMLLLM/Gemma3BundleDownloader.swift:335:17: warning: stored property 'continuation' of 'Sendable'-conforming class 'Delegate' is mutable
333 |             let state: ProgressState
334 |             let onUpdate: (Progress) -> Void
335 |             var continuation: CheckedContinuation<(URL, URLResponse), Swift.Error>?
    |                 `- warning: stored property 'continuation' of 'Sendable'-conforming class 'Delegate' is mutable
336 |             private var lastUpdate = Date.distantPast
337 |             private var movedURL: URL?
/Users/admin/builder/spi-builder-workspace/Sources/CoreMLLLM/CoreMLLLM.swift:627:33: warning: capture of 'm' with non-Sendable type 'MLModel' in a '@Sendable' closure [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
 625 |                             "pixel_position_ids": MLFeatureValue(multiArray: pid),
 626 |                         ])
 627 |                         _ = try m.prediction(from: input)
     |                                 `- warning: capture of 'm' with non-Sendable type 'MLModel' in a '@Sendable' closure [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
 628 |                         let dw = CFAbsoluteTimeGetCurrent() - tw
 629 |                         print("[Load] vision GPU prewarm predict in \(String(format: "%.1f", dw))s")
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk/System/Library/Frameworks/CoreML.framework/Headers/MLModel.h:28:12: note: class 'MLModel' does not conform to the 'Sendable' protocol
 26 | API_AVAILABLE(macos(10.13), ios(11.0), watchos(4.0), tvos(11.0))
 27 | ML_EXPORT
 28 | @interface MLModel : NSObject
    |            `- note: class 'MLModel' does not conform to the 'Sendable' protocol
 29 |
 30 | /// A model holds a description of its required inputs and expected outputs.
/Users/admin/builder/spi-builder-workspace/Sources/CoreMLLLM/CoreMLLLM.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreML' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/add-preconcurrency-import\AddPreconcurrencyImport]8;;\]
   1 | import CoreML
     | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreML' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/add-preconcurrency-import\AddPreconcurrencyImport]8;;\]
   2 | import Foundation
   3 | import Tokenizers
/Users/admin/builder/spi-builder-workspace/Sources/CoreMLLLM/CoreMLLLM.swift:680:33: warning: capture of 'm' with non-Sendable type 'MLModel' in a '@Sendable' closure [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
 678 |                             "pixel_position_ids": MLFeatureValue(multiArray: pid),
 679 |                         ])
 680 |                         _ = try m.prediction(from: input)
     |                                 `- warning: capture of 'm' with non-Sendable type 'MLModel' in a '@Sendable' closure [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
 681 |                         let dw = CFAbsoluteTimeGetCurrent() - tw
 682 |                         print("[Load] vision ANE prewarm predict in \(String(format: "%.1f", dw))s")
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk/System/Library/Frameworks/CoreML.framework/Headers/MLModel.h:28:12: note: class 'MLModel' does not conform to the 'Sendable' protocol
 26 | API_AVAILABLE(macos(10.13), ios(11.0), watchos(4.0), tvos(11.0))
 27 | ML_EXPORT
 28 | @interface MLModel : NSObject
    |            `- note: class 'MLModel' does not conform to the 'Sendable' protocol
 29 |
 30 | /// A model holds a description of its required inputs and expected outputs.
[#AddPreconcurrencyImport]: <https://docs.swift.org/compiler/documentation/diagnostics/add-preconcurrency-import>
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
/Users/admin/builder/spi-builder-workspace/Sources/CoreMLLLM/AudioProcessor.swift:174:9: warning: 'cblas_sgemm' was deprecated in macOS 13.3: An updated CBLAS interface supporting ILP64 is available.  Please compile with -DACCELERATE_NEW_LAPACK to access the new headers and -DACCELERATE_LAPACK_ILP64 for ILP64 support. [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
172 |         // output_proj: (S, 1024) @ W^T(1024, 1536) → (S, 1536)
173 |         var projected = [Float](repeating: 0, count: S * outDim)
174 |         cblas_sgemm(CblasRowMajor, CblasNoTrans, CblasTrans,
    |         `- warning: 'cblas_sgemm' was deprecated in macOS 13.3: An updated CBLAS interface supporting ILP64 is available.  Please compile with -DACCELERATE_NEW_LAPACK to access the new headers and -DACCELERATE_LAPACK_ILP64 for ILP64 support. [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
175 |                     Int32(S), Int32(outDim), Int32(inDim),
176 |                     1.0, inputF32, Int32(inDim),
/Users/admin/builder/spi-builder-workspace/Sources/CoreMLLLM/AudioProcessor.swift:200:9: warning: 'cblas_sgemm' was deprecated in macOS 13.3: An updated CBLAS interface supporting ILP64 is available.  Please compile with -DACCELERATE_NEW_LAPACK to access the new headers and -DACCELERATE_LAPACK_ILP64 for ILP64 support. [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
198 |         let finalDim = proj.finalDim
199 |         var features = [Float](repeating: 0, count: S * finalDim)
200 |         cblas_sgemm(CblasRowMajor, CblasNoTrans, CblasTrans,
    |         `- warning: 'cblas_sgemm' was deprecated in macOS 13.3: An updated CBLAS interface supporting ILP64 is available.  Please compile with -DACCELERATE_NEW_LAPACK to access the new headers and -DACCELERATE_LAPACK_ILP64 for ILP64 support. [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
201 |                     Int32(S), Int32(finalDim), Int32(outDim),
202 |                     1.0, projected, Int32(outDim),
/Users/admin/builder/spi-builder-workspace/Sources/CoreMLLLM/AudioProcessor.swift:300:13: warning: 'cblas_sgemv' was deprecated in macOS 13.3: An updated CBLAS interface supporting ILP64 is available.  Please compile with -DACCELERATE_NEW_LAPACK to access the new headers and -DACCELERATE_LAPACK_ILP64 for ILP64 support. [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
298 |
299 |             let melOffset = f * numMelBins
300 |             cblas_sgemv(CblasRowMajor, CblasTrans,
    |             `- warning: 'cblas_sgemv' was deprecated in macOS 13.3: An updated CBLAS interface supporting ILP64 is available.  Please compile with -DACCELERATE_NEW_LAPACK to access the new headers and -DACCELERATE_LAPACK_ILP64 for ILP64 support. [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
301 |                         Int32(numFFTBins), Int32(numMelBins),
302 |                         1.0, melFilterbank, Int32(numMelBins),
/Users/admin/builder/spi-builder-workspace/Sources/CoreMLLLM/ChunkedEngine.swift:868:22: warning: concurrently-executed local function 'bgLoad' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
 866 |                     return nil
 867 |                 }
 868 |                 func bgLoad(_ name: String) throws -> MLModel {
     |                      `- warning: concurrently-executed local function 'bgLoad' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
 869 |                     guard let url = bgFind(name) else {
 870 |                         throw CoreMLLLMError.modelNotFound(name)
/Users/admin/builder/spi-builder-workspace/Sources/CoreMLLLM/ChunkedEngine.swift:785:24: warning: no calls to throwing functions occur within 'try' expression [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\]
 783 |                 let shape: [NSNumber] = [NSNumber(value: slots), NSNumber(value: nkv),
 784 |                                           NSNumber(value: seqLen), NSNumber(value: maxHd)]
 785 |                 return try MLMultiArray(pixelBuffer: pb, shape: shape)
     |                        `- warning: no calls to throwing functions occur within 'try' expression [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\]
 786 |             }
 787 |             // Fallback to standard allocation
/Users/admin/builder/spi-builder-workspace/Sources/CoreMLLLM/ChunkedEngine.swift:1018:22: warning: result of call to 'withUnsafeBytes' is unused [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
1016 |                         "snapshot buffer \(i) size mismatch (got \(blobs[i].count), need \(expected))"])
1017 |             }
1018 |             blobs[i].withUnsafeBytes { src in
     |                      `- warning: result of call to 'withUnsafeBytes' is unused [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
1019 |                 memcpy(buf.dataPointer, src.baseAddress!, expected)
1020 |             }
/Users/admin/builder/spi-builder-workspace/Sources/CoreMLLLM/ChunkedEngine.swift:1668:13: warning: initialization of immutable value 'hidden' was never used; consider replacing with assignment to '_' or removing it [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
1666 |         let ctx = config.contextLength
1667 |         let W = config.slidingWindow
1668 |         let hidden = config.hiddenSize
     |             `- warning: initialization of immutable value 'hidden' was never used; consider replacing with assignment to '_' or removing it [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
1669 |
1670 |         // Build batched embeddings for K tokens: (1, K, hidden)
/Users/admin/builder/spi-builder-workspace/Sources/CoreMLLLM/ChunkedEngine.swift:2074:9: warning: 'cblas_sgemv' was deprecated in macOS 13.3: An updated CBLAS interface supporting ILP64 is available.  Please compile with -DACCELERATE_NEW_LAPACK to access the new headers and -DACCELERATE_LAPACK_ILP64 for ILP64 support. [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
2072 |
2073 |         var proj = [Float](repeating: 0, count: totalDim)
2074 |         cblas_sgemv(CblasRowMajor, CblasNoTrans,
     |         `- warning: 'cblas_sgemv' was deprecated in macOS 13.3: An updated CBLAS interface supporting ILP64 is available.  Please compile with -DACCELERATE_NEW_LAPACK to access the new headers and -DACCELERATE_LAPACK_ILP64 for ILP64 support. [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
2075 |                     Int32(totalDim), Int32(hidden),
2076 |                     config.perLayerProjScale, perLayerProjF32, Int32(hidden),
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[#NoUsage]: <https://docs.swift.org/compiler/documentation/diagnostics/no-usage>
[#UnnecessaryEffectMarker]: <https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker>
/Users/admin/builder/spi-builder-workspace/Sources/CoreMLLLM/Qwen35MLKVGenerator.swift:519:21: warning: 'cblas_sgemv' was deprecated in macOS 13.3: An updated CBLAS interface supporting ILP64 is available.  Please compile with -DACCELERATE_NEW_LAPACK to access the new headers and -DACCELERATE_LAPACK_ILP64 for ILP64 support. [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
 517 |             scaled.withUnsafeBufferPointer { xPtr in
 518 |                 logitsBuf.withUnsafeMutableBufferPointer { yPtr in
 519 |                     cblas_sgemv(CblasRowMajor, CblasNoTrans,
     |                     `- warning: 'cblas_sgemv' was deprecated in macOS 13.3: An updated CBLAS interface supporting ILP64 is available.  Please compile with -DACCELERATE_NEW_LAPACK to access the new headers and -DACCELERATE_LAPACK_ILP64 for ILP64 support. [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
 520 |                                 Int32(V), Int32(H),
 521 |                                 1.0,
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
/Users/admin/builder/spi-builder-workspace/Sources/CoreMLLLM/Gemma4StatefulEngine.swift:827:13: warning: variable 'shared' was never mutated; consider changing to 'let' constant [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/variable-never-mutated\VariableNeverMutated]8;;\]
 825 |
 826 |         // 5) Chunks 3 + 4
 827 |         var shared: [String: MLFeatureValue] = [
     |             `- warning: variable 'shared' was never mutated; consider changing to 'let' constant [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/variable-never-mutated\VariableNeverMutated]8;;\]
 828 |             "causal_mask_full":   fvMF,
 829 |             "causal_mask_sliding": fvMS,
/Users/admin/builder/spi-builder-workspace/Sources/CoreMLLLM/Gemma4StatefulMultimodalEngine.swift:832:13: warning: variable 'sharedInputs' was never mutated; consider changing to 'let' constant [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/variable-never-mutated\VariableNeverMutated]8;;\]
 830 |         else { throw CoreMLLLMError.modelNotFound("decode chunk_2 missing outputs") }
 831 |
 832 |         var sharedInputs: [String: MLFeatureValue] = [
     |             `- warning: variable 'sharedInputs' was never mutated; consider changing to 'let' constant [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/variable-never-mutated\VariableNeverMutated]8;;\]
 833 |             "causal_mask_full":   fvMaskFull,
 834 |             "causal_mask_sliding": fvMaskSliding,
/Users/admin/builder/spi-builder-workspace/Sources/CoreMLLLM/Gemma4StatefulMultimodalEngine.swift:1003:13: warning: variable 'sharedInputs' was never mutated; consider changing to 'let' constant [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/variable-never-mutated\VariableNeverMutated]8;;\]
1001 |         else { throw CoreMLLLMError.modelNotFound("prefill T=288 chunk_2 missing outputs") }
1002 |
1003 |         var sharedInputs: [String: MLFeatureValue] = [
     |             `- warning: variable 'sharedInputs' was never mutated; consider changing to 'let' constant [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/variable-never-mutated\VariableNeverMutated]8;;\]
1004 |             "causal_mask_full":   fvMF,
1005 |             "causal_mask_sliding": fvMS,
[#VariableNeverMutated]: <https://docs.swift.org/compiler/documentation/diagnostics/variable-never-mutated>
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift-transformers",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/huggingface/swift-transformers"
    }
  ],
  "manifest_display_name" : "CoreMLLLM",
  "name" : "CoreMLLLM",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "18.0"
    },
    {
      "name" : "macos",
      "version" : "15.0"
    }
  ],
  "products" : [
    {
      "name" : "CoreMLLLM",
      "targets" : [
        "CoreMLLLM"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "video-test",
      "targets" : [
        "VideoTest"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "accept-rate-bench",
      "targets" : [
        "AcceptRateBench"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "coreml-llm-smoke",
      "targets" : [
        "CoreMLLLMSmoke"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "union-bitexact",
      "targets" : [
        "UnionBitExact"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "determinism-oracle",
      "targets" : [
        "DeterminismOracle"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "verify-k8-probe",
      "targets" : [
        "VerifyK8Probe"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "ane-residency-gate",
      "targets" : [
        "AneResidencyGate"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "gemma4mm-smoke",
      "targets" : [
        "Gemma4MMSmoke"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "functiongemma-demo",
      "targets" : [
        "FunctionGemmaDemo"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "embeddinggemma-demo",
      "targets" : [
        "EmbeddingGemmaDemo"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "VideoTest",
      "module_type" : "SwiftTarget",
      "name" : "VideoTest",
      "path" : "Sources/VideoTest",
      "product_memberships" : [
        "video-test"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "CoreMLLLM"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "VerifyK8Probe",
      "module_type" : "SwiftTarget",
      "name" : "VerifyK8Probe",
      "path" : "Sources/verify-k8-probe",
      "product_memberships" : [
        "verify-k8-probe"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "CoreMLLLM"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "UnionBitExact",
      "module_type" : "SwiftTarget",
      "name" : "UnionBitExact",
      "path" : "Sources/union-bitexact",
      "product_memberships" : [
        "union-bitexact"
      ],
      "sources" : [
        "Verifier.swift",
        "iOSStub.swift"
      ],
      "target_dependencies" : [
        "CoreMLLLM"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "Gemma4MMSmoke",
      "module_type" : "SwiftTarget",
      "name" : "Gemma4MMSmoke",
      "path" : "Sources/gemma4mm-smoke",
      "product_dependencies" : [
        "Tokenizers"
      ],
      "product_memberships" : [
        "gemma4mm-smoke"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "CoreMLLLM"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "FunctionGemmaDemo",
      "module_type" : "SwiftTarget",
      "name" : "FunctionGemmaDemo",
      "path" : "Sources/functiongemma-demo",
      "product_memberships" : [
        "functiongemma-demo"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "CoreMLLLM"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "EmbeddingGemmaDemo",
      "module_type" : "SwiftTarget",
      "name" : "EmbeddingGemmaDemo",
      "path" : "Sources/embeddinggemma-demo",
      "product_memberships" : [
        "embeddinggemma-demo"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "CoreMLLLM"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "DeterminismOracle",
      "module_type" : "SwiftTarget",
      "name" : "DeterminismOracle",
      "path" : "Sources/determinism-oracle",
      "product_memberships" : [
        "determinism-oracle"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "CoreMLLLM"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "CoreMLLLMTests",
      "module_type" : "SwiftTarget",
      "name" : "CoreMLLLMTests",
      "path" : "Tests/CoreMLLLMTests",
      "sources" : [
        "ChunkedEngineKVParityTests.swift",
        "CrossVocabDraftTests.swift",
        "CrossVocabMapTests.swift",
        "SuffixTreeTests.swift"
      ],
      "target_dependencies" : [
        "CoreMLLLM"
      ],
      "type" : "test"
    },
    {
      "c99name" : "CoreMLLLMSmoke",
      "module_type" : "SwiftTarget",
      "name" : "CoreMLLLMSmoke",
      "path" : "Sources/CoreMLLLMSmoke",
      "product_memberships" : [
        "coreml-llm-smoke"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "CoreMLLLM"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "CoreMLLLM",
      "module_type" : "SwiftTarget",
      "name" : "CoreMLLLM",
      "path" : "Sources/CoreMLLLM",
      "product_dependencies" : [
        "Tokenizers"
      ],
      "product_memberships" : [
        "CoreMLLLM",
        "video-test",
        "accept-rate-bench",
        "coreml-llm-smoke",
        "union-bitexact",
        "determinism-oracle",
        "verify-k8-probe",
        "ane-residency-gate",
        "gemma4mm-smoke",
        "functiongemma-demo",
        "embeddinggemma-demo"
      ],
      "sources" : [
        "AudioProcessor.swift",
        "ChunkedEngine.swift",
        "ComputePlanAudit.swift",
        "ComputePreferenceLoader.swift",
        "CoreMLLLM.swift",
        "CrossVocabDraft.swift",
        "CrossVocabSpeculativeEngine.swift",
        "DrafterUnion.swift",
        "EmbeddingLookup.swift",
        "Gemma3BundleDownloader.swift",
        "Gemma3EmbeddingGemma.swift",
        "Gemma3FunctionGemma.swift",
        "Gemma4StatefulEngine.swift",
        "Gemma4StatefulMultimodalEngine.swift",
        "Granite4Generator.swift",
        "ImageProcessor.swift",
        "LookaheadEngine.swift",
        "MirrorSpeculativeLoop.swift",
        "ModelConfig.swift",
        "ModelDownloader.swift",
        "MtpDraftSource.swift",
        "MtpSpeculativeEngine.swift",
        "PrefixCache.swift",
        "PrefixKVCache.swift",
        "PromptLookupDraft.swift",
        "PromptLookupLoop.swift",
        "Qwen35Generator.swift",
        "Qwen35MLKVGenerator.swift",
        "Qwen3VL2BGenerator.swift",
        "Qwen3VL2BStatefulGenerator.swift",
        "Qwen3VL2BVisionEncoder.swift",
        "SpecProfile.swift",
        "SpeculativeLoop.swift",
        "SuffixSpeculativeEngine.swift",
        "SuffixTree.swift",
        "VideoProcessor.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "AneResidencyGate",
      "module_type" : "SwiftTarget",
      "name" : "AneResidencyGate",
      "path" : "Sources/ane-residency-gate",
      "product_memberships" : [
        "ane-residency-gate"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "CoreMLLLM"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "AcceptRateBench",
      "module_type" : "SwiftTarget",
      "name" : "AcceptRateBench",
      "path" : "Sources/accept-rate-bench",
      "product_memberships" : [
        "accept-rate-bench"
      ],
      "sources" : [
        "Bench.swift",
        "Drafters.swift",
        "Prompts.swift",
        "iOSStub.swift"
      ],
      "target_dependencies" : [
        "CoreMLLLM"
      ],
      "type" : "executable"
    }
  ],
  "tools_version" : "6.0"
}
Done.