Build Information
Successful build of CoreMLLLM, reference main (e45a7a), with Swift 6.4 for macOS (SPM) on 9 Oct 2026 01:42:03 UTC.
Swift 6 data race errors: 0
Build Command
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 5.1.1
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 e45a7a6 README: list VivaDicta and Jot under Projects using CoreML-LLM [skip ci]
Cloned https://github.com/john-rocky/CoreML-LLM.git
Revision (git rev-parse @):
e45a7a61dd7e35ba58dd14aa7a8f843c8caa3f0f
SUCCESS checkout https://github.com/john-rocky/CoreML-LLM.git at main
========================================
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-Release.Candidate.app xcrun swift build --arch arm64
Building for debugging...
[Computing dependencies]
[Constructing description]
[Pre-planning 1 / 683]
[Planning deferred tasks]
[144 / 294] swift-transformers_Hub
[148 / 294]
[152 / 297] yyjson
[163 / 321] InternalCollectionsUtilities
[170 / 321]
[172 / 372]
[181 / 372] InternalCollectionsUtilities
[192 / 373]
[201 / 384] OrderedCollections
[204 / 384]
[207 / 384]
[211 / 384] OrderedCollections
[215 / 384] OrderedCollections
[218 / 384] OrderedCollections
[230 / 385] OrderedCollections
[231 / 385]
[234 / 385]
[239 / 403]
[242 / 403]
[243 / 403]
[245 / 403]
[246 / 403]
[247 / 403]
[248 / 403]
[254 / 403]
[264 / 403] EventSource
[277 / 403] Jinja
[278 / 403] Jinja
[291 / 403] Jinja
[293 / 403] Jinja-product
[297 / 404] Crypto
[299 / 404] Jinja
[299 / 404] HuggingFace
[310 / 416] HuggingFace
[311 / 416] Jinja
[313 / 416] HuggingFace
[320 / 417] HuggingFace
[320 / 417] Hub
[330 / 465]
[337 / 465] HuggingFace
[340 / 465]
[343 / 465]
[347 / 465]
[349 / 465]
[353 / 465]
[357 / 465]
[359 / 465]
[360 / 465]
[363 / 465]
[370 / 465] Hub
[377 / 466] Hub
[377 / 466] Tokenizers
[387 / 477] Tokenizers
[388 / 477] Tokenizers
[395 / 478] Tokenizers
[396 / 478] Hub
[399 / 478] CoreMLLLM
[407 / 516]
[412 / 516]
[415 / 516]
[421 / 516]
[422 / 516]
[423 / 516]
[425 / 516]
[426 / 516]
[437 / 516] CoreMLLLM
[468 / 521]
[470 / 523]
[476 / 535] video-test-product
[483 / 539] coreml-llm-smoke-product
[491 / 539] embeddinggemma-demo-product
[496 / 541] accept-rate-bench-product
[498 / 543] determinism-oracle-product
[502 / 543] embeddinggemma-demo-product
[505 / 543] ane-residency-gate-product
[512 / 550] determinism-oracle-product
[513 / 550] ane-residency-gate-product
[515 / 550] accept-rate-bench-product
[516 / 550] CoreMLLLM
[527 / 550] CoreMLLLM-product
[529 / 550] accept-rate-bench-product
[530 / 550]
[533 / 550] ane-residency-gate-product
[539 / 550] verify-k8-probe-product
[547 / 550] ane-residency-gate-product
Build complete! (25.48 sec)
Fetching https://github.com/huggingface/swift-transformers
[1/7084] Fetching swift-transformers
Fetched https://github.com/huggingface/swift-transformers (1.59s)
Computing version for https://github.com/huggingface/swift-transformers
Computed https://github.com/huggingface/swift-transformers at 1.3.4 (2.25s)
Fetching https://github.com/huggingface/swift-jinja.git
Fetching https://github.com/apple/swift-crypto.git
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/huggingface/swift-huggingface.git
Fetching https://github.com/ibireme/yyjson.git
[1/1376] Fetching swift-jinja
[2/4343] Fetching swift-jinja, swift-huggingface
[3/22946] Fetching swift-jinja, swift-huggingface, swift-crypto
[803/28026] Fetching swift-jinja, swift-huggingface, swift-crypto, yyjson
[3836/56657] Fetching swift-jinja, swift-huggingface, swift-crypto, yyjson, swift-collections
Fetched https://github.com/huggingface/swift-jinja.git (3.20s)
[44306/55281] Fetching swift-huggingface, swift-crypto, yyjson, swift-collections
Fetched https://github.com/huggingface/swift-huggingface.git (4.45s)
Fetched https://github.com/ibireme/yyjson.git (4.45s)
Fetched https://github.com/apple/swift-crypto.git (4.45s)
Fetched https://github.com/apple/swift-collections.git (4.45s)
Computing version for https://github.com/ibireme/yyjson.git
Computed https://github.com/ibireme/yyjson.git at 0.12.0 (7.47s)
Computing version for https://github.com/huggingface/swift-jinja.git
Computed https://github.com/huggingface/swift-jinja.git at 2.5.1 (0.56s)
Computing version for https://github.com/huggingface/swift-huggingface.git
Computed https://github.com/huggingface/swift-huggingface.git at 0.13.0 (0.59s)
Fetching https://github.com/mattt/EventSource.git
[1/303] Fetching eventsource
Fetched https://github.com/mattt/EventSource.git (0.88s)
Computing version for https://github.com/mattt/EventSource.git
Computed https://github.com/mattt/EventSource.git at 1.5.1 (1.49s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.7.2 (0.66s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 4.5.2 (2.24s)
Fetching https://github.com/apple/swift-asn1.git
[1/1995] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git (1.04s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.3 (1.72s)
Creating working copy for https://github.com/huggingface/swift-jinja.git
Working copy of https://github.com/huggingface/swift-jinja.git resolved at 2.5.1
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.2
Creating working copy for https://github.com/huggingface/swift-huggingface.git
Working copy of https://github.com/huggingface/swift-huggingface.git resolved at 0.13.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-transformers
Working copy of https://github.com/huggingface/swift-transformers resolved at 1.3.4
Creating working copy for https://github.com/mattt/EventSource.git
Working copy of https://github.com/mattt/EventSource.git resolved at 1.5.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.3
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
/Users/admin/builder/spi-builder-workspace/Sources/CoreMLLLM/Gemma3BundleDownloader.swift:335:17: [1;33mwarning: [1;39mstored property 'continuation' of 'Sendable'-conforming class 'Delegate' is mutable[0;0m
[0;36m333 |[0;0m let state: ProgressState
[0;36m334 |[0;0m let onUpdate: (Progress) -> Void
[0;36m335 |[0;0m var continuation: CheckedContinuation<(URL, URLResponse), Swift.Error>?
[0;36m|[0;0m `- [1;33mwarning: [1;39mstored property 'continuation' of 'Sendable'-conforming class 'Delegate' is mutable[0;0m
[0;36m336 |[0;0m private var lastUpdate = Date.distantPast
[0;36m337 |[0;0m private var movedURL: URL?
/Users/admin/builder/spi-builder-workspace/Sources/CoreMLLLM/SuffixSpeculativeEngine.swift:164:13: [1;33mwarning: [1;39mresult of 'try?' is unused[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
[0;36m162 |[0;0m if let url = persistURL, commitsSinceSave >= saveEvery {
[0;36m163 |[0;0m commitsSinceSave = 0
[0;36m164 |[0;0m [4;39mtry? tree.save(to: url)[0;0m
[0;36m|[0;0m `- [1;33mwarning: [1;39mresult of 'try?' is unused[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
[0;36m165 |[0;0m }
[0;36m166 |[0;0m }
[#NoUsage]: <https://docs.swift.org/compiler/documentation/diagnostics/no-usage>
/Users/admin/builder/spi-builder-workspace/Sources/CoreMLLLM/Gemma3BundleDownloader.swift:335:17: [1;33mwarning: [1;39mstored property 'continuation' of 'Sendable'-conforming class 'Delegate' is mutable[0;0m
[0;36m333 |[0;0m let state: ProgressState
[0;36m334 |[0;0m let onUpdate: (Progress) -> Void
[0;36m335 |[0;0m var continuation: CheckedContinuation<(URL, URLResponse), Swift.Error>?
[0;36m|[0;0m `- [1;33mwarning: [1;39mstored property 'continuation' of 'Sendable'-conforming class 'Delegate' is mutable[0;0m
[0;36m336 |[0;0m private var lastUpdate = Date.distantPast
[0;36m337 |[0;0m private var movedURL: URL?
/Users/admin/builder/spi-builder-workspace/Sources/CoreMLLLM/CoreMLLLM.swift:627:33: [1;33mwarning: [1;39mcapture of 'm' with non-Sendable type 'MLModel' in a '@Sendable' closure[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m625 |[0;0m "pixel_position_ids": MLFeatureValue(multiArray: pid),
[0;36m626 |[0;0m ])
[0;36m627 |[0;0m _ = try m.prediction(from: input)
[0;36m|[0;0m `- [1;33mwarning: [1;39mcapture of 'm' with non-Sendable type 'MLModel' in a '@Sendable' closure[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m628 |[0;0m let dw = CFAbsoluteTimeGetCurrent() - tw
[0;36m629 |[0;0m print("[Load] vision GPU prewarm predict in \(String(format: "%.1f", dw))s")
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk/System/Library/Frameworks/CoreML.framework/Headers/MLModel.h:28:12: [1;39mnote: [1;39mclass 'MLModel' does not conform to the 'Sendable' protocol[0;0m
[0;36m26 |[0;0m API_AVAILABLE(macos(10.13), ios(11.0), watchos(4.0), tvos(11.0))
[0;36m27 |[0;0m ML_EXPORT
[0;36m28 |[0;0m @interface MLModel : NSObject
[0;36m|[0;0m `- [1;39mnote: [1;39mclass 'MLModel' does not conform to the 'Sendable' protocol[0;0m
[0;36m29 |[0;0m
[0;36m30 |[0;0m /// A model holds a description of its required inputs and expected outputs.
/Users/admin/builder/spi-builder-workspace/Sources/CoreMLLLM/CoreMLLLM.swift:1:1: [1;33mwarning: [1;39madd '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreML'[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/add-preconcurrency-import\AddPreconcurrencyImport]8;;\]
[0;36m1 |[0;0m import CoreML
[0;36m|[0;0m `- [1;33mwarning: [1;39madd '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreML'[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/add-preconcurrency-import\AddPreconcurrencyImport]8;;\]
[0;36m2 |[0;0m import Foundation
[0;36m3 |[0;0m import Tokenizers
/Users/admin/builder/spi-builder-workspace/Sources/CoreMLLLM/CoreMLLLM.swift:680:33: [1;33mwarning: [1;39mcapture of 'm' with non-Sendable type 'MLModel' in a '@Sendable' closure[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m678 |[0;0m "pixel_position_ids": MLFeatureValue(multiArray: pid),
[0;36m679 |[0;0m ])
[0;36m680 |[0;0m _ = try m.prediction(from: input)
[0;36m|[0;0m `- [1;33mwarning: [1;39mcapture of 'm' with non-Sendable type 'MLModel' in a '@Sendable' closure[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m681 |[0;0m let dw = CFAbsoluteTimeGetCurrent() - tw
[0;36m682 |[0;0m print("[Load] vision ANE prewarm predict in \(String(format: "%.1f", dw))s")
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk/System/Library/Frameworks/CoreML.framework/Headers/MLModel.h:28:12: [1;39mnote: [1;39mclass 'MLModel' does not conform to the 'Sendable' protocol[0;0m
[0;36m26 |[0;0m API_AVAILABLE(macos(10.13), ios(11.0), watchos(4.0), tvos(11.0))
[0;36m27 |[0;0m ML_EXPORT
[0;36m28 |[0;0m @interface MLModel : NSObject
[0;36m|[0;0m `- [1;39mnote: [1;39mclass 'MLModel' does not conform to the 'Sendable' protocol[0;0m
[0;36m29 |[0;0m
[0;36m30 |[0;0m /// 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: [1;33mwarning: [1;39m'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.[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m172 |[0;0m // output_proj: (S, 1024) @ W^T(1024, 1536) → (S, 1536)
[0;36m173 |[0;0m var projected = [Float](repeating: 0, count: S * outDim)
[0;36m174 |[0;0m cblas_sgemm(CblasRowMajor, CblasNoTrans, CblasTrans,
[0;36m|[0;0m `- [1;33mwarning: [1;39m'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.[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m175 |[0;0m Int32(S), Int32(outDim), Int32(inDim),
[0;36m176 |[0;0m 1.0, inputF32, Int32(inDim),
/Users/admin/builder/spi-builder-workspace/Sources/CoreMLLLM/AudioProcessor.swift:200:9: [1;33mwarning: [1;39m'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.[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m198 |[0;0m let finalDim = proj.finalDim
[0;36m199 |[0;0m var features = [Float](repeating: 0, count: S * finalDim)
[0;36m200 |[0;0m cblas_sgemm(CblasRowMajor, CblasNoTrans, CblasTrans,
[0;36m|[0;0m `- [1;33mwarning: [1;39m'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.[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m201 |[0;0m Int32(S), Int32(finalDim), Int32(outDim),
[0;36m202 |[0;0m 1.0, projected, Int32(outDim),
/Users/admin/builder/spi-builder-workspace/Sources/CoreMLLLM/AudioProcessor.swift:300:13: [1;33mwarning: [1;39m'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.[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m298 |[0;0m
[0;36m299 |[0;0m let melOffset = f * numMelBins
[0;36m300 |[0;0m cblas_sgemv(CblasRowMajor, CblasTrans,
[0;36m|[0;0m `- [1;33mwarning: [1;39m'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.[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m301 |[0;0m Int32(numFFTBins), Int32(numMelBins),
[0;36m302 |[0;0m 1.0, melFilterbank, Int32(numMelBins),
/Users/admin/builder/spi-builder-workspace/Sources/CoreMLLLM/ChunkedEngine.swift:868:22: [1;33mwarning: [1;39mconcurrently-executed local function 'bgLoad' must be marked as '@Sendable'; this is an error in the Swift 6 language mode[0;0m
[0;36m866 |[0;0m return nil
[0;36m867 |[0;0m }
[0;36m868 |[0;0m func bgLoad(_ name: String) throws -> MLModel {
[0;36m|[0;0m `- [1;33mwarning: [1;39mconcurrently-executed local function 'bgLoad' must be marked as '@Sendable'; this is an error in the Swift 6 language mode[0;0m
[0;36m869 |[0;0m guard let url = bgFind(name) else {
[0;36m870 |[0;0m throw CoreMLLLMError.modelNotFound(name)
/Users/admin/builder/spi-builder-workspace/Sources/CoreMLLLM/ChunkedEngine.swift:785:24: [1;33mwarning: [1;39mno calls to throwing functions occur within 'try' expression[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\]
[0;36m783 |[0;0m let shape: [NSNumber] = [NSNumber(value: slots), NSNumber(value: nkv),
[0;36m784 |[0;0m NSNumber(value: seqLen), NSNumber(value: maxHd)]
[0;36m785 |[0;0m return try MLMultiArray(pixelBuffer: pb, shape: shape)
[0;36m|[0;0m `- [1;33mwarning: [1;39mno calls to throwing functions occur within 'try' expression[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\]
[0;36m786 |[0;0m }
[0;36m787 |[0;0m // Fallback to standard allocation
/Users/admin/builder/spi-builder-workspace/Sources/CoreMLLLM/ChunkedEngine.swift:1018:22: [1;33mwarning: [1;39mresult of call to 'withUnsafeBytes' is unused[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
[0;36m1016 |[0;0m "snapshot buffer \(i) size mismatch (got \(blobs[i].count), need \(expected))"])
[0;36m1017 |[0;0m }
[0;36m1018 |[0;0m blobs[i].withUnsafeBytes [4;39m{ src in[0;0m
[0;36m|[0;0m `- [1;33mwarning: [1;39mresult of call to 'withUnsafeBytes' is unused[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
[0;36m1019 |[0;0m memcpy(buf.dataPointer, src.baseAddress!, expected)
[0;36m1020 |[0;0m }
/Users/admin/builder/spi-builder-workspace/Sources/CoreMLLLM/ChunkedEngine.swift:1668:13: [1;33mwarning: [1;39minitialization of immutable value 'hidden' was never used; consider replacing with assignment to '_' or removing it[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
[0;36m1666 |[0;0m let ctx = config.contextLength
[0;36m1667 |[0;0m let W = config.slidingWindow
[0;36m1668 |[0;0m let hidden = config.hiddenSize
[0;36m|[0;0m `- [1;33mwarning: [1;39minitialization of immutable value 'hidden' was never used; consider replacing with assignment to '_' or removing it[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
[0;36m1669 |[0;0m
[0;36m1670 |[0;0m // Build batched embeddings for K tokens: (1, K, hidden)
/Users/admin/builder/spi-builder-workspace/Sources/CoreMLLLM/ChunkedEngine.swift:2074:9: [1;33mwarning: [1;39m'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.[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m2072 |[0;0m
[0;36m2073 |[0;0m var proj = [Float](repeating: 0, count: totalDim)
[0;36m2074 |[0;0m cblas_sgemv(CblasRowMajor, CblasNoTrans,
[0;36m|[0;0m `- [1;33mwarning: [1;39m'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.[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m2075 |[0;0m Int32(totalDim), Int32(hidden),
[0;36m2076 |[0;0m 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/Gemma4StatefulEngine.swift:827:13: [1;33mwarning: [1;39mvariable 'shared' was never mutated; consider changing to 'let' constant[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/variable-never-mutated\VariableNeverMutated]8;;\]
[0;36m825 |[0;0m
[0;36m826 |[0;0m // 5) Chunks 3 + 4
[0;36m827 |[0;0m var shared: [String: MLFeatureValue] = [
[0;36m|[0;0m `- [1;33mwarning: [1;39mvariable 'shared' was never mutated; consider changing to 'let' constant[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/variable-never-mutated\VariableNeverMutated]8;;\]
[0;36m828 |[0;0m "causal_mask_full": fvMF,
[0;36m829 |[0;0m "causal_mask_sliding": fvMS,
/Users/admin/builder/spi-builder-workspace/Sources/CoreMLLLM/Gemma4StatefulMultimodalEngine.swift:832:13: [1;33mwarning: [1;39mvariable 'sharedInputs' was never mutated; consider changing to 'let' constant[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/variable-never-mutated\VariableNeverMutated]8;;\]
[0;36m830 |[0;0m else { throw CoreMLLLMError.modelNotFound("decode chunk_2 missing outputs") }
[0;36m831 |[0;0m
[0;36m832 |[0;0m var sharedInputs: [String: MLFeatureValue] = [
[0;36m|[0;0m `- [1;33mwarning: [1;39mvariable 'sharedInputs' was never mutated; consider changing to 'let' constant[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/variable-never-mutated\VariableNeverMutated]8;;\]
[0;36m833 |[0;0m "causal_mask_full": fvMaskFull,
[0;36m834 |[0;0m "causal_mask_sliding": fvMaskSliding,
/Users/admin/builder/spi-builder-workspace/Sources/CoreMLLLM/Gemma4StatefulMultimodalEngine.swift:1003:13: [1;33mwarning: [1;39mvariable 'sharedInputs' was never mutated; consider changing to 'let' constant[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/variable-never-mutated\VariableNeverMutated]8;;\]
[0;36m1001 |[0;0m else { throw CoreMLLLMError.modelNotFound("prefill T=288 chunk_2 missing outputs") }
[0;36m1002 |[0;0m
[0;36m1003 |[0;0m var sharedInputs: [String: MLFeatureValue] = [
[0;36m|[0;0m `- [1;33mwarning: [1;39mvariable 'sharedInputs' was never mutated; consider changing to 'let' constant[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/variable-never-mutated\VariableNeverMutated]8;;\]
[0;36m1004 |[0;0m "causal_mask_full": fvMF,
[0;36m1005 |[0;0m "causal_mask_sliding": fvMS,
[#VariableNeverMutated]: <https://docs.swift.org/compiler/documentation/diagnostics/variable-never-mutated>
/Users/admin/builder/spi-builder-workspace/Sources/CoreMLLLM/Qwen35MLKVGenerator.swift:519:21: [1;33mwarning: [1;39m'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.[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m517 |[0;0m scaled.withUnsafeBufferPointer { xPtr in
[0;36m518 |[0;0m logitsBuf.withUnsafeMutableBufferPointer { yPtr in
[0;36m519 |[0;0m cblas_sgemv(CblasRowMajor, CblasNoTrans,
[0;36m|[0;0m `- [1;33mwarning: [1;39m'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.[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m520 |[0;0m Int32(V), Int32(H),
[0;36m521 |[0;0m 1.0,
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
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.