Build Information
Successful build of CoreMLLLM, reference v1.9.0 (c69a4e), with Swift 6.4 for macOS (SPM) on 16 Sep 2026 01:19:49 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.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/john-rocky/CoreML-LLM.git
Reference: v1.9.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/john-rocky/CoreML-LLM
* tag v1.9.0 -> FETCH_HEAD
HEAD is now at c69a4e9 feat(gemma4-e4b): multimodal CoreML bundle (text+image+video+audio on iPhone) (#165)
Cloned https://github.com/john-rocky/CoreML-LLM.git
Revision (git rev-parse @):
c69a4e9bb8f9574f7b332babd93bb745c1022c11
SUCCESS checkout https://github.com/john-rocky/CoreML-LLM.git at v1.9.0
========================================
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]
[Pre-planning 1 / 683]
[Planning deferred tasks]
[144 / 294] swift-crypto_Crypto
[148 / 294]
[152 / 297] InternalCollectionsUtilities
[163 / 321] InternalCollectionsUtilities
[170 / 321]
[181 / 372]
[189 / 373] InternalCollectionsUtilities
[199 / 384] OrderedCollections
[204 / 384]
[209 / 384]
[214 / 384] OrderedCollections
[215 / 384] OrderedCollections
[215 / 384]
[219 / 384] OrderedCollections
[231 / 385]
[234 / 385]
[239 / 403]
[242 / 403]
[244 / 403]
[245 / 403]
[246 / 403]
[247 / 403]
[248 / 403]
[259 / 403] Crypto
[264 / 403] EventSource
[277 / 403] Jinja
[278 / 403] Jinja
[291 / 403] Jinja
[293 / 403] Jinja-product
[297 / 404] Jinja
[299 / 404] Crypto
[299 / 404] Jinja
[299 / 404] HuggingFace
[312 / 442]
[319 / 442] Jinja
[321 / 442]
[324 / 442]
[326 / 442]
[327 / 442]
[328 / 442]
[339 / 442] HuggingFace
[346 / 443] HuggingFace
[346 / 443] Hub
[357 / 517] HuggingFace
[361 / 517]
[369 / 517]
[372 / 517]
[373 / 517]
[378 / 517]
[380 / 517]
[382 / 517]
[386 / 517]
[390 / 517]
[393 / 517]
[395 / 517]
[396 / 517]
[407 / 517]
[409 / 517]
[412 / 517]
[414 / 517]
[415 / 517]
[422 / 517] Hub
[429 / 518] Hub
[429 / 518] Tokenizers
[439 / 529] Tokenizers
[440 / 529] Tokenizers
[447 / 530] Tokenizers
[448 / 530] Hub
[451 / 530] CoreMLLLM
[457 / 553]
[458 / 553]
[460 / 553]
[462 / 553]
[463 / 553]
[474 / 553] CoreMLLLM
[505 / 558]
[507 / 560] determinism-oracle-product
[507 / 560] functiongemma-demo-product
[509 / 562]
[511 / 563]
[519 / 576] determinism-oracle-product
[525 / 576] video-test-product
[530 / 576] embeddinggemma-demo-product
[535 / 580] coreml-llm-smoke-product
[537 / 580] coreml-llm-smoke-product
[540 / 580] embeddinggemma-demo-product
[542 / 580] determinism-oracle-product
[543 / 580] coreml-llm-smoke-product
[543 / 580] ane-residency-gate-product
[550 / 587] accept-rate-bench-product
[552 / 587] CoreMLLLM
[562 / 587] ane-residency-gate-product
[565 / 587] CoreMLLLM-product
[568 / 587] functiongemma-demo-product
[577 / 587] embeddinggemma-demo-product
[585 / 587] accept-rate-bench-product
Build complete! (28.92 sec)
Fetching https://github.com/huggingface/swift-transformers
[1/7001] Fetching swift-transformers
Fetched https://github.com/huggingface/swift-transformers (1.75s)
Computing version for https://github.com/huggingface/swift-transformers
Computed https://github.com/huggingface/swift-transformers at 1.3.4 (2.37s)
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-crypto.git
Fetching https://github.com/ibireme/yyjson.git
Fetching https://github.com/huggingface/swift-jinja.git
Fetching https://github.com/huggingface/swift-huggingface.git
[1/1360] Fetching swift-jinja
[2/19889] Fetching swift-jinja, swift-crypto
[876/24788] Fetching swift-jinja, swift-crypto, yyjson
[1728/52033] Fetching swift-jinja, swift-crypto, yyjson, swift-collections
[1967/54657] Fetching swift-jinja, swift-crypto, yyjson, swift-collections, swift-huggingface
Fetched https://github.com/huggingface/swift-jinja.git (1.84s)
Fetched https://github.com/huggingface/swift-huggingface.git (1.84s)
[14599/50673] Fetching swift-crypto, yyjson, swift-collections
Fetched https://github.com/apple/swift-crypto.git (2.83s)
Fetched https://github.com/ibireme/yyjson.git (2.83s)
Fetched https://github.com/apple/swift-collections.git (3.05s)
Computing version for https://github.com/ibireme/yyjson.git
Computed https://github.com/ibireme/yyjson.git at 0.12.0 (5.93s)
Computing version for https://github.com/huggingface/swift-huggingface.git
Computed https://github.com/huggingface/swift-huggingface.git at 0.10.1 (0.60s)
Fetching https://github.com/mattt/EventSource.git
[1/303] Fetching eventsource
Fetched https://github.com/mattt/EventSource.git (0.93s)
Computing version for https://github.com/huggingface/swift-jinja.git
Computed https://github.com/huggingface/swift-jinja.git at 2.5.1 (1.51s)
Computing version for https://github.com/mattt/EventSource.git
Computed https://github.com/mattt/EventSource.git at 1.5.1 (0.55s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.6.0 (0.65s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 4.5.2 (2.33s)
Fetching https://github.com/apple/swift-asn1.git
[1/1983] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git (1.08s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.2 (1.75s)
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/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/ibireme/yyjson.git
Working copy of https://github.com/ibireme/yyjson.git resolved at 0.12.0
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-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.6.0
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/huggingface/swift-huggingface.git
Working copy of https://github.com/huggingface/swift-huggingface.git resolved at 0.10.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.2
/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/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/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/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/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",
"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.