Build Information
Successful build of mlx-libraries, reference 2.29.1 (9bff95), with Swift 6.4 for macOS (Xcode) using Xcode 27.0 on 23 Sep 2026 05:25:27 UTC.
Swift 6 data race errors: 0
Build Command
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme mlx-libraries-Package -destination platform=macOS,arch=arm64Build Log
SwiftDriverJobDiscovery normal arm64 Compiling BaseConfiguration.swift, Chat.swift, Evaluate.swift (in target 'MLXLMCommon' from project 'mlx-libraries')
SwiftCompile normal arm64 Compiling\ Qwen25VL.swift /Users/admin/builder/spi-builder-workspace/Libraries/MLXVLM/Models/Qwen25VL.swift (in target 'MLXVLM' from project 'mlx-libraries')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Libraries/MLXVLM/Models/Qwen25VL.swift (in target 'MLXVLM' from project 'mlx-libraries')
cd /Users/admin/builder/spi-builder-workspace/mlx-swift-examples.xcodeproj
builtin-SwiftPerFileCompile Qwen25VL.swift
/Users/admin/builder/spi-builder-workspace/Libraries/MLXVLM/Models/Qwen25VL.swift:715:24: warning: no calls to throwing functions occur within 'try' expression [#UnnecessaryEffectMarker]
713 | }
714 | .map {
715 | return try MediaProcessing.resampleBicubic($0, to: resizedSize)
| `- warning: no calls to throwing functions occur within 'try' expression [#UnnecessaryEffectMarker]
716 | }
717 | .map {
[#UnnecessaryEffectMarker]: <https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker>
SwiftCompile normal arm64 Compiling\ Qwen3VL.swift /Users/admin/builder/spi-builder-workspace/Libraries/MLXVLM/Models/Qwen3VL.swift (in target 'MLXVLM' from project 'mlx-libraries')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Libraries/MLXVLM/Models/Qwen3VL.swift (in target 'MLXVLM' from project 'mlx-libraries')
cd /Users/admin/builder/spi-builder-workspace/mlx-swift-examples.xcodeproj
builtin-SwiftPerFileCompile Qwen3VL.swift
/Users/admin/builder/spi-builder-workspace/Libraries/MLXVLM/Models/Qwen3VL.swift:670:21: warning: variable 'intra' was never mutated; consider changing to 'let' constant [#VariableNeverMutated]
668 | blockCols = blockCols.reshaped([1, mergedW, 1, 1])
669 |
670 | var intra = MLXArray(0 ..< merge).asType(.int32)
| `- warning: variable 'intra' was never mutated; consider changing to 'let' constant [#VariableNeverMutated]
671 | let intraRow = intra.reshaped([1, 1, merge, 1])
672 | let intraCol = intra.reshaped([1, 1, 1, merge])
/Users/admin/builder/spi-builder-workspace/Libraries/MLXVLM/Models/Qwen3VL.swift:950:17: warning: variable 'emb' was never mutated; consider changing to 'let' constant [#VariableNeverMutated]
948 | freqs = applyInterleavedMRope(freqs)
949 |
950 | var emb = concatenated([freqs, freqs], axis: -1)
| `- warning: variable 'emb' was never mutated; consider changing to 'let' constant [#VariableNeverMutated]
951 | let cosValues = cos(emb).asType(dtype)
952 | let sinValues = sin(emb).asType(dtype)
/Users/admin/builder/spi-builder-workspace/Libraries/MLXVLM/Models/Qwen3VL.swift:1188:17: warning: variable 'result' was never mutated; consider changing to 'let' constant [#VariableNeverMutated]
1186 | let indexArray = MLXArray(indices.map { UInt32($0) })
1187 |
1188 | var result = hiddenStates
| `- warning: variable 'result' was never mutated; consider changing to 'let' constant [#VariableNeverMutated]
1189 | result[0..., indexArray, 0...] = result[0..., indexArray, 0...] + visualEmbeds
1190 |
/Users/admin/builder/spi-builder-workspace/Libraries/MLXVLM/Models/Qwen3VL.swift:1608:13: warning: initialization of immutable value 'inputMask' was never used; consider replacing with assignment to '_' or removing it [#NoUsage]
1606 | ) throws -> PrepareResult {
1607 | let inputIds = input.text.tokens
1608 | let inputMask = input.text.mask
| `- warning: initialization of immutable value 'inputMask' was never used; consider replacing with assignment to '_' or removing it [#NoUsage]
1609 |
1610 | var pixelValues: MLXArray?
/Users/admin/builder/spi-builder-workspace/Libraries/MLXVLM/Models/Qwen3VL.swift:1630:20: warning: value 'pixelValues' was defined but never used; consider replacing with boolean test [#NoUsage]
1628 | if !pixelParts.isEmpty {
1629 | pixelValues = concatenated(pixelParts)
1630 | if let pixelValues {
| `- warning: value 'pixelValues' was defined but never used; consider replacing with boolean test [#NoUsage]
1631 | }
1632 | }
/Users/admin/builder/spi-builder-workspace/Libraries/MLXVLM/Models/Qwen3VL.swift:1690:13: warning: initialization of immutable value 'offset' was never used; consider replacing with assignment to '_' or removing it [#NoUsage]
1688 | let typedCache = castCacheOptional(cache)
1689 |
1690 | let offset = cache?.first?.offset ?? 0
| `- warning: initialization of immutable value 'offset' was never used; consider replacing with assignment to '_' or removing it [#NoUsage]
1691 |
1692 | let result = languageModel(
[#NoUsage]: <https://docs.swift.org/compiler/documentation/diagnostics/no-usage>
[#VariableNeverMutated]: <https://docs.swift.org/compiler/documentation/diagnostics/variable-never-mutated>
SwiftCompile normal arm64 Compiling\ QwenVL.swift /Users/admin/builder/spi-builder-workspace/Libraries/MLXVLM/Models/QwenVL.swift (in target 'MLXVLM' from project 'mlx-libraries')
/Users/admin/builder/spi-builder-workspace/Libraries/MLXVLM/Models/QwenVL.swift:180:33: warning: no calls to throwing functions occur within 'try' expression [#UnnecessaryEffectMarker]
178 | ) throws -> [Int] {
179 | // Replace single padding token with correct number for each image or video frame
180 | let placeholderTokens = try tokenizer.encode(
| `- warning: no calls to throwing functions occur within 'try' expression [#UnnecessaryEffectMarker]
181 | text: "<|vision_start|>\(paddingToken)<|vision_end|>")
182 | let placeholderRanges = promptTokens.ranges(of: placeholderTokens)
/Users/admin/builder/spi-builder-workspace/Libraries/MLXVLM/Models/QwenVL.swift:190:20: warning: no calls to throwing functions occur within 'try' expression [#UnnecessaryEffectMarker]
188 | let replacementSequences = try frames.map { frame in
189 | let paddingCount = frame.product / mergeLength
190 | return try tokenizer.encode(
| `- warning: no calls to throwing functions occur within 'try' expression [#UnnecessaryEffectMarker]
191 | text:
192 | "<|vision_start|>\(Array(repeating: paddingToken, count: paddingCount).joined())<|vision_end|>"
[#UnnecessaryEffectMarker]: <https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker>
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Libraries/MLXVLM/Models/QwenVL.swift (in target 'MLXVLM' from project 'mlx-libraries')
cd /Users/admin/builder/spi-builder-workspace/mlx-swift-examples.xcodeproj
builtin-SwiftPerFileCompile QwenVL.swift
SwiftCompile normal arm64 Compiling\ Idefics3.swift /Users/admin/builder/spi-builder-workspace/Libraries/MLXVLM/Models/Idefics3.swift (in target 'MLXVLM' from project 'mlx-libraries')
/Users/admin/builder/spi-builder-workspace/Libraries/MLXVLM/Models/Idefics3.swift:851:17: warning: initialization of immutable value 'count' was never used; consider replacing with assignment to '_' or removing it [#NoUsage]
849 | }
850 |
851 | let count = config.imageSequenceLength ?? 1
| `- warning: initialization of immutable value 'count' was never used; consider replacing with assignment to '_' or removing it [#NoUsage]
852 |
853 | // Encode only the text part of the prompt, without <image>
/Users/admin/builder/spi-builder-workspace/Libraries/MLXVLM/Models/Idefics3.swift:841:26: warning: no calls to throwing functions occur within 'try' expression [#UnnecessaryEffectMarker]
839 | if input.images.isEmpty {
840 | // No image scenario
841 | let tokens = try tokenizer.encode(text: prompt)
| `- warning: no calls to throwing functions occur within 'try' expression [#UnnecessaryEffectMarker]
842 | let tokensArray = MLXArray(tokens).expandedDimensions(axis: 0)
843 | let mask = ones(like: tokensArray)
/Users/admin/builder/spi-builder-workspace/Libraries/MLXVLM/Models/Idefics3.swift:854:32: warning: no calls to throwing functions occur within 'try' expression [#UnnecessaryEffectMarker]
852 |
853 | // Encode only the text part of the prompt, without <image>
854 | var promptTokens = try tokenizer.encode(text: prompt)
| `- warning: no calls to throwing functions occur within 'try' expression [#UnnecessaryEffectMarker]
855 |
856 | let imageTokenIndex = promptTokens.count / 2
/Users/admin/builder/spi-builder-workspace/Libraries/MLXVLM/Models/Idefics3.swift:869:21: warning: no calls to throwing functions occur within 'try' expression [#UnnecessaryEffectMarker]
867 | )
868 | image = MediaProcessing.apply(image, processing: input.processing)
869 | image = try MediaProcessing.resampleBicubic(image, to: targetSize)
| `- warning: no calls to throwing functions occur within 'try' expression [#UnnecessaryEffectMarker]
870 | image = MediaProcessing.normalize(
871 | image,
[#NoUsage]: <https://docs.swift.org/compiler/documentation/diagnostics/no-usage>
[#UnnecessaryEffectMarker]: <https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker>
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Libraries/MLXVLM/Models/Idefics3.swift (in target 'MLXVLM' from project 'mlx-libraries')
cd /Users/admin/builder/spi-builder-workspace/mlx-swift-examples.xcodeproj
builtin-SwiftPerFileCompile Idefics3.swift
SwiftCompile normal arm64 Compiling\ Qwen2VL.swift /Users/admin/builder/spi-builder-workspace/Libraries/MLXVLM/Models/Qwen2VL.swift (in target 'MLXVLM' from project 'mlx-libraries')
/Users/admin/builder/spi-builder-workspace/Libraries/MLXVLM/Models/Qwen2VL.swift:475:17: warning: initialization of immutable value 'batchSize' was never used; consider replacing with assignment to '_' or removing it [#NoUsage]
473 | let rotaryPositionEmbedding = rotaryPositionEmbedding(frames)
474 |
475 | let batchSize = frames.count
| `- warning: initialization of immutable value 'batchSize' was never used; consider replacing with assignment to '_' or removing it [#NoUsage]
476 |
477 | for block in blocks {
/Users/admin/builder/spi-builder-workspace/Libraries/MLXVLM/Models/Qwen2VL.swift:562:31: warning: no calls to throwing functions occur within 'try' expression [#UnnecessaryEffectMarker]
560 | let resizedSize = CGSize(width: resizedWidth, height: resizedHeight)
561 |
562 | let processedImages = try images.map { image in
| `- warning: no calls to throwing functions occur within 'try' expression [#UnnecessaryEffectMarker]
563 | preprocess(image: image, resizedSize: resizedSize).asMLXArray()
564 | }
[#NoUsage]: <https://docs.swift.org/compiler/documentation/diagnostics/no-usage>
[#UnnecessaryEffectMarker]: <https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker>
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Libraries/MLXVLM/Models/Qwen2VL.swift (in target 'MLXVLM' from project 'mlx-libraries')
cd /Users/admin/builder/spi-builder-workspace/mlx-swift-examples.xcodeproj
builtin-SwiftPerFileCompile Qwen2VL.swift
SwiftCompile normal arm64 Compiling\ MediaProcessing.swift,\ Gemma3.swift /Users/admin/builder/spi-builder-workspace/Libraries/MLXVLM/MediaProcessing.swift /Users/admin/builder/spi-builder-workspace/Libraries/MLXVLM/Models/Gemma3.swift (in target 'MLXVLM' from project 'mlx-libraries')
/Users/admin/builder/spi-builder-workspace/Libraries/MLXVLM/MediaProcessing.swift:287:13: warning: initialization of immutable value 'secondsPerSample' was never used; consider replacing with assignment to '_' or removing it [#NoUsage]
285 | let durationInSeconds = duration.seconds
286 | let samplesPerSecond = Double(samplesPerSecond)
287 | let secondsPerSample = 1.0 / samplesPerSecond
| `- warning: initialization of immutable value 'secondsPerSample' was never used; consider replacing with assignment to '_' or removing it [#NoUsage]
288 | let totalFramesToSample = durationInSeconds * samplesPerSecond
289 | let durationTimeValue = duration.value
/Users/admin/builder/spi-builder-workspace/Libraries/MLXVLM/MediaProcessing.swift:302:46: warning: immutable value 'requested' was never used; consider replacing with '_' or removing it [#NoUsage]
300 | for await result in await generator.images(for: sampledTimes) {
301 | switch result {
302 | case .success(requestedTime: let requested, let image, actualTime: let actual):
| `- warning: immutable value 'requested' was never used; consider replacing with '_' or removing it [#NoUsage]
303 | let ciImage = CIImage(
304 | cgImage: image, options: [.colorSpace: CGColorSpace(name: CGColorSpace.sRGB)!])
/Users/admin/builder/spi-builder-workspace/Libraries/MLXVLM/MediaProcessing.swift:302:84: warning: immutable value 'actual' was never used; consider replacing with '_' or removing it [#NoUsage]
300 | for await result in await generator.images(for: sampledTimes) {
301 | switch result {
302 | case .success(requestedTime: let requested, let image, actualTime: let actual):
| `- warning: immutable value 'actual' was never used; consider replacing with '_' or removing it [#NoUsage]
303 | let ciImage = CIImage(
304 | cgImage: image, options: [.colorSpace: CGColorSpace(name: CGColorSpace.sRGB)!])
/Users/admin/builder/spi-builder-workspace/Libraries/MLXVLM/MediaProcessing.swift:306:46: warning: immutable value 'requested' was never used; consider replacing with '_' or removing it [#NoUsage]
304 | cgImage: image, options: [.colorSpace: CGColorSpace(name: CGColorSpace.sRGB)!])
305 | ciImages.append(ciImage)
306 | case .failure(requestedTime: let requested, let error):
| `- warning: immutable value 'requested' was never used; consider replacing with '_' or removing it [#NoUsage]
307 | break
308 | }
/Users/admin/builder/spi-builder-workspace/Libraries/MLXVLM/MediaProcessing.swift:306:61: warning: immutable value 'error' was never used; consider replacing with '_' or removing it [#NoUsage]
304 | cgImage: image, options: [.colorSpace: CGColorSpace(name: CGColorSpace.sRGB)!])
305 | ciImages.append(ciImage)
306 | case .failure(requestedTime: let requested, let error):
| `- warning: immutable value 'error' was never used; consider replacing with '_' or removing it [#NoUsage]
307 | break
308 | }
/Users/admin/builder/spi-builder-workspace/Libraries/MLXVLM/MediaProcessing.swift:300:29: warning: no 'async' operations occur within 'await' expression [#UnnecessaryEffectMarker]
298 | // Collect the frames
299 | var ciImages: [CIImage] = []
300 | for await result in await generator.images(for: sampledTimes) {
| `- warning: no 'async' operations occur within 'await' expression [#UnnecessaryEffectMarker]
301 | switch result {
302 | case .success(requestedTime: let requested, let image, actualTime: let actual):
/Users/admin/builder/spi-builder-workspace/Libraries/MLXVLM/MediaProcessing.swift:341:13: warning: variable 'desiredFrames' was never mutated; consider changing to 'let' constant [#VariableNeverMutated]
339 | // Note: the round was not present in `asCIImageSequence`, so we may now be passing 1 more frame to Qwen depending on video duration.
340 | let estimatedFrames = Int(round(fps * duration.seconds))
341 | var desiredFrames = min(estimatedFrames, maxFrames)
| `- warning: variable 'desiredFrames' was never mutated; consider changing to 'let' constant [#VariableNeverMutated]
342 | let finalFrameCount = max(desiredFrames, 1)
343 |
/Users/admin/builder/spi-builder-workspace/Libraries/MLXVLM/MediaProcessing.swift:356:13: warning: variable 'frames' was never used; consider replacing with '_' or removing it [#NoUsage]
354 | var timestamps: [CMTime] = []
355 |
356 | var frames: [VideoFrame] = []
| `- warning: variable 'frames' was never used; consider replacing with '_' or removing it [#NoUsage]
357 |
358 | for await result in await generator.images(for: sampledTimes) {
/Users/admin/builder/spi-builder-workspace/Libraries/MLXVLM/MediaProcessing.swift:360:46: warning: immutable value 'requested' was never used; consider replacing with '_' or removing it [#NoUsage]
358 | for await result in await generator.images(for: sampledTimes) {
359 | switch result {
360 | case .success(requestedTime: let requested, let image, actualTime: let actual):
| `- warning: immutable value 'requested' was never used; consider replacing with '_' or removing it [#NoUsage]
361 | let ciImage = CIImage(
362 | cgImage: image, options: [.colorSpace: CGColorSpace(name: CGColorSpace.sRGB)!])
/Users/admin/builder/spi-builder-workspace/Libraries/MLXVLM/MediaProcessing.swift:366:46: warning: immutable value 'requested' was never used; consider replacing with '_' or removing it [#NoUsage]
364 | ciImages.append(frame.frame)
365 | timestamps.append(frame.timeStamp)
366 | case .failure(requestedTime: let requested, let error):
| `- warning: immutable value 'requested' was never used; consider replacing with '_' or removing it [#NoUsage]
367 | break
368 | }
/Users/admin/builder/spi-builder-workspace/Libraries/MLXVLM/MediaProcessing.swift:366:61: warning: immutable value 'error' was never used; consider replacing with '_' or removing it [#NoUsage]
364 | ciImages.append(frame.frame)
365 | timestamps.append(frame.timeStamp)
366 | case .failure(requestedTime: let requested, let error):
| `- warning: immutable value 'error' was never used; consider replacing with '_' or removing it [#NoUsage]
367 | break
368 | }
/Users/admin/builder/spi-builder-workspace/Libraries/MLXVLM/MediaProcessing.swift:358:29: warning: no 'async' operations occur within 'await' expression [#UnnecessaryEffectMarker]
356 | var frames: [VideoFrame] = []
357 |
358 | for await result in await generator.images(for: sampledTimes) {
| `- warning: no 'async' operations occur within 'await' expression [#UnnecessaryEffectMarker]
359 | switch result {
360 | case .success(requestedTime: let requested, let image, actualTime: let actual):
/Users/admin/builder/spi-builder-workspace/Libraries/MLXVLM/Models/Gemma3.swift:966:13: warning: initialization of immutable value 'batchSize' was never used; consider replacing with assignment to '_' or removing it [#NoUsage]
964 | ) -> (MLXArray, MLXArray?) {
965 | let embedDim = inputsEmbeds.dim(2)
966 | let batchSize = inputIds.dim(0)
| `- warning: initialization of immutable value 'batchSize' was never used; consider replacing with assignment to '_' or removing it [#NoUsage]
967 | let sequenceLength = inputIds.dim(1)
968 |
/Users/admin/builder/spi-builder-workspace/Libraries/MLXVLM/Models/Gemma3.swift:967:13: warning: initialization of immutable value 'sequenceLength' was never used; consider replacing with assignment to '_' or removing it [#NoUsage]
965 | let embedDim = inputsEmbeds.dim(2)
966 | let batchSize = inputIds.dim(0)
967 | let sequenceLength = inputIds.dim(1)
| `- warning: initialization of immutable value 'sequenceLength' was never used; consider replacing with assignment to '_' or removing it [#NoUsage]
968 |
969 | // Scale image features to match text embedding magnitude
/Users/admin/builder/spi-builder-workspace/Libraries/MLXVLM/Models/Gemma3.swift:979:13: warning: initialization of immutable value 'textMask' was never used; consider replacing with assignment to '_' or removing it [#NoUsage]
977 |
978 | // Create masks for different token types
979 | let textMask = MLX.logicalAnd(
| `- warning: initialization of immutable value 'textMask' was never used; consider replacing with assignment to '_' or removing it [#NoUsage]
980 | MLX.notEqual(inputIds, MLXArray(imageTokenId)),
981 | MLX.notEqual(inputIds, MLXArray(padTokenId))
/Users/admin/builder/spi-builder-workspace/Libraries/MLXVLM/Models/Gemma3.swift:1019:56: warning: conditional cast from 'any KVCache' to 'any KVCache' always succeeds
1017 | guard let imagePixels = input.image?.pixels else {
1018 | // Text-only input
1019 | let convertedCache = cache.compactMap { $0 as? KVCache }
| `- warning: conditional cast from 'any KVCache' to 'any KVCache' always succeeds
1020 | let result = languageModel(
1021 | input.text.tokens, cache: convertedCache, inputEmbedding: nil, mask: nil)
/Users/admin/builder/spi-builder-workspace/Libraries/MLXVLM/Models/Gemma3.swift:1031:52: warning: conditional cast from 'any KVCache' to 'any KVCache' always succeeds
1029 | )
1030 |
1031 | let convertedCache = cache.compactMap { $0 as? KVCache }
| `- warning: conditional cast from 'any KVCache' to 'any KVCache' always succeeds
1032 | // Use causal masking for text generation
1033 | let maskMode: MLXFast.ScaledDotProductAttentionMaskMode = .causal
/Users/admin/builder/spi-builder-workspace/Libraries/MLXVLM/Models/Gemma3.swift:1050:13: warning: initialization of immutable value 'lmHeadKeys' was never used; consider replacing with assignment to '_' or removing it [#NoUsage]
1048 |
1049 | public func sanitize(weights: [String: MLXArray]) -> [String: MLXArray] {
1050 | let lmHeadKeys = weights.keys.filter { $0.contains("lm_head") }
| `- warning: initialization of immutable value 'lmHeadKeys' was never used; consider replacing with assignment to '_' or removing it [#NoUsage]
1051 |
1052 | // Also check attention layer structures
/Users/admin/builder/spi-builder-workspace/Libraries/MLXVLM/Models/Gemma3.swift:1053:13: warning: initialization of immutable value 'attnKeys' was never used; consider replacing with assignment to '_' or removing it [#NoUsage]
1051 |
1052 | // Also check attention layer structures
1053 | let attnKeys = weights.keys.filter {
| `- warning: initialization of immutable value 'attnKeys' was never used; consider replacing with assignment to '_' or removing it [#NoUsage]
1054 | $0.contains("self_attn")
1055 | && ($0.contains("q_proj") || $0.contains("k_proj") || $0.contains("v_proj")
/Users/admin/builder/spi-builder-workspace/Libraries/MLXVLM/Models/Gemma3.swift:1092:32: warning: no calls to throwing functions occur within 'try' expression [#UnnecessaryEffectMarker]
1090 | let processedImage = MediaProcessing.apply(image, processing: userProcessing)
1091 | let srgbImage = MediaProcessing.inSRGBToneCurveSpace(processedImage)
1092 | let resizedImage = try MediaProcessing.resampleBicubic(srgbImage, to: targetSize)
| `- warning: no calls to throwing functions occur within 'try' expression [#UnnecessaryEffectMarker]
1093 | let normalizedImage = MediaProcessing.normalize(
1094 | resizedImage, mean: config.imageMeanTuple, std: config.imageStdTuple)
[#NoUsage]: <https://docs.swift.org/compiler/documentation/diagnostics/no-usage>
[#UnnecessaryEffectMarker]: <https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker>
[#VariableNeverMutated]: <https://docs.swift.org/compiler/documentation/diagnostics/variable-never-mutated>
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Libraries/MLXVLM/MediaProcessing.swift (in target 'MLXVLM' from project 'mlx-libraries')
cd /Users/admin/builder/spi-builder-workspace/mlx-swift-examples.xcodeproj
builtin-SwiftPerFileCompile MediaProcessing.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Libraries/MLXVLM/Models/Gemma3.swift (in target 'MLXVLM' from project 'mlx-libraries')
cd /Users/admin/builder/spi-builder-workspace/mlx-swift-examples.xcodeproj
builtin-SwiftPerFileCompile Gemma3.swift
SwiftEmitModule normal arm64 Emitting\ module\ for\ MLXVLM (in target 'MLXVLM' from project 'mlx-libraries')
/Users/admin/builder/spi-builder-workspace/Libraries/MLXVLM/VLMModelFactory.swift:219:14: warning: non-final class 'VLMModelFactory' cannot conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
217 | /// configuration: VLMRegistry.paligemma3bMix4488bit)
218 | /// ```
219 | public class VLMModelFactory: ModelFactory {
| `- warning: non-final class 'VLMModelFactory' cannot conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
220 |
221 | public init(
SwiftCompile normal arm64 (in target 'MLXVLM' from project 'mlx-libraries')
cd /Users/admin/builder/spi-builder-workspace/mlx-swift-examples.xcodeproj
SwiftEmitModule normal arm64 Emitting\ module\ for\ MLXEmbedders (in target 'MLXEmbedders' from project 'mlx-libraries')
SwiftCompile normal arm64 (in target 'MLXEmbedders' from project 'mlx-libraries')
cd /Users/admin/builder/spi-builder-workspace/mlx-swift-examples.xcodeproj
SwiftEmitModule normal arm64 Emitting\ module\ for\ MLXLLM (in target 'MLXLLM' from project 'mlx-libraries')
/Users/admin/builder/spi-builder-workspace/Libraries/MLXLLM/Models/DeepseekV3.swift:6:8: warning: file 'DeepseekV3.swift' is part of module 'MLXLLM'; ignoring import [#ModuleSelfImport]
4 | import MLX
5 | import MLXFast
6 | import MLXLLM
| `- warning: file 'DeepseekV3.swift' is part of module 'MLXLLM'; ignoring import [#ModuleSelfImport]
7 | import MLXLMCommon
8 | import MLXNN
/Users/admin/builder/spi-builder-workspace/Libraries/MLXLLM/Models/Gemma3Text.swift:13:8: warning: file 'Gemma3Text.swift' is part of module 'MLXLLM'; ignoring import [#ModuleSelfImport]
11 | import MLX
12 | import MLXFast
13 | import MLXLLM
| `- warning: file 'Gemma3Text.swift' is part of module 'MLXLLM'; ignoring import [#ModuleSelfImport]
14 | import MLXLMCommon
15 | import MLXNN
/Users/admin/builder/spi-builder-workspace/Libraries/MLXLLM/LLMModelFactory.swift:451:14: warning: non-final class 'LLMModelFactory' cannot conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
449 | /// configuration: LLMRegistry.llama3_8B_4bit)
450 | /// ```
451 | public class LLMModelFactory: ModelFactory {
| `- warning: non-final class 'LLMModelFactory' cannot conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
452 |
453 | public init(typeRegistry: ModelTypeRegistry, modelRegistry: AbstractModelRegistry) {
[#ModuleSelfImport]: <https://docs.swift.org/compiler/documentation/diagnostics/module-self-import>
SwiftCompile normal arm64 (in target 'MLXLLM' from project 'mlx-libraries')
cd /Users/admin/builder/spi-builder-workspace/mlx-swift-examples.xcodeproj
SwiftDriverJobDiscovery normal arm64 Compiling Encodable+toolResult.swift, KVCache.swift, LanguageModel.swift (in target 'MLXLMCommon' from project 'mlx-libraries')
SwiftCompile normal arm64 Compiling\ VLMModelFactory.swift /Users/admin/builder/spi-builder-workspace/Libraries/MLXVLM/VLMModelFactory.swift (in target 'MLXVLM' from project 'mlx-libraries')
/Users/admin/builder/spi-builder-workspace/Libraries/MLXVLM/VLMModelFactory.swift:219:14: warning: non-final class 'VLMModelFactory' cannot conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
217 | /// configuration: VLMRegistry.paligemma3bMix4488bit)
218 | /// ```
219 | public class VLMModelFactory: ModelFactory {
| `- warning: non-final class 'VLMModelFactory' cannot conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
220 |
221 | public init(
/Users/admin/builder/spi-builder-workspace/Libraries/MLXVLM/VLMModelFactory.swift:85:26: warning: converting non-Sendable function value to '@Sendable (URL) throws -> any LanguageModel' may introduce data races
83 | private static func all() -> [String: @Sendable (URL) throws -> any LanguageModel] {
84 | [
85 | "paligemma": create(PaliGemmaConfiguration.self, PaliGemma.init),
| `- warning: converting non-Sendable function value to '@Sendable (URL) throws -> any LanguageModel' may introduce data races
86 | "qwen2_vl": create(Qwen2VLConfiguration.self, Qwen2VL.init),
87 | "qwen2_5_vl": create(Qwen25VLConfiguration.self, Qwen25VL.init),
/Users/admin/builder/spi-builder-workspace/Libraries/MLXVLM/VLMModelFactory.swift:86:25: warning: converting non-Sendable function value to '@Sendable (URL) throws -> any LanguageModel' may introduce data races
84 | [
85 | "paligemma": create(PaliGemmaConfiguration.self, PaliGemma.init),
86 | "qwen2_vl": create(Qwen2VLConfiguration.self, Qwen2VL.init),
| `- warning: converting non-Sendable function value to '@Sendable (URL) throws -> any LanguageModel' may introduce data races
87 | "qwen2_5_vl": create(Qwen25VLConfiguration.self, Qwen25VL.init),
88 | "qwen3_vl": create(Qwen3VLConfiguration.self, Qwen3VL.init),
/Users/admin/builder/spi-builder-workspace/Libraries/MLXVLM/VLMModelFactory.swift:87:27: warning: converting non-Sendable function value to '@Sendable (URL) throws -> any LanguageModel' may introduce data races
85 | "paligemma": create(PaliGemmaConfiguration.self, PaliGemma.init),
86 | "qwen2_vl": create(Qwen2VLConfiguration.self, Qwen2VL.init),
87 | "qwen2_5_vl": create(Qwen25VLConfiguration.self, Qwen25VL.init),
| `- warning: converting non-Sendable function value to '@Sendable (URL) throws -> any LanguageModel' may introduce data races
88 | "qwen3_vl": create(Qwen3VLConfiguration.self, Qwen3VL.init),
89 | "idefics3": create(Idefics3Configuration.self, Idefics3.init),
/Users/admin/builder/spi-builder-workspace/Libraries/MLXVLM/VLMModelFactory.swift:88:25: warning: converting non-Sendable function value to '@Sendable (URL) throws -> any LanguageModel' may introduce data races
86 | "qwen2_vl": create(Qwen2VLConfiguration.self, Qwen2VL.init),
87 | "qwen2_5_vl": create(Qwen25VLConfiguration.self, Qwen25VL.init),
88 | "qwen3_vl": create(Qwen3VLConfiguration.self, Qwen3VL.init),
| `- warning: converting non-Sendable function value to '@Sendable (URL) throws -> any LanguageModel' may introduce data races
89 | "idefics3": create(Idefics3Configuration.self, Idefics3.init),
90 | "gemma3": create(Gemma3Configuration.self, Gemma3.init),
/Users/admin/builder/spi-builder-workspace/Libraries/MLXVLM/VLMModelFactory.swift:89:25: warning: converting non-Sendable function value to '@Sendable (URL) throws -> any LanguageModel' may introduce data races
87 | "qwen2_5_vl": create(Qwen25VLConfiguration.self, Qwen25VL.init),
88 | "qwen3_vl": create(Qwen3VLConfiguration.self, Qwen3VL.init),
89 | "idefics3": create(Idefics3Configuration.self, Idefics3.init),
| `- warning: converting non-Sendable function value to '@Sendable (URL) throws -> any LanguageModel' may introduce data races
90 | "gemma3": create(Gemma3Configuration.self, Gemma3.init),
91 | "smolvlm": create(SmolVLM2Configuration.self, SmolVLM2.init),
/Users/admin/builder/spi-builder-workspace/Libraries/MLXVLM/VLMModelFactory.swift:90:23: warning: converting non-Sendable function value to '@Sendable (URL) throws -> any LanguageModel' may introduce data races
88 | "qwen3_vl": create(Qwen3VLConfiguration.self, Qwen3VL.init),
89 | "idefics3": create(Idefics3Configuration.self, Idefics3.init),
90 | "gemma3": create(Gemma3Configuration.self, Gemma3.init),
| `- warning: converting non-Sendable function value to '@Sendable (URL) throws -> any LanguageModel' may introduce data races
91 | "smolvlm": create(SmolVLM2Configuration.self, SmolVLM2.init),
92 | ]
/Users/admin/builder/spi-builder-workspace/Libraries/MLXVLM/VLMModelFactory.swift:91:24: warning: converting non-Sendable function value to '@Sendable (URL) throws -> any LanguageModel' may introduce data races
89 | "idefics3": create(Idefics3Configuration.self, Idefics3.init),
90 | "gemma3": create(Gemma3Configuration.self, Gemma3.init),
91 | "smolvlm": create(SmolVLM2Configuration.self, SmolVLM2.init),
| `- warning: converting non-Sendable function value to '@Sendable (URL) throws -> any LanguageModel' may introduce data races
92 | ]
93 | }
/Users/admin/builder/spi-builder-workspace/Libraries/MLXVLM/VLMModelFactory.swift:107:35: warning: converting non-Sendable function value to '@Sendable (URL, any Tokenizer) throws -> any UserInputProcessor' may introduce data races
105 | {
106 | [
107 | "PaliGemmaProcessor": create(
| `- warning: converting non-Sendable function value to '@Sendable (URL, any Tokenizer) throws -> any UserInputProcessor' may introduce data races
108 | PaliGemmaProcessorConfiguration.self, PaliGemmaProcessor.init),
109 | "Qwen2VLProcessor": create(
/Users/admin/builder/spi-builder-workspace/Libraries/MLXVLM/VLMModelFactory.swift:109:33: warning: converting non-Sendable function value to '@Sendable (URL, any Tokenizer) throws -> any UserInputProcessor' may introduce data races
107 | "PaliGemmaProcessor": create(
108 | PaliGemmaProcessorConfiguration.self, PaliGemmaProcessor.init),
109 | "Qwen2VLProcessor": create(
| `- warning: converting non-Sendable function value to '@Sendable (URL, any Tokenizer) throws -> any UserInputProcessor' may introduce data races
110 | Qwen2VLProcessorConfiguration.self, Qwen2VLProcessor.init),
111 | "Qwen2_5_VLProcessor": create(
/Users/admin/builder/spi-builder-workspace/Libraries/MLXVLM/VLMModelFactory.swift:111:36: warning: converting non-Sendable function value to '@Sendable (URL, any Tokenizer) throws -> any UserInputProcessor' may introduce data races
109 | "Qwen2VLProcessor": create(
110 | Qwen2VLProcessorConfiguration.self, Qwen2VLProcessor.init),
111 | "Qwen2_5_VLProcessor": create(
| `- warning: converting non-Sendable function value to '@Sendable (URL, any Tokenizer) throws -> any UserInputProcessor' may introduce data races
112 | Qwen25VLProcessorConfiguration.self, Qwen25VLProcessor.init),
113 | "Qwen3VLProcessor": create(
/Users/admin/builder/spi-builder-workspace/Libraries/MLXVLM/VLMModelFactory.swift:113:33: warning: converting non-Sendable function value to '@Sendable (URL, any Tokenizer) throws -> any UserInputProcessor' may introduce data races
111 | "Qwen2_5_VLProcessor": create(
112 | Qwen25VLProcessorConfiguration.self, Qwen25VLProcessor.init),
113 | "Qwen3VLProcessor": create(
| `- warning: converting non-Sendable function value to '@Sendable (URL, any Tokenizer) throws -> any UserInputProcessor' may introduce data races
114 | Qwen3VLProcessorConfiguration.self, Qwen3VLProcessor.init),
115 | "Idefics3Processor": create(
/Users/admin/builder/spi-builder-workspace/Libraries/MLXVLM/VLMModelFactory.swift:115:34: warning: converting non-Sendable function value to '@Sendable (URL, any Tokenizer) throws -> any UserInputProcessor' may introduce data races
113 | "Qwen3VLProcessor": create(
114 | Qwen3VLProcessorConfiguration.self, Qwen3VLProcessor.init),
115 | "Idefics3Processor": create(
| `- warning: converting non-Sendable function value to '@Sendable (URL, any Tokenizer) throws -> any UserInputProcessor' may introduce data races
116 | Idefics3ProcessorConfiguration.self, Idefics3Processor.init),
117 | "Gemma3Processor": create(
/Users/admin/builder/spi-builder-workspace/Libraries/MLXVLM/VLMModelFactory.swift:117:32: warning: converting non-Sendable function value to '@Sendable (URL, any Tokenizer) throws -> any UserInputProcessor' may introduce data races
115 | "Idefics3Processor": create(
116 | Idefics3ProcessorConfiguration.self, Idefics3Processor.init),
117 | "Gemma3Processor": create(
| `- warning: converting non-Sendable function value to '@Sendable (URL, any Tokenizer) throws -> any UserInputProcessor' may introduce data races
118 | Gemma3ProcessorConfiguration.self, Gemma3Processor.init),
119 | "SmolVLMProcessor": create(
/Users/admin/builder/spi-builder-workspace/Libraries/MLXVLM/VLMModelFactory.swift:119:33: warning: converting non-Sendable function value to '@Sendable (URL, any Tokenizer) throws -> any UserInputProcessor' may introduce data races
117 | "Gemma3Processor": create(
118 | Gemma3ProcessorConfiguration.self, Gemma3Processor.init),
119 | "SmolVLMProcessor": create(
| `- warning: converting non-Sendable function value to '@Sendable (URL, any Tokenizer) throws -> any UserInputProcessor' may introduce data races
120 | SmolVLMProcessorConfiguration.self, SmolVLMProcessor.init),
121 | ]
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Libraries/MLXVLM/VLMModelFactory.swift (in target 'MLXVLM' from project 'mlx-libraries')
cd /Users/admin/builder/spi-builder-workspace/mlx-swift-examples.xcodeproj
builtin-SwiftPerFileCompile VLMModelFactory.swift
SwiftDriverJobDiscovery normal arm64 Compiling ToolParameter.swift, Value.swift, UserInput.swift (in target 'MLXLMCommon' from project 'mlx-libraries')
SwiftCompile normal arm64 Compiling\ VLMModel.swift /Users/admin/builder/spi-builder-workspace/Libraries/MLXVLM/VLMModel.swift (in target 'MLXVLM' from project 'mlx-libraries')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Libraries/MLXVLM/VLMModel.swift (in target 'MLXVLM' from project 'mlx-libraries')
cd /Users/admin/builder/spi-builder-workspace/mlx-swift-examples.xcodeproj
builtin-SwiftPerFileCompile VLMModel.swift
SwiftDriverJobDiscovery normal arm64 Emitting module for MLXEmbedders (in target 'MLXEmbedders' from project 'mlx-libraries')
SwiftDriver\ Compilation\ Requirements MLXEmbedders normal arm64 com.apple.xcode.tools.swift.compiler (in target 'MLXEmbedders' from project 'mlx-libraries')
cd /Users/admin/builder/spi-builder-workspace/mlx-swift-examples.xcodeproj
builtin-Swift-Compilation-Requirements -- /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -parse-as-library -module-name MLXEmbedders -Onone @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/mlx-libraries.build/Debug/MLXEmbedders-t.build/Objects-normal/arm64/MLXEmbedders.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -DSWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -Xcc -fmodule-map-file\=/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-numerics/Sources/_NumericsShims/include/module.modulemap -Xcc -fmodule-map-file\=/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/mlx-swift/Source/Cmlx/include/module.modulemap -DXcode -plugin-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk -target arm64-apple-macos14.0 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -profile-coverage-mapping -profile-generate -enable-testing -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -swift-version 5 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/PackageFrameworks -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/macosx27.0-26A425-e829b21a6f8c9b70876ba0858053c0446a22442a12e9d48fe1a705f55a1adfc4.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/mlx-libraries.build/Debug/MLXEmbedders-t.build/Objects-normal/arm64/MLXEmbedders-OutputFileMap.json -save-temps -no-color-diagnostics -explicit-module-build -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -clang-scanner-module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -sdk-module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules -emit-dependencies -emit-module -emit-module-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/mlx-libraries.build/Debug/MLXEmbedders-t.build/Objects-normal/arm64/MLXEmbedders.swiftmodule -serialize-diagnostics -dependency-scan-serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/mlx-libraries.build/Debug/MLXEmbedders-t.build/Objects-normal/arm64/MLXEmbedders-dependency-scan.dia -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -package-name spi_builder_workspace -emit-const-values -const-gather-protocols-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/mlx-libraries.build/Debug/MLXEmbedders-t.build/Objects-normal/arm64/MLXEmbedders_const_extract_protocols.json -Xcc -I/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-numerics/Sources/_NumericsShims/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/mlx-swift/Source/Cmlx/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/mlx-libraries.build/Debug/MLXEmbedders-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/mlx-libraries.build/Debug/MLXEmbedders-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/mlx-libraries.build/Debug/MLXEmbedders-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -emit-objc-header -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/mlx-libraries.build/Debug/MLXEmbedders-t.build/Objects-normal/arm64/MLXEmbedders-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/mlx-swift-examples.xcodeproj -experimental-emit-module-separately -disable-cmo
SwiftDriverJobDiscovery normal arm64 Compiling QwenVL.swift (in target 'MLXVLM' from project 'mlx-libraries')
SwiftCompile normal arm64 Compiling\ Paligemma.swift /Users/admin/builder/spi-builder-workspace/Libraries/MLXVLM/Models/Paligemma.swift (in target 'MLXVLM' from project 'mlx-libraries')
/Users/admin/builder/spi-builder-workspace/Libraries/MLXVLM/Models/Paligemma.swift:459:17: warning: no calls to throwing functions occur within 'try' expression [#UnnecessaryEffectMarker]
457 | image = MediaProcessing.apply(image, processing: processing)
458 |
459 | image = try MediaProcessing.resampleBicubic(image, to: config.size.cgSize)
| `- warning: no calls to throwing functions occur within 'try' expression [#UnnecessaryEffectMarker]
460 | image = MediaProcessing.normalize(
461 | image, mean: config.imageMeanTuple, std: config.imageStdTuple)
/Users/admin/builder/spi-builder-workspace/Libraries/MLXVLM/Models/Paligemma.swift:482:28: warning: no calls to throwing functions occur within 'try' expression [#UnnecessaryEffectMarker]
480 | + "\n"
481 |
482 | let promptTokens = try tokenizer.encode(text: prompt)
| `- warning: no calls to throwing functions occur within 'try' expression [#UnnecessaryEffectMarker]
483 | let promptArray = MLXArray(promptTokens).expandedDimensions(axis: 0)
484 | let mask = ones(like: promptArray).asType(.int8)
/Users/admin/builder/spi-builder-workspace/Libraries/MLXVLM/Models/Paligemma.swift:571:13: warning: initialization of immutable value 'embedDimension' was never used; consider replacing with assignment to '_' or removing it [#NoUsage]
569 | attentionMask: MLXArray
570 | ) -> (MLXArray, MLXArray) {
571 | let embedDimension = imageFeatures.dim(2)
| `- warning: initialization of immutable value 'embedDimension' was never used; consider replacing with assignment to '_' or removing it [#NoUsage]
572 | let (batchSize, sequenceLength) = inputIds.shape2
573 | var scaledImageFeatures = imageFeatures / pow(Float(config.hiddenSize), 0.5)
/Users/admin/builder/spi-builder-workspace/Libraries/MLXVLM/Models/Paligemma.swift:572:14: warning: immutable value 'batchSize' was never used; consider replacing with '_' or removing it [#NoUsage]
570 | ) -> (MLXArray, MLXArray) {
571 | let embedDimension = imageFeatures.dim(2)
572 | let (batchSize, sequenceLength) = inputIds.shape2
| `- warning: immutable value 'batchSize' was never used; consider replacing with '_' or removing it [#NoUsage]
573 | var scaledImageFeatures = imageFeatures / pow(Float(config.hiddenSize), 0.5)
574 |
/Users/admin/builder/spi-builder-workspace/Libraries/MLXVLM/Models/Paligemma.swift:572:25: warning: immutable value 'sequenceLength' was never used; consider replacing with '_' or removing it [#NoUsage]
570 | ) -> (MLXArray, MLXArray) {
571 | let embedDimension = imageFeatures.dim(2)
572 | let (batchSize, sequenceLength) = inputIds.shape2
| `- warning: immutable value 'sequenceLength' was never used; consider replacing with '_' or removing it [#NoUsage]
573 | var scaledImageFeatures = imageFeatures / pow(Float(config.hiddenSize), 0.5)
574 |
/Users/admin/builder/spi-builder-workspace/Libraries/MLXVLM/Models/Paligemma.swift:580:13: warning: variable 'textMaskExpanded' was never mutated; consider changing to 'let' constant [#VariableNeverMutated]
578 |
579 | // expand masks to match embedding dimension
580 | var textMaskExpanded = expandedDimensions(textMask, axis: -1)
| `- warning: variable 'textMaskExpanded' was never mutated; consider changing to 'let' constant [#VariableNeverMutated]
581 | var padMaskExpanded = expandedDimensions(padMask, axis: -1)
582 |
/Users/admin/builder/spi-builder-workspace/Libraries/MLXVLM/Models/Paligemma.swift:581:13: warning: variable 'padMaskExpanded' was never mutated; consider changing to 'let' constant [#VariableNeverMutated]
579 | // expand masks to match embedding dimension
580 | var textMaskExpanded = expandedDimensions(textMask, axis: -1)
581 | var padMaskExpanded = expandedDimensions(padMask, axis: -1)
| `- warning: variable 'padMaskExpanded' was never mutated; consider changing to 'let' constant [#VariableNeverMutated]
582 |
583 | // insert padding and text token embeddings
/Users/admin/builder/spi-builder-workspace/Libraries/MLXVLM/Models/Paligemma.swift:591:13: warning: variable 'imageMaskExpanded' was never mutated; consider changing to 'let' constant [#VariableNeverMutated]
589 |
590 | // insert image embeddings - the image mask is always less or equal to the sentence in length
591 | var imageMaskExpanded = expandedDimensions(imageMask, axis: -1)
| `- warning: variable 'imageMaskExpanded' was never mutated; consider changing to 'let' constant [#VariableNeverMutated]
592 | finalEmbedding = which(imageMaskExpanded, scaledImageFeatures, finalEmbedding)
593 |
[#NoUsage]: <https://docs.swift.org/compiler/documentation/diagnostics/no-usage>
[#UnnecessaryEffectMarker]: <https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker>
[#VariableNeverMutated]: <https://docs.swift.org/compiler/documentation/diagnostics/variable-never-mutated>
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Libraries/MLXVLM/Models/Paligemma.swift (in target 'MLXVLM' from project 'mlx-libraries')
cd /Users/admin/builder/spi-builder-workspace/mlx-swift-examples.xcodeproj
builtin-SwiftPerFileCompile Paligemma.swift
SwiftMergeGeneratedHeaders /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeneratedModuleMaps/MLXEmbedders-Swift.h /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/mlx-libraries.build/Debug/MLXEmbedders-t.build/Objects-normal/arm64/MLXEmbedders-Swift.h (in target 'MLXEmbedders' from project 'mlx-libraries')
cd /Users/admin/builder/spi-builder-workspace
builtin-swiftHeaderTool -arch arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/mlx-libraries.build/Debug/MLXEmbedders-t.build/Objects-normal/arm64/MLXEmbedders-Swift.h -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeneratedModuleMaps/MLXEmbedders-Swift.h
SwiftDriverJobDiscovery normal arm64 Compiling VLMModel.swift (in target 'MLXVLM' from project 'mlx-libraries')
Copy /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MLXEmbedders.swiftmodule/arm64-apple-macos.swiftmodule /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/mlx-libraries.build/Debug/MLXEmbedders-t.build/Objects-normal/arm64/MLXEmbedders.swiftmodule (in target 'MLXEmbedders' from project 'mlx-libraries')
cd /Users/admin/builder/spi-builder-workspace
builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks -rename /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/mlx-libraries.build/Debug/MLXEmbedders-t.build/Objects-normal/arm64/MLXEmbedders.swiftmodule /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MLXEmbedders.swiftmodule/arm64-apple-macos.swiftmodule
Copy /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MLXEmbedders.swiftmodule/arm64-apple-macos.swiftdoc /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/mlx-libraries.build/Debug/MLXEmbedders-t.build/Objects-normal/arm64/MLXEmbedders.swiftdoc (in target 'MLXEmbedders' from project 'mlx-libraries')
cd /Users/admin/builder/spi-builder-workspace
builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks -rename /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/mlx-libraries.build/Debug/MLXEmbedders-t.build/Objects-normal/arm64/MLXEmbedders.swiftdoc /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MLXEmbedders.swiftmodule/arm64-apple-macos.swiftdoc
Copy /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MLXEmbedders.swiftmodule/arm64-apple-macos.abi.json /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/mlx-libraries.build/Debug/MLXEmbedders-t.build/Objects-normal/arm64/MLXEmbedders.abi.json (in target 'MLXEmbedders' from project 'mlx-libraries')
cd /Users/admin/builder/spi-builder-workspace
builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks -rename /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/mlx-libraries.build/Debug/MLXEmbedders-t.build/Objects-normal/arm64/MLXEmbedders.abi.json /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MLXEmbedders.swiftmodule/arm64-apple-macos.abi.json
Copy /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MLXEmbedders.swiftmodule/Project/arm64-apple-macos.swiftsourceinfo /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/mlx-libraries.build/Debug/MLXEmbedders-t.build/Objects-normal/arm64/MLXEmbedders.swiftsourceinfo (in target 'MLXEmbedders' from project 'mlx-libraries')
cd /Users/admin/builder/spi-builder-workspace
builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks -rename /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/mlx-libraries.build/Debug/MLXEmbedders-t.build/Objects-normal/arm64/MLXEmbedders.swiftsourceinfo /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MLXEmbedders.swiftmodule/Project/arm64-apple-macos.swiftsourceinfo
SwiftCompile normal arm64 Compiling\ SmolVLM2.swift /Users/admin/builder/spi-builder-workspace/Libraries/MLXVLM/Models/SmolVLM2.swift (in target 'MLXVLM' from project 'mlx-libraries')
/Users/admin/builder/spi-builder-workspace/Libraries/MLXVLM/Models/SmolVLM2.swift:312:35: warning: 'try' must precede 'await'
310 | var video = try input.videos[0].asAVAsset()
311 |
312 | let processedFrames = await try MediaProcessing.asProcessedSequence(
| `- warning: 'try' must precede 'await'
313 | video,
314 | maxFrames: maxVideoFrames,
/Users/admin/builder/spi-builder-workspace/Libraries/MLXVLM/Models/SmolVLM2.swift:157:13: warning: variable 'targetSize' was never mutated; consider changing to 'let' constant [#VariableNeverMutated]
155 | func aspectRatioSize(for size: CGSize, longestEdge: CGFloat, multiple: CGFloat? = nil) -> CGSize
156 | {
157 | var targetSize = MediaProcessing.bestFit(
| `- warning: variable 'targetSize' was never mutated; consider changing to 'let' constant [#VariableNeverMutated]
158 | size, in: CGSize(width: longestEdge, height: longestEdge))
159 | guard let multiple = multiple else { return targetSize }
/Users/admin/builder/spi-builder-workspace/Libraries/MLXVLM/Models/SmolVLM2.swift:291:39: warning: trailing closure in this context is confusable with the body of the statement; pass as a parenthesized argument to silence this warning
289 | // Insert a default system message if the input doesn't have one
290 | func messagesWithSystem(_ messages: [Message]) -> [Message] {
291 | guard messages.filter { $0["role"] as? String == "system" }.isEmpty else {
| `- warning: trailing closure in this context is confusable with the body of the statement; pass as a parenthesized argument to silence this warning
292 | return messages
293 | }
/Users/admin/builder/spi-builder-workspace/Libraries/MLXVLM/Models/SmolVLM2.swift:305:17: warning: initialization of immutable value 'finalMessages' was never used; consider replacing with assignment to '_' or removing it [#NoUsage]
303 |
304 | // Unfortunately we don't have a "render" option in Tokenizers yet, so decoding
305 | let finalMessages = messagesWithSystem(messages)
| `- warning: initialization of immutable value 'finalMessages' was never used; consider replacing with assignment to '_' or removing it [#NoUsage]
306 | let promptTokens = try tokenizer.applyChatTemplate(
307 | messages: messagesWithSystem(messages))
/Users/admin/builder/spi-builder-workspace/Libraries/MLXVLM/Models/SmolVLM2.swift:310:17: warning: variable 'video' was never mutated; consider changing to 'let' constant [#VariableNeverMutated]
308 | let decoded = try tokenizer.decode(tokens: promptTokens, skipSpecialTokens: false)
309 |
310 | var video = try input.videos[0].asAVAsset()
| `- warning: variable 'video' was never mutated; consider changing to 'let' constant [#VariableNeverMutated]
311 |
312 | let processedFrames = await try MediaProcessing.asProcessedSequence(
/Users/admin/builder/spi-builder-workspace/Libraries/MLXVLM/Models/SmolVLM2.swift:240:27: warning: no calls to throwing functions occur within 'try' expression [#UnnecessaryEffectMarker]
238 | // Unfortunately we don't have a "render" option in Tokenizers yet, so decoding
239 | let promptTokens = try tokenizer.applyChatTemplate(messages: messages)
240 | let decoded = try tokenizer.decode(tokens: promptTokens, skipSpecialTokens: false)
| `- warning: no calls to throwing functions occur within 'try' expression [#UnnecessaryEffectMarker]
241 |
242 | let image = try input.images[0].asCIImage().toSRGB()
/Users/admin/builder/spi-builder-workspace/Libraries/MLXVLM/Models/SmolVLM2.swift:271:37: warning: no calls to throwing functions occur within 'try' expression [#UnnecessaryEffectMarker]
269 |
270 | let prompt = decoded.replacingOccurrences(of: imageToken, with: imagePromptString)
271 | let finalPromptTokens = try tokenizer.encode(text: prompt)
| `- warning: no calls to throwing functions occur within 'try' expression [#UnnecessaryEffectMarker]
272 |
273 | let promptArray = MLXArray(finalPromptTokens).expandedDimensions(axis: 0)
/Users/admin/builder/spi-builder-workspace/Libraries/MLXVLM/Models/SmolVLM2.swift:308:27: warning: no calls to throwing functions occur within 'try' expression [#UnnecessaryEffectMarker]
306 | let promptTokens = try tokenizer.applyChatTemplate(
307 | messages: messagesWithSystem(messages))
308 | let decoded = try tokenizer.decode(tokens: promptTokens, skipSpecialTokens: false)
| `- warning: no calls to throwing functions occur within 'try' expression [#UnnecessaryEffectMarker]
309 |
310 | var video = try input.videos[0].asAVAsset()
/Users/admin/builder/spi-builder-workspace/Libraries/MLXVLM/Models/SmolVLM2.swift:310:25: warning: no calls to throwing functions occur within 'try' expression [#UnnecessaryEffectMarker]
308 | let decoded = try tokenizer.decode(tokens: promptTokens, skipSpecialTokens: false)
309 |
310 | var video = try input.videos[0].asAVAsset()
| `- warning: no calls to throwing functions occur within 'try' expression [#UnnecessaryEffectMarker]
311 |
312 | let processedFrames = await try MediaProcessing.asProcessedSequence(
/Users/admin/builder/spi-builder-workspace/Libraries/MLXVLM/Models/SmolVLM2.swift:353:37: warning: no calls to throwing functions occur within 'try' expression [#UnnecessaryEffectMarker]
351 | prompt = decoded + "\n" + videoPromptString
352 | }
353 | let finalPromptTokens = try tokenizer.encode(text: prompt)
| `- warning: no calls to throwing functions occur within 'try' expression [#UnnecessaryEffectMarker]
354 |
355 | let promptArray = MLXArray(finalPromptTokens).expandedDimensions(axis: 0)
[#NoUsage]: <https://docs.swift.org/compiler/documentation/diagnostics/no-usage>
[#UnnecessaryEffectMarker]: <https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker>
[#VariableNeverMutated]: <https://docs.swift.org/compiler/documentation/diagnostics/variable-never-mutated>
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Libraries/MLXVLM/Models/SmolVLM2.swift (in target 'MLXVLM' from project 'mlx-libraries')
cd /Users/admin/builder/spi-builder-workspace/mlx-swift-examples.xcodeproj
builtin-SwiftPerFileCompile SmolVLM2.swift
SwiftDriverJobDiscovery normal arm64 Compiling VLMModelFactory.swift (in target 'MLXVLM' from project 'mlx-libraries')
SwiftDriver\ Compilation MLXLMCommon normal arm64 com.apple.xcode.tools.swift.compiler (in target 'MLXLMCommon' from project 'mlx-libraries')
cd /Users/admin/builder/spi-builder-workspace/mlx-swift-examples.xcodeproj
builtin-Swift-Compilation -- /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -parse-as-library -module-name MLXLMCommon -Onone @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/mlx-libraries.build/Debug/MLXLMCommon-t.build/Objects-normal/arm64/MLXLMCommon.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -DSWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -Xcc -fmodule-map-file\=/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-numerics/Sources/_NumericsShims/include/module.modulemap -Xcc -fmodule-map-file\=/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/mlx-swift/Source/Cmlx/include/module.modulemap -DXcode -enable-experimental-feature StrictConcurrency -plugin-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk -target arm64-apple-macos14.0 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -profile-coverage-mapping -profile-generate -enable-testing -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -swift-version 5 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/PackageFrameworks -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/macosx27.0-26A425-e829b21a6f8c9b70876ba0858053c0446a22442a12e9d48fe1a705f55a1adfc4.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/mlx-libraries.build/Debug/MLXLMCommon-t.build/Objects-normal/arm64/MLXLMCommon-OutputFileMap.json -save-temps -no-color-diagnostics -explicit-module-build -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -clang-scanner-module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -sdk-module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules -emit-dependencies -emit-module -emit-module-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/mlx-libraries.build/Debug/MLXLMCommon-t.build/Objects-normal/arm64/MLXLMCommon.swiftmodule -serialize-diagnostics -dependency-scan-serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/mlx-libraries.build/Debug/MLXLMCommon-t.build/Objects-normal/arm64/MLXLMCommon-dependency-scan.dia -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -package-name spi_builder_workspace -emit-const-values -const-gather-protocols-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/mlx-libraries.build/Debug/MLXLMCommon-t.build/Objects-normal/arm64/MLXLMCommon_const_extract_protocols.json -Xcc -I/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-numerics/Sources/_NumericsShims/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/mlx-swift/Source/Cmlx/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/mlx-libraries.build/Debug/MLXLMCommon-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/mlx-libraries.build/Debug/MLXLMCommon-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/mlx-libraries.build/Debug/MLXLMCommon-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -emit-objc-header -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/mlx-libraries.build/Debug/MLXLMCommon-t.build/Objects-normal/arm64/MLXLMCommon-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/mlx-swift-examples.xcodeproj -experimental-emit-module-separately -disable-cmo
SwiftCompile normal arm64 Compiling\ Exaone4.swift,\ FalconH1.swift,\ GLM4.swift,\ GPTOSS.swift /Users/admin/builder/spi-builder-workspace/Libraries/MLXLLM/Models/Exaone4.swift /Users/admin/builder/spi-builder-workspace/Libraries/MLXLLM/Models/FalconH1.swift /Users/admin/builder/spi-builder-workspace/Libraries/MLXLLM/Models/GLM4.swift /Users/admin/builder/spi-builder-workspace/Libraries/MLXLLM/Models/GPTOSS.swift (in target 'MLXLLM' from project 'mlx-libraries')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Libraries/MLXLLM/Models/Exaone4.swift (in target 'MLXLLM' from project 'mlx-libraries')
cd /Users/admin/builder/spi-builder-workspace/mlx-swift-examples.xcodeproj
builtin-SwiftPerFileCompile Exaone4.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Libraries/MLXLLM/Models/FalconH1.swift (in target 'MLXLLM' from project 'mlx-libraries')
cd /Users/admin/builder/spi-builder-workspace/mlx-swift-examples.xcodeproj
builtin-SwiftPerFileCompile FalconH1.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Libraries/MLXLLM/Models/GLM4.swift (in target 'MLXLLM' from project 'mlx-libraries')
cd /Users/admin/builder/spi-builder-workspace/mlx-swift-examples.xcodeproj
builtin-SwiftPerFileCompile GLM4.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Libraries/MLXLLM/Models/GPTOSS.swift (in target 'MLXLLM' from project 'mlx-libraries')
cd /Users/admin/builder/spi-builder-workspace/mlx-swift-examples.xcodeproj
builtin-SwiftPerFileCompile GPTOSS.swift
Ld /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MLXLMCommon.o normal (in target 'MLXLMCommon' from project 'mlx-libraries')
cd /Users/admin/builder/spi-builder-workspace
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -Xlinker -reproducible -target arm64-apple-macos14.0 -r -isysroot /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk -O0 -Xlinker -no_warn_duplicate_libraries -F/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/EagerLinkingTBDs/Debug -F/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/PackageFrameworks -F/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug -iframework /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks -filelist /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/mlx-libraries.build/Debug/MLXLMCommon-t.build/Objects-normal/arm64/MLXLMCommon.LinkFileList -nostdlib -Xlinker -object_path_lto -Xlinker /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/mlx-libraries.build/Debug/MLXLMCommon-t.build/Objects-normal/arm64/MLXLMCommon_lto.o -Xlinker -no_deduplicate -Xlinker -debug_variant -Xlinker -dependency_info -Xlinker /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/mlx-libraries.build/Debug/MLXLMCommon-t.build/Objects-normal/arm64/MLXLMCommon_dependency_info.dat -fobjc-link-runtime -L/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx -L/usr/lib/swift -Xlinker -add_ast_path -Xlinker /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/mlx-libraries.build/Debug/MLXLMCommon-t.build/Objects-normal/arm64/MLXLMCommon.swiftmodule -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MLXLMCommon.o
SwiftDriverJobDiscovery normal arm64 Emitting module for MLXVLM (in target 'MLXVLM' from project 'mlx-libraries')
SwiftDriver\ Compilation\ Requirements MLXVLM normal arm64 com.apple.xcode.tools.swift.compiler (in target 'MLXVLM' from project 'mlx-libraries')
cd /Users/admin/builder/spi-builder-workspace/mlx-swift-examples.xcodeproj
builtin-Swift-Compilation-Requirements -- /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -parse-as-library -module-name MLXVLM -Onone @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/mlx-libraries.build/Debug/MLXVLM-t.build/Objects-normal/arm64/MLXVLM.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -DSWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -Xcc -fmodule-map-file\=/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-numerics/Sources/_NumericsShims/include/module.modulemap -Xcc -fmodule-map-file\=/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/mlx-swift/Source/Cmlx/include/module.modulemap -DXcode -enable-experimental-feature StrictConcurrency -plugin-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk -target arm64-apple-macos14.0 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -profile-coverage-mapping -profile-generate -enable-testing -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -swift-version 5 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/PackageFrameworks -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/macosx27.0-26A425-e829b21a6f8c9b70876ba0858053c0446a22442a12e9d48fe1a705f55a1adfc4.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/mlx-libraries.build/Debug/MLXVLM-t.build/Objects-normal/arm64/MLXVLM-OutputFileMap.json -save-temps -no-color-diagnostics -explicit-module-build -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -clang-scanner-module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -sdk-module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules -emit-dependencies -emit-module -emit-module-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/mlx-libraries.build/Debug/MLXVLM-t.build/Objects-normal/arm64/MLXVLM.swiftmodule -serialize-diagnostics -dependency-scan-serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/mlx-libraries.build/Debug/MLXVLM-t.build/Objects-normal/arm64/MLXVLM-dependency-scan.dia -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -package-name spi_builder_workspace -emit-const-values -const-gather-protocols-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/mlx-libraries.build/Debug/MLXVLM-t.build/Objects-normal/arm64/MLXVLM_const_extract_protocols.json -Xcc -I/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-numerics/Sources/_NumericsShims/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/mlx-swift/Source/Cmlx/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/mlx-libraries.build/Debug/MLXVLM-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/mlx-libraries.build/Debug/MLXVLM-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/mlx-libraries.build/Debug/MLXVLM-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -emit-objc-header -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/mlx-libraries.build/Debug/MLXVLM-t.build/Objects-normal/arm64/MLXVLM-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/mlx-swift-examples.xcodeproj -experimental-emit-module-separately -disable-cmo
SwiftMergeGeneratedHeaders /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeneratedModuleMaps/MLXVLM-Swift.h /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/mlx-libraries.build/Debug/MLXVLM-t.build/Objects-normal/arm64/MLXVLM-Swift.h (in target 'MLXVLM' from project 'mlx-libraries')
cd /Users/admin/builder/spi-builder-workspace
builtin-swiftHeaderTool -arch arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/mlx-libraries.build/Debug/MLXVLM-t.build/Objects-normal/arm64/MLXVLM-Swift.h -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeneratedModuleMaps/MLXVLM-Swift.h
Copy /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MLXVLM.swiftmodule/arm64-apple-macos.swiftmodule /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/mlx-libraries.build/Debug/MLXVLM-t.build/Objects-normal/arm64/MLXVLM.swiftmodule (in target 'MLXVLM' from project 'mlx-libraries')
cd /Users/admin/builder/spi-builder-workspace
builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks -rename /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/mlx-libraries.build/Debug/MLXVLM-t.build/Objects-normal/arm64/MLXVLM.swiftmodule /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MLXVLM.swiftmodule/arm64-apple-macos.swiftmodule
Copy /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MLXVLM.swiftmodule/arm64-apple-macos.swiftdoc /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/mlx-libraries.build/Debug/MLXVLM-t.build/Objects-normal/arm64/MLXVLM.swiftdoc (in target 'MLXVLM' from project 'mlx-libraries')
cd /Users/admin/builder/spi-builder-workspace
builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks -rename /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/mlx-libraries.build/Debug/MLXVLM-t.build/Objects-normal/arm64/MLXVLM.swiftdoc /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MLXVLM.swiftmodule/arm64-apple-macos.swiftdoc
Copy /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MLXVLM.swiftmodule/arm64-apple-macos.abi.json /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/mlx-libraries.build/Debug/MLXVLM-t.build/Objects-normal/arm64/MLXVLM.abi.json (in target 'MLXVLM' from project 'mlx-libraries')
cd /Users/admin/builder/spi-builder-workspace
builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks -rename /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/mlx-libraries.build/Debug/MLXVLM-t.build/Objects-normal/arm64/MLXVLM.abi.json /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MLXVLM.swiftmodule/arm64-apple-macos.abi.json
Copy /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MLXVLM.swiftmodule/Project/arm64-apple-macos.swiftsourceinfo /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/mlx-libraries.build/Debug/MLXVLM-t.build/Objects-normal/arm64/MLXVLM.swiftsourceinfo (in target 'MLXVLM' from project 'mlx-libraries')
cd /Users/admin/builder/spi-builder-workspace
builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks -rename /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/mlx-libraries.build/Debug/MLXVLM-t.build/Objects-normal/arm64/MLXVLM.swiftsourceinfo /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MLXVLM.swiftmodule/Project/arm64-apple-macos.swiftsourceinfo
SwiftCompile normal arm64 Compiling\ LFM2MoE.swift,\ Lille130m.swift,\ Llama.swift,\ MiMo.swift /Users/admin/builder/spi-builder-workspace/Libraries/MLXLLM/Models/LFM2MoE.swift /Users/admin/builder/spi-builder-workspace/Libraries/MLXLLM/Models/Lille130m.swift /Users/admin/builder/spi-builder-workspace/Libraries/MLXLLM/Models/Llama.swift /Users/admin/builder/spi-builder-workspace/Libraries/MLXLLM/Models/MiMo.swift (in target 'MLXLLM' from project 'mlx-libraries')
/Users/admin/builder/spi-builder-workspace/Libraries/MLXLLM/Models/LFM2MoE.swift:209:13: warning: variable 'B' was never mutated; consider changing to 'let' constant [#VariableNeverMutated]
207 | let BCx = inProj(x)
208 | let parts = BCx.split(parts: 3, axis: -1)
209 | var B = parts[0]
| `- warning: variable 'B' was never mutated; consider changing to 'let' constant [#VariableNeverMutated]
210 | let C = parts[1]
211 | let xComp = parts[2]
/Users/admin/builder/spi-builder-workspace/Libraries/MLXLLM/Models/LFM2MoE.swift:296:13: warning: variable 'indices' was never mutated; consider changing to 'let' constant [#VariableNeverMutated]
294 |
295 | let k = topK
296 | var indices = argPartition(-gates, kth: k - 1, axis: -1)[.ellipsis, ..<k]
| `- warning: variable 'indices' was never mutated; consider changing to 'let' constant [#VariableNeverMutated]
297 | var scores = takeAlong(gates, indices, axis: -1)
298 | if normTopKProb {
[#VariableNeverMutated]: <https://docs.swift.org/compiler/documentation/diagnostics/variable-never-mutated>
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Libraries/MLXLLM/Models/LFM2MoE.swift (in target 'MLXLLM' from project 'mlx-libraries')
cd /Users/admin/builder/spi-builder-workspace/mlx-swift-examples.xcodeproj
builtin-SwiftPerFileCompile LFM2MoE.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Libraries/MLXLLM/Models/Lille130m.swift (in target 'MLXLLM' from project 'mlx-libraries')
cd /Users/admin/builder/spi-builder-workspace/mlx-swift-examples.xcodeproj
builtin-SwiftPerFileCompile Lille130m.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Libraries/MLXLLM/Models/Llama.swift (in target 'MLXLLM' from project 'mlx-libraries')
cd /Users/admin/builder/spi-builder-workspace/mlx-swift-examples.xcodeproj
builtin-SwiftPerFileCompile Llama.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Libraries/MLXLLM/Models/MiMo.swift (in target 'MLXLLM' from project 'mlx-libraries')
cd /Users/admin/builder/spi-builder-workspace/mlx-swift-examples.xcodeproj
builtin-SwiftPerFileCompile MiMo.swift
SwiftDriverJobDiscovery normal arm64 Compiling Idefics3.swift (in target 'MLXVLM' from project 'mlx-libraries')
SwiftCompile normal arm64 Compiling\ Granite.swift,\ GraniteMoeHybrid.swift,\ Internlm2.swift,\ LFM2.swift /Users/admin/builder/spi-builder-workspace/Libraries/MLXLLM/Models/Granite.swift /Users/admin/builder/spi-builder-workspace/Libraries/MLXLLM/Models/GraniteMoeHybrid.swift /Users/admin/builder/spi-builder-workspace/Libraries/MLXLLM/Models/Internlm2.swift /Users/admin/builder/spi-builder-workspace/Libraries/MLXLLM/Models/LFM2.swift (in target 'MLXLLM' from project 'mlx-libraries')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Libraries/MLXLLM/Models/Granite.swift (in target 'MLXLLM' from project 'mlx-libraries')
cd /Users/admin/builder/spi-builder-workspace/mlx-swift-examples.xcodeproj
builtin-SwiftPerFileCompile Granite.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Libraries/MLXLLM/Models/GraniteMoeHybrid.swift (in target 'MLXLLM' from project 'mlx-libraries')
cd /Users/admin/builder/spi-builder-workspace/mlx-swift-examples.xcodeproj
builtin-SwiftPerFileCompile GraniteMoeHybrid.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Libraries/MLXLLM/Models/Internlm2.swift (in target 'MLXLLM' from project 'mlx-libraries')
cd /Users/admin/builder/spi-builder-workspace/mlx-swift-examples.xcodeproj
builtin-SwiftPerFileCompile Internlm2.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Libraries/MLXLLM/Models/LFM2.swift (in target 'MLXLLM' from project 'mlx-libraries')
cd /Users/admin/builder/spi-builder-workspace/mlx-swift-examples.xcodeproj
builtin-SwiftPerFileCompile LFM2.swift
/Users/admin/builder/spi-builder-workspace/Libraries/MLXLLM/Models/Granite.swift:124:13: warning: initialization of immutable value 'attentionHeads' was never used; consider replacing with assignment to '_' or removing it [#NoUsage]
122 |
123 | public init(_ args: GraniteConfiguration) {
124 | let attentionHeads = args.attentionHeads
| `- warning: initialization of immutable value 'attentionHeads' was never used; consider replacing with assignment to '_' or removing it [#NoUsage]
125 | let hiddenSize = args.hiddenSize
126 |
/Users/admin/builder/spi-builder-workspace/Libraries/MLXLLM/Models/Granite.swift:274:74: warning: left side of nil coalescing operator '??' has non-optional type 'Bool', so the right side is never used
272 | self.kvHeads = try container.decode(Int.self, forKey: .kvHeads)
273 | self.attentionBias = try container.decode(Bool.self, forKey: .attentionBias)
274 | self.mlpBias = try container.decode(Bool.self, forKey: .mlpBias) ?? false
| `- warning: left side of nil coalescing operator '??' has non-optional type 'Bool', so the right side is never used
275 | self.ropeTheta = try container.decodeIfPresent(Float.self, forKey: .ropeTheta) ?? 10000000.0
276 | self.ropeScaling = try container.decodeIfPresent(
/Users/admin/builder/spi-builder-workspace/Libraries/MLXLLM/Models/GraniteMoeHybrid.swift:122:13: warning: variable 'padded' was never mutated; consider changing to 'let' constant [#VariableNeverMutated]
120 | }
121 |
122 | var padded = concatenated([convState!, input], axis: 1)
| `- warning: variable 'padded' was never mutated; consider changing to 'let' constant [#VariableNeverMutated]
123 |
124 | if let cache {
/Users/admin/builder/spi-builder-workspace/Libraries/MLXLLM/Models/GraniteMoeHybrid.swift:139:13: warning: variable 'projected' was never mutated; consider changing to 'let' constant [#VariableNeverMutated]
137 | cache: MambaCache?
138 | ) -> MLXArray {
139 | var projected = inProj(hiddenStates)
| `- warning: variable 'projected' was never mutated; consider changing to 'let' constant [#VariableNeverMutated]
140 | let splits = split(
141 | projected, indices: [intermediateSize, intermediateSize + convDim], axis: -1)
/Users/admin/builder/spi-builder-workspace/Libraries/MLXLLM/Models/GraniteMoeHybrid.swift:142:13: warning: variable 'gate' was never mutated; consider changing to 'let' constant [#VariableNeverMutated]
140 | let splits = split(
141 | projected, indices: [intermediateSize, intermediateSize + convDim], axis: -1)
142 | var gate = splits[0]
| `- warning: variable 'gate' was never mutated; consider changing to 'let' constant [#VariableNeverMutated]
143 | var convInput = splits[1]
144 | var dt = splits[2]
/Users/admin/builder/spi-builder-workspace/Libraries/MLXLLM/Models/GraniteMoeHybrid.swift:144:13: warning: variable 'dt' was never mutated; consider changing to 'let' constant [#VariableNeverMutated]
142 | var gate = splits[0]
143 | var convInput = splits[1]
144 | var dt = splits[2]
| `- warning: variable 'dt' was never mutated; consider changing to 'let' constant [#VariableNeverMutated]
145 |
146 | if let mask {
/Users/admin/builder/spi-builder-workspace/Libraries/MLXLLM/Models/GraniteMoeHybrid.swift:554:25: warning: variable 'inputWeight' was never mutated; consider changing to 'let' constant [#VariableNeverMutated]
552 | let prefix = "model.layers.\(layerIndex).block_sparse_moe"
553 | guard
554 | var inputWeight = sanitized.removeValue(forKey: "\(prefix).input_linear.weight")
| `- warning: variable 'inputWeight' was never mutated; consider changing to 'let' constant [#VariableNeverMutated]
555 | else { continue }
556 |
[#NoUsage]: <https://docs.swift.org/compiler/documentation/diagnostics/no-usage>
[#VariableNeverMutated]: <https://docs.swift.org/compiler/documentation/diagnostics/variable-never-mutated>
SwiftDriverJobDiscovery normal arm64 Compiling Qwen2VL.swift (in target 'MLXVLM' from project 'mlx-libraries')
SwiftCompile normal arm64 Compiling\ Qwen3.swift,\ Qwen3MoE.swift,\ RoPEUtils.swift,\ SSM.swift /Users/admin/builder/spi-builder-workspace/Libraries/MLXLLM/Models/Qwen3.swift /Users/admin/builder/spi-builder-workspace/Libraries/MLXLLM/Models/Qwen3MoE.swift /Users/admin/builder/spi-builder-workspace/Libraries/MLXLLM/Models/RoPEUtils.swift /Users/admin/builder/spi-builder-workspace/Libraries/MLXLLM/Models/SSM.swift (in target 'MLXLLM' from project 'mlx-libraries')
/Users/admin/builder/spi-builder-workspace/Libraries/MLXLLM/Models/RoPEUtils.swift:104:13: warning: variable 'x' was never mutated; consider changing to 'let' constant [#VariableNeverMutated]
102 |
103 | public func callAsFunction(_ x: MLXArray, offset: Int = 0) -> MLXArray {
104 | var x = x
| `- warning: variable 'x' was never mutated; consider changing to 'let' constant [#VariableNeverMutated]
105 |
106 | if _mscale != 1.0 {
[#VariableNeverMutated]: <https://docs.swift.org/compiler/documentation/diagnostics/variable-never-mutated>
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Libraries/MLXLLM/Models/Qwen3.swift (in target 'MLXLLM' from project 'mlx-libraries')
cd /Users/admin/builder/spi-builder-workspace/mlx-swift-examples.xcodeproj
builtin-SwiftPerFileCompile Qwen3.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Libraries/MLXLLM/Models/Qwen3MoE.swift (in target 'MLXLLM' from project 'mlx-libraries')
cd /Users/admin/builder/spi-builder-workspace/mlx-swift-examples.xcodeproj
builtin-SwiftPerFileCompile Qwen3MoE.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Libraries/MLXLLM/Models/RoPEUtils.swift (in target 'MLXLLM' from project 'mlx-libraries')
cd /Users/admin/builder/spi-builder-workspace/mlx-swift-examples.xcodeproj
builtin-SwiftPerFileCompile RoPEUtils.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Libraries/MLXLLM/Models/SSM.swift (in target 'MLXLLM' from project 'mlx-libraries')
cd /Users/admin/builder/spi-builder-workspace/mlx-swift-examples.xcodeproj
builtin-SwiftPerFileCompile SSM.swift
SwiftCompile normal arm64 Compiling\ BailingMoe.swift,\ Bitnet.swift,\ Cohere.swift,\ DeepseekV3.swift,\ Ernie4_5.swift /Users/admin/builder/spi-builder-workspace/Libraries/MLXLLM/Models/BailingMoe.swift /Users/admin/builder/spi-builder-workspace/Libraries/MLXLLM/Models/Bitnet.swift /Users/admin/builder/spi-builder-workspace/Libraries/MLXLLM/Models/Cohere.swift /Users/admin/builder/spi-builder-workspace/Libraries/MLXLLM/Models/DeepseekV3.swift /Users/admin/builder/spi-builder-workspace/Libraries/MLXLLM/Models/Ernie4_5.swift (in target 'MLXLLM' from project 'mlx-libraries')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Libraries/MLXLLM/Models/BailingMoe.swift (in target 'MLXLLM' from project 'mlx-libraries')
cd /Users/admin/builder/spi-builder-workspace/mlx-swift-examples.xcodeproj
builtin-SwiftPerFileCompile BailingMoe.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Libraries/MLXLLM/Models/Bitnet.swift (in target 'MLXLLM' from project 'mlx-libraries')
cd /Users/admin/builder/spi-builder-workspace/mlx-swift-examples.xcodeproj
builtin-SwiftPerFileCompile Bitnet.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Libraries/MLXLLM/Models/Cohere.swift (in target 'MLXLLM' from project 'mlx-libraries')
cd /Users/admin/builder/spi-builder-workspace/mlx-swift-examples.xcodeproj
builtin-SwiftPerFileCompile Cohere.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Libraries/MLXLLM/Models/DeepseekV3.swift (in target 'MLXLLM' from project 'mlx-libraries')
cd /Users/admin/builder/spi-builder-workspace/mlx-swift-examples.xcodeproj
builtin-SwiftPerFileCompile DeepseekV3.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Libraries/MLXLLM/Models/Ernie4_5.swift (in target 'MLXLLM' from project 'mlx-libraries')
cd /Users/admin/builder/spi-builder-workspace/mlx-swift-examples.xcodeproj
builtin-SwiftPerFileCompile Ernie4_5.swift
/Users/admin/builder/spi-builder-workspace/Libraries/MLXLLM/Models/DeepseekV3.swift:6:8: warning: file 'DeepseekV3.swift' is part of module 'MLXLLM'; ignoring import [#ModuleSelfImport]
4 | import MLX
5 | import MLXFast
6 | import MLXLLM
| `- warning: file 'DeepseekV3.swift' is part of module 'MLXLLM'; ignoring import [#ModuleSelfImport]
7 | import MLXLMCommon
8 | import MLXNN
/Users/admin/builder/spi-builder-workspace/Libraries/MLXLLM/Models/BailingMoe.swift:231:17: warning: left side of nil coalescing operator '??' has non-optional type 'Int', so the right side is never used
229 | let inds = argPartition(-scores, kth: k - 1, axis: -1)[.ellipsis, ..<k]
230 | scores = takeAlong(scores, inds, axis: -1)
231 | if topK ?? 1 > 1, normTopkProb {
| `- warning: left side of nil coalescing operator '??' has non-optional type 'Int', so the right side is never used
232 | let denominator = scores.sum(axis: -1, keepDims: true) + 1e-20
233 | scores = scores / denominator
/Users/admin/builder/spi-builder-workspace/Libraries/MLXLLM/Models/BailingMoe.swift:215:27: warning: immutable value 'h' was never used; consider replacing with '_' or removing it [#NoUsage]
213 |
214 | func groupSelect(_ x: MLXArray) -> (inds: MLXArray, scores: MLXArray) {
215 | let (bsz, seqLen, h) = (x.dim(0), x.dim(1), x.dim(2))
| `- warning: immutable value 'h' was never used; consider replacing with '_' or removing it [#NoUsage]
216 |
217 | let logits = gate(x)
/Users/admin/builder/spi-builder-workspace/Libraries/MLXLLM/Models/BailingMoe.swift:224:13: warning: variable 'groupIdx' was never mutated; consider changing to 'let' constant [#VariableNeverMutated]
222 | let topKGroup = top(groupScores, k: 2, axis: -1).sum(axis: -1, keepDims: true)
223 | var k = nGroup - topkGroup
224 | var groupIdx = argPartition(topKGroup, kth: k - 1, axis: -2)[.ellipsis, ..<k, 0...]
| `- warning: variable 'groupIdx' was never mutated; consider changing to 'let' constant [#VariableNeverMutated]
225 | scores = putAlong(groupScores, groupIdx, values: MLXArray(0.0), axis: -2)
226 | scores = flattened(scores, start: -2, end: -1)
/Users/admin/builder/spi-builder-workspace/Libraries/MLXLLM/Models/DeepseekV3.swift:357:27: warning: immutable value 'h' was never used; consider replacing with '_' or removing it [#NoUsage]
355 |
356 | func callAsFunction(_ x: MLXArray) -> (MLXArray, MLXArray) {
357 | let (bsz, seqLen, h) = (x.dim(0), x.dim(1), x.dim(2))
| `- warning: immutable value 'h' was never used; consider replacing with '_' or removing it [#NoUsage]
358 |
359 | let hiddenStates = x.matmul(weight.T)
[#ModuleSelfImport]: <https://docs.swift.org/compiler/documentation/diagnostics/module-self-import>
[#NoUsage]: <https://docs.swift.org/compiler/documentation/diagnostics/no-usage>
[#VariableNeverMutated]: <https://docs.swift.org/compiler/documentation/diagnostics/variable-never-mutated>
SwiftDriverJobDiscovery normal arm64 Compiling SmolVLM2.swift (in target 'MLXVLM' from project 'mlx-libraries')
SwiftDriverJobDiscovery normal arm64 Compiling Qwen25VL.swift (in target 'MLXVLM' from project 'mlx-libraries')
SwiftCompile normal arm64 Compiling\ NanoChat.swift,\ Olmo2.swift,\ OlmoE.swift,\ OpenELM.swift /Users/admin/builder/spi-builder-workspace/Libraries/MLXLLM/Models/NanoChat.swift /Users/admin/builder/spi-builder-workspace/Libraries/MLXLLM/Models/Olmo2.swift /Users/admin/builder/spi-builder-workspace/Libraries/MLXLLM/Models/OlmoE.swift /Users/admin/builder/spi-builder-workspace/Libraries/MLXLLM/Models/OpenELM.swift (in target 'MLXLLM' from project 'mlx-libraries')
/Users/admin/builder/spi-builder-workspace/Libraries/MLXLLM/Models/OpenELM.swift:72:13: warning: variable 'values' was never mutated; consider changing to 'let' constant [#VariableNeverMutated]
70 | var queries = qkvSplit[0]
71 | var keys = qkvSplit[1]
72 | var values = qkvSplit[2]
| `- warning: variable 'values' was never mutated; consider changing to 'let' constant [#VariableNeverMutated]
73 |
74 | if let qNorm, let kNorm {
[#VariableNeverMutated]: <https://docs.swift.org/compiler/documentation/diagnostics/variable-never-mutated>
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Libraries/MLXLLM/Models/NanoChat.swift (in target 'MLXLLM' from project 'mlx-libraries')
cd /Users/admin/builder/spi-builder-workspace/mlx-swift-examples.xcodeproj
builtin-SwiftPerFileCompile NanoChat.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Libraries/MLXLLM/Models/Olmo2.swift (in target 'MLXLLM' from project 'mlx-libraries')
cd /Users/admin/builder/spi-builder-workspace/mlx-swift-examples.xcodeproj
builtin-SwiftPerFileCompile Olmo2.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Libraries/MLXLLM/Models/OlmoE.swift (in target 'MLXLLM' from project 'mlx-libraries')
cd /Users/admin/builder/spi-builder-workspace/mlx-swift-examples.xcodeproj
builtin-SwiftPerFileCompile OlmoE.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Libraries/MLXLLM/Models/OpenELM.swift (in target 'MLXLLM' from project 'mlx-libraries')
cd /Users/admin/builder/spi-builder-workspace/mlx-swift-examples.xcodeproj
builtin-SwiftPerFileCompile OpenELM.swift
SwiftDriverJobDiscovery normal arm64 Compiling Paligemma.swift (in target 'MLXVLM' from project 'mlx-libraries')
SwiftCompile normal arm64 Compiling\ SmolLM3.swift,\ Starcoder2.swift,\ SuScaledRotaryEmbedding.swift,\ SwitchLayers.swift /Users/admin/builder/spi-builder-workspace/Libraries/MLXLLM/Models/SmolLM3.swift /Users/admin/builder/spi-builder-workspace/Libraries/MLXLLM/Models/Starcoder2.swift /Users/admin/builder/spi-builder-workspace/Libraries/MLXLLM/SuScaledRotaryEmbedding.swift /Users/admin/builder/spi-builder-workspace/Libraries/MLXLLM/SwitchLayers.swift (in target 'MLXLLM' from project 'mlx-libraries')
/Users/admin/builder/spi-builder-workspace/Libraries/MLXLLM/SuScaledRotaryEmbedding.swift:42:13: warning: variable 'scaledX' was never mutated; consider changing to 'let' constant [#VariableNeverMutated]
40 | public func callAsFunction(_ x: MLXArray, offset: Int = 0) -> MLXArray {
41 | // Apply scaling only to the dimensions that will be rotated
42 | var scaledX = x
| `- warning: variable 'scaledX' was never mutated; consider changing to 'let' constant [#VariableNeverMutated]
43 | let sliceToScale = scaledX[.ellipsis, 0 ..< dimensions]
44 | scaledX[.ellipsis, 0 ..< dimensions] = scale * sliceToScale
[#VariableNeverMutated]: <https://docs.swift.org/compiler/documentation/diagnostics/variable-never-mutated>
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Libraries/MLXLLM/Models/SmolLM3.swift (in target 'MLXLLM' from project 'mlx-libraries')
cd /Users/admin/builder/spi-builder-workspace/mlx-swift-examples.xcodeproj
builtin-SwiftPerFileCompile SmolLM3.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Libraries/MLXLLM/Models/Starcoder2.swift (in target 'MLXLLM' from project 'mlx-libraries')
cd /Users/admin/builder/spi-builder-workspace/mlx-swift-examples.xcodeproj
builtin-SwiftPerFileCompile Starcoder2.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Libraries/MLXLLM/SuScaledRotaryEmbedding.swift (in target 'MLXLLM' from project 'mlx-libraries')
cd /Users/admin/builder/spi-builder-workspace/mlx-swift-examples.xcodeproj
builtin-SwiftPerFileCompile SuScaledRotaryEmbedding.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Libraries/MLXLLM/SwitchLayers.swift (in target 'MLXLLM' from project 'mlx-libraries')
cd /Users/admin/builder/spi-builder-workspace/mlx-swift-examples.xcodeproj
builtin-SwiftPerFileCompile SwitchLayers.swift
SwiftCompile normal arm64 Compiling\ Gemma.swift,\ Gemma2.swift,\ Gemma3Text.swift,\ Gemma3nText.swift /Users/admin/builder/spi-builder-workspace/Libraries/MLXLLM/Models/Gemma.swift /Users/admin/builder/spi-builder-workspace/Libraries/MLXLLM/Models/Gemma2.swift /Users/admin/builder/spi-builder-workspace/Libraries/MLXLLM/Models/Gemma3Text.swift /Users/admin/builder/spi-builder-workspace/Libraries/MLXLLM/Models/Gemma3nText.swift (in target 'MLXLLM' from project 'mlx-libraries')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Libraries/MLXLLM/Models/Gemma.swift (in target 'MLXLLM' from project 'mlx-libraries')
cd /Users/admin/builder/spi-builder-workspace/mlx-swift-examples.xcodeproj
builtin-SwiftPerFileCompile Gemma.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Libraries/MLXLLM/Models/Gemma2.swift (in target 'MLXLLM' from project 'mlx-libraries')
cd /Users/admin/builder/spi-builder-workspace/mlx-swift-examples.xcodeproj
builtin-SwiftPerFileCompile Gemma2.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Libraries/MLXLLM/Models/Gemma3Text.swift (in target 'MLXLLM' from project 'mlx-libraries')
cd /Users/admin/builder/spi-builder-workspace/mlx-swift-examples.xcodeproj
builtin-SwiftPerFileCompile Gemma3Text.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Libraries/MLXLLM/Models/Gemma3nText.swift (in target 'MLXLLM' from project 'mlx-libraries')
cd /Users/admin/builder/spi-builder-workspace/mlx-swift-examples.xcodeproj
builtin-SwiftPerFileCompile Gemma3nText.swift
/Users/admin/builder/spi-builder-workspace/Libraries/MLXLLM/Models/Gemma3Text.swift:13:8: warning: file 'Gemma3Text.swift' is part of module 'MLXLLM'; ignoring import [#ModuleSelfImport]
11 | import MLX
12 | import MLXFast
13 | import MLXLLM
| `- warning: file 'Gemma3Text.swift' is part of module 'MLXLLM'; ignoring import [#ModuleSelfImport]
14 | import MLXLMCommon
15 | import MLXNN
[#ModuleSelfImport]: <https://docs.swift.org/compiler/documentation/diagnostics/module-self-import>
SwiftDriverJobDiscovery normal arm64 Emitting module for MLXLLM (in target 'MLXLLM' from project 'mlx-libraries')
SwiftDriver\ Compilation\ Requirements MLXLLM normal arm64 com.apple.xcode.tools.swift.compiler (in target 'MLXLLM' from project 'mlx-libraries')
cd /Users/admin/builder/spi-builder-workspace/mlx-swift-examples.xcodeproj
builtin-Swift-Compilation-Requirements -- /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -parse-as-library -module-name MLXLLM -Onone @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/mlx-libraries.build/Debug/MLXLLM-t.build/Objects-normal/arm64/MLXLLM.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -DSWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -Xcc -fmodule-map-file\=/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-numerics/Sources/_NumericsShims/include/module.modulemap -Xcc -fmodule-map-file\=/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/mlx-swift/Source/Cmlx/include/module.modulemap -DXcode -enable-experimental-feature StrictConcurrency -plugin-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk -target arm64-apple-macos14.0 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -profile-coverage-mapping -profile-generate -enable-testing -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -swift-version 5 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/PackageFrameworks -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/macosx27.0-26A425-e829b21a6f8c9b70876ba0858053c0446a22442a12e9d48fe1a705f55a1adfc4.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/mlx-libraries.build/Debug/MLXLLM-t.build/Objects-normal/arm64/MLXLLM-OutputFileMap.json -save-temps -no-color-diagnostics -explicit-module-build -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -clang-scanner-module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -sdk-module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules -emit-dependencies -emit-module -emit-module-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/mlx-libraries.build/Debug/MLXLLM-t.build/Objects-normal/arm64/MLXLLM.swiftmodule -serialize-diagnostics -dependency-scan-serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/mlx-libraries.build/Debug/MLXLLM-t.build/Objects-normal/arm64/MLXLLM-dependency-scan.dia -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -package-name spi_builder_workspace -emit-const-values -const-gather-protocols-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/mlx-libraries.build/Debug/MLXLLM-t.build/Objects-normal/arm64/MLXLLM_const_extract_protocols.json -Xcc -I/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-numerics/Sources/_NumericsShims/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/mlx-swift/Source/Cmlx/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/mlx-libraries.build/Debug/MLXLLM-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/mlx-libraries.build/Debug/MLXLLM-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/mlx-libraries.build/Debug/MLXLLM-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -emit-objc-header -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/mlx-libraries.build/Debug/MLXLLM-t.build/Objects-normal/arm64/MLXLLM-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/mlx-swift-examples.xcodeproj -experimental-emit-module-separately -disable-cmo
SwiftDriverJobDiscovery normal arm64 Compiling MediaProcessing.swift, Gemma3.swift (in target 'MLXVLM' from project 'mlx-libraries')
SwiftCompile normal arm64 Compiling\ LLMModel.swift,\ LLMModelFactory.swift,\ Lora+Data.swift,\ LoraTrain.swift,\ BaichuanM1.swift /Users/admin/builder/spi-builder-workspace/Libraries/MLXLLM/LLMModel.swift /Users/admin/builder/spi-builder-workspace/Libraries/MLXLLM/LLMModelFactory.swift /Users/admin/builder/spi-builder-workspace/Libraries/MLXLLM/Lora+Data.swift /Users/admin/builder/spi-builder-workspace/Libraries/MLXLLM/LoraTrain.swift /Users/admin/builder/spi-builder-workspace/Libraries/MLXLLM/Models/BaichuanM1.swift (in target 'MLXLLM' from project 'mlx-libraries')
/Users/admin/builder/spi-builder-workspace/Libraries/MLXLLM/LLMModel.swift:27:13: warning: variable 'state' was never mutated; consider changing to 'let' constant [#VariableNeverMutated]
25 | let prefillStepSize = windowSize ?? 512
26 | var y = input.text
27 | var state: LMOutput.State? = nil
| `- warning: variable 'state' was never mutated; consider changing to 'let' constant [#VariableNeverMutated]
28 |
29 | // prepare the prompt in chunks if larger than the prefill size
/Users/admin/builder/spi-builder-workspace/Libraries/MLXLLM/LLMModel.swift:32:17: warning: initialization of immutable value 'result' was never used; consider replacing with assignment to '_' or removing it [#NoUsage]
30 | while y.tokens.size > prefillStepSize {
31 | let input = y[.newAxis, ..<prefillStepSize]
32 | let result = self(input, cache: cache.isEmpty ? nil : cache, state: state)
| `- warning: initialization of immutable value 'result' was never used; consider replacing with assignment to '_' or removing it [#NoUsage]
33 | eval(cache)
34 | y = y[prefillStepSize...]
/Users/admin/builder/spi-builder-workspace/Libraries/MLXLLM/LLMModelFactory.swift:451:14: warning: non-final class 'LLMModelFactory' cannot conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
449 | /// configuration: LLMRegistry.llama3_8B_4bit)
450 | /// ```
451 | public class LLMModelFactory: ModelFactory {
| `- warning: non-final class 'LLMModelFactory' cannot conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
452 |
453 | public init(typeRegistry: ModelTypeRegistry, modelRegistry: AbstractModelRegistry) {
/Users/admin/builder/spi-builder-workspace/Libraries/MLXLLM/LLMModelFactory.swift:31:24: warning: converting non-Sendable function value to '@Sendable (URL) throws -> any LanguageModel' may introduce data races
29 | private static func all() -> [String: @Sendable (URL) throws -> any LanguageModel] {
30 | [
31 | "mistral": create(LlamaConfiguration.self, LlamaModel.init),
| `- warning: converting non-Sendable function value to '@Sendable (URL) throws -> any LanguageModel' may introduce data races
32 | "llama": create(LlamaConfiguration.self, LlamaModel.init),
33 | "phi": create(PhiConfiguration.self, PhiModel.init),
/Users/admin/builder/spi-builder-workspace/Libraries/MLXLLM/LLMModelFactory.swift:32:22: warning: converting non-Sendable function value to '@Sendable (URL) throws -> any LanguageModel' may introduce data races
30 | [
31 | "mistral": create(LlamaConfiguration.self, LlamaModel.init),
32 | "llama": create(LlamaConfiguration.self, LlamaModel.init),
| `- warning: converting non-Sendable function value to '@Sendable (URL) throws -> any LanguageModel' may introduce data races
33 | "phi": create(PhiConfiguration.self, PhiModel.init),
34 | "phi3": create(Phi3Configuration.self, Phi3Model.init),
/Users/admin/builder/spi-builder-workspace/Libraries/MLXLLM/LLMModelFactory.swift:33:20: warning: converting non-Sendable function value to '@Sendable (URL) throws -> any LanguageModel' may introduce data races
31 | "mistral": create(LlamaConfiguration.self, LlamaModel.init),
32 | "llama": create(LlamaConfiguration.self, LlamaModel.init),
33 | "phi": create(PhiConfiguration.self, PhiModel.init),
| `- warning: converting non-Sendable function value to '@Sendable (URL) throws -> any LanguageModel' may introduce data races
34 | "phi3": create(Phi3Configuration.self, Phi3Model.init),
35 | "phimoe": create(PhiMoEConfiguration.self, PhiMoEModel.init),
/Users/admin/builder/spi-builder-workspace/Libraries/MLXLLM/LLMModelFactory.swift:34:21: warning: converting non-Sendable function value to '@Sendable (URL) throws -> any LanguageModel' may introduce data races
32 | "llama": create(LlamaConfiguration.self, LlamaModel.init),
33 | "phi": create(PhiConfiguration.self, PhiModel.init),
34 | "phi3": create(Phi3Configuration.self, Phi3Model.init),
| `- warning: converting non-Sendable function value to '@Sendable (URL) throws -> any LanguageModel' may introduce data races
35 | "phimoe": create(PhiMoEConfiguration.self, PhiMoEModel.init),
36 | "gemma": create(GemmaConfiguration.self, GemmaModel.init),
/Users/admin/builder/spi-builder-workspace/Libraries/MLXLLM/LLMModelFactory.swift:35:23: warning: converting non-Sendable function value to '@Sendable (URL) throws -> any LanguageModel' may introduce data races
33 | "phi": create(PhiConfiguration.self, PhiModel.init),
34 | "phi3": create(Phi3Configuration.self, Phi3Model.init),
35 | "phimoe": create(PhiMoEConfiguration.self, PhiMoEModel.init),
| `- warning: converting non-Sendable function value to '@Sendable (URL) throws -> any LanguageModel' may introduce data races
36 | "gemma": create(GemmaConfiguration.self, GemmaModel.init),
37 | "gemma2": create(Gemma2Configuration.self, Gemma2Model.init),
/Users/admin/builder/spi-builder-workspace/Libraries/MLXLLM/LLMModelFactory.swift:36:22: warning: converting non-Sendable function value to '@Sendable (URL) throws -> any LanguageModel' may introduce data races
34 | "phi3": create(Phi3Configuration.self, Phi3Model.init),
35 | "phimoe": create(PhiMoEConfiguration.self, PhiMoEModel.init),
36 | "gemma": create(GemmaConfiguration.self, GemmaModel.init),
| `- warning: converting non-Sendable function value to '@Sendable (URL) throws -> any LanguageModel' may introduce data races
37 | "gemma2": create(Gemma2Configuration.self, Gemma2Model.init),
38 | "gemma3": create(Gemma3TextConfiguration.self, Gemma3TextModel.init),
/Users/admin/builder/spi-builder-workspace/Libraries/MLXLLM/LLMModelFactory.swift:37:23: warning: converting non-Sendable function value to '@Sendable (URL) throws -> any LanguageModel' may introduce data races
35 | "phimoe": create(PhiMoEConfiguration.self, PhiMoEModel.init),
36 | "gemma": create(GemmaConfiguration.self, GemmaModel.init),
37 | "gemma2": create(Gemma2Configuration.self, Gemma2Model.init),
| `- warning: converting non-Sendable function value to '@Sendable (URL) throws -> any LanguageModel' may introduce data races
38 | "gemma3": create(Gemma3TextConfiguration.self, Gemma3TextModel.init),
39 | "gemma3_text": create(Gemma3TextConfiguration.self, Gemma3TextModel.init),
/Users/admin/builder/spi-builder-workspace/Libraries/MLXLLM/LLMModelFactory.swift:38:23: warning: converting non-Sendable function value to '@Sendable (URL) throws -> any LanguageModel' may introduce data races
36 | "gemma": create(GemmaConfiguration.self, GemmaModel.init),
37 | "gemma2": create(Gemma2Configuration.self, Gemma2Model.init),
38 | "gemma3": create(Gemma3TextConfiguration.self, Gemma3TextModel.init),
| `- warning: converting non-Sendable function value to '@Sendable (URL) throws -> any LanguageModel' may introduce data races
39 | "gemma3_text": create(Gemma3TextConfiguration.self, Gemma3TextModel.init),
40 | "gemma3n": create(Gemma3nTextConfiguration.self, Gemma3nTextModel.init),
/Users/admin/builder/spi-builder-workspace/Libraries/MLXLLM/LLMModelFactory.swift:39:28: warning: converting non-Sendable function value to '@Sendable (URL) throws -> any LanguageModel' may introduce data races
37 | "gemma2": create(Gemma2Configuration.self, Gemma2Model.init),
38 | "gemma3": create(Gemma3TextConfiguration.self, Gemma3TextModel.init),
39 | "gemma3_text": create(Gemma3TextConfiguration.self, Gemma3TextModel.init),
| `- warning: converting non-Sendable function value to '@Sendable (URL) throws -> any LanguageModel' may introduce data races
40 | "gemma3n": create(Gemma3nTextConfiguration.self, Gemma3nTextModel.init),
41 | "qwen2": create(Qwen2Configuration.self, Qwen2Model.init),
/Users/admin/builder/spi-builder-workspace/Libraries/MLXLLM/LLMModelFactory.swift:40:24: warning: converting non-Sendable function value to '@Sendable (URL) throws -> any LanguageModel' may introduce data races
38 | "gemma3": create(Gemma3TextConfiguration.self, Gemma3TextModel.init),
39 | "gemma3_text": create(Gemma3TextConfiguration.self, Gemma3TextModel.init),
40 | "gemma3n": create(Gemma3nTextConfiguration.self, Gemma3nTextModel.init),
| `- warning: converting non-Sendable function value to '@Sendable (URL) throws -> any LanguageModel' may introduce data races
41 | "qwen2": create(Qwen2Configuration.self, Qwen2Model.init),
42 | "qwen3": create(Qwen3Configuration.self, Qwen3Model.init),
/Users/admin/builder/spi-builder-workspace/Libraries/MLXLLM/LLMModelFactory.swift:41:22: warning: converting non-Sendable function value to '@Sendable (URL) throws -> any LanguageModel' may introduce data races
39 | "gemma3_text": create(Gemma3TextConfiguration.self, Gemma3TextModel.init),
40 | "gemma3n": create(Gemma3nTextConfiguration.self, Gemma3nTextModel.init),
41 | "qwen2": create(Qwen2Configuration.self, Qwen2Model.init),
| `- warning: converting non-Sendable function value to '@Sendable (URL) throws -> any LanguageModel' may introduce data races
42 | "qwen3": create(Qwen3Configuration.self, Qwen3Model.init),
43 | "qwen3_moe": create(Qwen3MoEConfiguration.self, Qwen3MoEModel.init),
/Users/admin/builder/spi-builder-workspace/Libraries/MLXLLM/LLMModelFactory.swift:42:22: warning: converting non-Sendable function value to '@Sendable (URL) throws -> any LanguageModel' may introduce data races
40 | "gemma3n": create(Gemma3nTextConfiguration.self, Gemma3nTextModel.init),
41 | "qwen2": create(Qwen2Configuration.self, Qwen2Model.init),
42 | "qwen3": create(Qwen3Configuration.self, Qwen3Model.init),
| `- warning: converting non-Sendable function value to '@Sendable (URL) throws -> any LanguageModel' may introduce data races
43 | "qwen3_moe": create(Qwen3MoEConfiguration.self, Qwen3MoEModel.init),
44 | "starcoder2": create(Starcoder2Configuration.self, Starcoder2Model.init),
/Users/admin/builder/spi-builder-workspace/Libraries/MLXLLM/LLMModelFactory.swift:43:26: warning: converting non-Sendable function value to '@Sendable (URL) throws -> any LanguageModel' may introduce data races
41 | "qwen2": create(Qwen2Configuration.self, Qwen2Model.init),
42 | "qwen3": create(Qwen3Configuration.self, Qwen3Model.init),
43 | "qwen3_moe": create(Qwen3MoEConfiguration.self, Qwen3MoEModel.init),
| `- warning: converting non-Sendable function value to '@Sendable (URL) throws -> any LanguageModel' may introduce data races
44 | "starcoder2": create(Starcoder2Configuration.self, Starcoder2Model.init),
45 | "cohere": create(CohereConfiguration.self, CohereModel.init),
/Users/admin/builder/spi-builder-workspace/Libraries/MLXLLM/LLMModelFactory.swift:44:27: warning: converting non-Sendable function value to '@Sendable (URL) throws -> any LanguageModel' may introduce data races
42 | "qwen3": create(Qwen3Configuration.self, Qwen3Model.init),
43 | "qwen3_moe": create(Qwen3MoEConfiguration.self, Qwen3MoEModel.init),
44 | "starcoder2": create(Starcoder2Configuration.self, Starcoder2Model.init),
| `- warning: converting non-Sendable function value to '@Sendable (URL) throws -> any LanguageModel' may introduce data races
45 | "cohere": create(CohereConfiguration.self, CohereModel.init),
46 | "openelm": create(OpenElmConfiguration.self, OpenELMModel.init),
/Users/admin/builder/spi-builder-workspace/Libraries/MLXLLM/LLMModelFactory.swift:45:23: warning: converting non-Sendable function value to '@Sendable (URL) throws -> any LanguageModel' may introduce data races
43 | "qwen3_moe": create(Qwen3MoEConfiguration.self, Qwen3MoEModel.init),
44 | "starcoder2": create(Starcoder2Configuration.self, Starcoder2Model.init),
45 | "cohere": create(CohereConfiguration.self, CohereModel.init),
| `- warning: converting non-Sendable function value to '@Sendable (URL) throws -> any LanguageModel' may introduce data races
46 | "openelm": create(OpenElmConfiguration.self, OpenELMModel.init),
47 | "internlm2": create(InternLM2Configuration.self, InternLM2Model.init),
/Users/admin/builder/spi-builder-workspace/Libraries/MLXLLM/LLMModelFactory.swift:46:24: warning: converting non-Sendable function value to '@Sendable (URL) throws -> any LanguageModel' may introduce data races
44 | "starcoder2": create(Starcoder2Configuration.self, Starcoder2Model.init),
45 | "cohere": create(CohereConfiguration.self, CohereModel.init),
46 | "openelm": create(OpenElmConfiguration.self, OpenELMModel.init),
| `- warning: converting non-Sendable function value to '@Sendable (URL) throws -> any LanguageModel' may introduce data races
47 | "internlm2": create(InternLM2Configuration.self, InternLM2Model.init),
48 | "deepseek_v3": create(DeepseekV3Configuration.self, DeepseekV3Model.init),
/Users/admin/builder/spi-builder-workspace/Libraries/MLXLLM/LLMModelFactory.swift:47:26: warning: converting non-Sendable function value to '@Sendable (URL) throws -> any LanguageModel' may introduce data races
45 | "cohere": create(CohereConfiguration.self, CohereModel.init),
46 | "openelm": create(OpenElmConfiguration.self, OpenELMModel.init),
47 | "internlm2": create(InternLM2Configuration.self, InternLM2Model.init),
| `- warning: converting non-Sendable function value to '@Sendable (URL) throws -> any LanguageModel' may introduce data races
48 | "deepseek_v3": create(DeepseekV3Configuration.self, DeepseekV3Model.init),
49 | "granite": create(GraniteConfiguration.self, GraniteModel.init),
/Users/admin/builder/spi-builder-workspace/Libraries/MLXLLM/LLMModelFactory.swift:48:28: warning: converting non-Sendable function value to '@Sendable (URL) throws -> any LanguageModel' may introduce data races
46 | "openelm": create(OpenElmConfiguration.self, OpenELMModel.init),
47 | "internlm2": create(InternLM2Configuration.self, InternLM2Model.init),
48 | "deepseek_v3": create(DeepseekV3Configuration.self, DeepseekV3Model.init),
| `- warning: converting non-Sendable function value to '@Sendable (URL) throws -> any LanguageModel' may introduce data races
49 | "granite": create(GraniteConfiguration.self, GraniteModel.init),
50 | "granitemoehybrid": create(
/Users/admin/builder/spi-builder-workspace/Libraries/MLXLLM/LLMModelFactory.swift:49:24: warning: converting non-Sendable function value to '@Sendable (URL) throws -> any LanguageModel' may introduce data races
47 | "internlm2": create(InternLM2Configuration.self, InternLM2Model.init),
48 | "deepseek_v3": create(DeepseekV3Configuration.self, DeepseekV3Model.init),
49 | "granite": create(GraniteConfiguration.self, GraniteModel.init),
| `- warning: converting non-Sendable function value to '@Sendable (URL) throws -> any LanguageModel' may introduce data races
50 | "granitemoehybrid": create(
51 | GraniteMoeHybridConfiguration.self, GraniteMoeHybridModel.init),
/Users/admin/builder/spi-builder-workspace/Libraries/MLXLLM/LLMModelFactory.swift:50:33: warning: converting non-Sendable function value to '@Sendable (URL) throws -> any LanguageModel' may introduce data races
48 | "deepseek_v3": create(DeepseekV3Configuration.self, DeepseekV3Model.init),
49 | "granite": create(GraniteConfiguration.self, GraniteModel.init),
50 | "granitemoehybrid": create(
| `- warning: converting non-Sendable function value to '@Sendable (URL) throws -> any LanguageModel' may introduce data races
51 | GraniteMoeHybridConfiguration.self, GraniteMoeHybridModel.init),
52 | "mimo": create(MiMoConfiguration.self, MiMoModel.init),
/Users/admin/builder/spi-builder-workspace/Libraries/MLXLLM/LLMModelFactory.swift:52:21: warning: converting non-Sendable function value to '@Sendable (URL) throws -> any LanguageModel' may introduce data races
50 | "granitemoehybrid": create(
51 | GraniteMoeHybridConfiguration.self, GraniteMoeHybridModel.init),
52 | "mimo": create(MiMoConfiguration.self, MiMoModel.init),
| `- warning: converting non-Sendable function value to '@Sendable (URL) throws -> any LanguageModel' may introduce data races
53 | "glm4": create(GLM4Configuration.self, GLM4Model.init),
54 | "acereason": create(Qwen2Configuration.self, Qwen2Model.init),
/Users/admin/builder/spi-builder-workspace/Libraries/MLXLLM/LLMModelFactory.swift:53:21: warning: converting non-Sendable function value to '@Sendable (URL) throws -> any LanguageModel' may introduce data races
51 | GraniteMoeHybridConfiguration.self, GraniteMoeHybridModel.init),
52 | "mimo": create(MiMoConfiguration.self, MiMoModel.init),
53 | "glm4": create(GLM4Configuration.self, GLM4Model.init),
| `- warning: converting non-Sendable function value to '@Sendable (URL) throws -> any LanguageModel' may introduce data races
54 | "acereason": create(Qwen2Configuration.self, Qwen2Model.init),
55 | "falcon_h1": create(FalconH1Configuration.self, FalconH1Model.init),
/Users/admin/builder/spi-builder-workspace/Libraries/MLXLLM/LLMModelFactory.swift:54:26: warning: converting non-Sendable function value to '@Sendable (URL) throws -> any LanguageModel' may introduce data races
52 | "mimo": create(MiMoConfiguration.self, MiMoModel.init),
53 | "glm4": create(GLM4Configuration.self, GLM4Model.init),
54 | "acereason": create(Qwen2Configuration.self, Qwen2Model.init),
| `- warning: converting non-Sendable function value to '@Sendable (URL) throws -> any LanguageModel' may introduce data races
55 | "falcon_h1": create(FalconH1Configuration.self, FalconH1Model.init),
56 | "bitnet": create(BitnetConfiguration.self, BitnetModel.init),
/Users/admin/builder/spi-builder-workspace/Libraries/MLXLLM/LLMModelFactory.swift:55:26: warning: converting non-Sendable function value to '@Sendable (URL) throws -> any LanguageModel' may introduce data races
53 | "glm4": create(GLM4Configuration.self, GLM4Model.init),
54 | "acereason": create(Qwen2Configuration.self, Qwen2Model.init),
55 | "falcon_h1": create(FalconH1Configuration.self, FalconH1Model.init),
| `- warning: converting non-Sendable function value to '@Sendable (URL) throws -> any LanguageModel' may introduce data races
56 | "bitnet": create(BitnetConfiguration.self, BitnetModel.init),
57 | "smollm3": create(SmolLM3Configuration.self, SmolLM3Model.init),
/Users/admin/builder/spi-builder-workspace/Libraries/MLXLLM/LLMModelFactory.swift:56:23: warning: converting non-Sendable function value to '@Sendable (URL) throws -> any LanguageModel' may introduce data races
54 | "acereason": create(Qwen2Configuration.self, Qwen2Model.init),
55 | "falcon_h1": create(FalconH1Configuration.self, FalconH1Model.init),
56 | "bitnet": create(BitnetConfiguration.self, BitnetModel.init),
| `- warning: converting non-Sendable function value to '@Sendable (URL) throws -> any LanguageModel' may introduce data races
57 | "smollm3": create(SmolLM3Configuration.self, SmolLM3Model.init),
58 | "ernie4_5": create(Ernie45Configuration.self, Ernie45Model.init),
/Users/admin/builder/spi-builder-workspace/Libraries/MLXLLM/LLMModelFactory.swift:57:24: warning: converting non-Sendable function value to '@Sendable (URL) throws -> any LanguageModel' may introduce data races
55 | "falcon_h1": create(FalconH1Configuration.self, FalconH1Model.init),
56 | "bitnet": create(BitnetConfiguration.self, BitnetModel.init),
57 | "smollm3": create(SmolLM3Configuration.self, SmolLM3Model.init),
| `- warning: converting non-Sendable function value to '@Sendable (URL) throws -> any LanguageModel' may introduce data races
58 | "ernie4_5": create(Ernie45Configuration.self, Ernie45Model.init),
59 | "lfm2": create(LFM2Configuration.self, LFM2Model.init),
/Users/admin/builder/spi-builder-workspace/Libraries/MLXLLM/LLMModelFactory.swift:58:25: warning: converting non-Sendable function value to '@Sendable (URL) throws -> any LanguageModel' may introduce data races
56 | "bitnet": create(BitnetConfiguration.self, BitnetModel.init),
57 | "smollm3": create(SmolLM3Configuration.self, SmolLM3Model.init),
58 | "ernie4_5": create(Ernie45Configuration.self, Ernie45Model.init),
| `- warning: converting non-Sendable function value to '@Sendable (URL) throws -> any LanguageModel' may introduce data races
59 | "lfm2": create(LFM2Configuration.self, LFM2Model.init),
60 | "baichuan_m1": create(BaichuanM1Configuration.self, BaichuanM1Model.init),
/Users/admin/builder/spi-builder-workspace/Libraries/MLXLLM/LLMModelFactory.swift:59:21: warning: converting non-Sendable function value to '@Sendable (URL) throws -> any LanguageModel' may introduce data races
57 | "smollm3": create(SmolLM3Configuration.self, SmolLM3Model.init),
58 | "ernie4_5": create(Ernie45Configuration.self, Ernie45Model.init),
59 | "lfm2": create(LFM2Configuration.self, LFM2Model.init),
| `- warning: converting non-Sendable function value to '@Sendable (URL) throws -> any LanguageModel' may introduce data races
60 | "baichuan_m1": create(BaichuanM1Configuration.self, BaichuanM1Model.init),
61 | "exaone4": create(Exaone4Configuration.self, Exaone4Model.init),
/Users/admin/builder/spi-builder-workspace/Libraries/MLXLLM/LLMModelFactory.swift:60:28: warning: converting non-Sendable function value to '@Sendable (URL) throws -> any LanguageModel' may introduce data races
58 | "ernie4_5": create(Ernie45Configuration.self, Ernie45Model.init),
59 | "lfm2": create(LFM2Configuration.self, LFM2Model.init),
60 | "baichuan_m1": create(BaichuanM1Configuration.self, BaichuanM1Model.init),
| `- warning: converting non-Sendable function value to '@Sendable (URL) throws -> any LanguageModel' may introduce data races
61 | "exaone4": create(Exaone4Configuration.self, Exaone4Model.init),
62 | "gpt_oss": create(GPTOSSConfiguration.self, GPTOSSModel.init),
/Users/admin/builder/spi-builder-workspace/Libraries/MLXLLM/LLMModelFactory.swift:61:24: warning: converting non-Sendable function value to '@Sendable (URL) throws -> any LanguageModel' may introduce data races
59 | "lfm2": create(LFM2Configuration.self, LFM2Model.init),
60 | "baichuan_m1": create(BaichuanM1Configuration.self, BaichuanM1Model.init),
61 | "exaone4": create(Exaone4Configuration.self, Exaone4Model.init),
| `- warning: converting non-Sendable function value to '@Sendable (URL) throws -> any LanguageModel' may introduce data races
62 | "gpt_oss": create(GPTOSSConfiguration.self, GPTOSSModel.init),
63 | "lille-130m": create(Lille130mConfiguration.self, Lille130mModel.init),
/Users/admin/builder/spi-builder-workspace/Libraries/MLXLLM/LLMModelFactory.swift:62:24: warning: converting non-Sendable function value to '@Sendable (URL) throws -> any LanguageModel' may introduce data races
60 | "baichuan_m1": create(BaichuanM1Configuration.self, BaichuanM1Model.init),
61 | "exaone4": create(Exaone4Configuration.self, Exaone4Model.init),
62 | "gpt_oss": create(GPTOSSConfiguration.self, GPTOSSModel.init),
| `- warning: converting non-Sendable function value to '@Sendable (URL) throws -> any LanguageModel' may introduce data races
63 | "lille-130m": create(Lille130mConfiguration.self, Lille130mModel.init),
64 | "olmoe": create(OlmoEConfiguration.self, OlmoEModel.init),
/Users/admin/builder/spi-builder-workspace/Libraries/MLXLLM/LLMModelFactory.swift:63:27: warning: converting non-Sendable function value to '@Sendable (URL) throws -> any LanguageModel' may introduce data races
61 | "exaone4": create(Exaone4Configuration.self, Exaone4Model.init),
62 | "gpt_oss": create(GPTOSSConfiguration.self, GPTOSSModel.init),
63 | "lille-130m": create(Lille130mConfiguration.self, Lille130mModel.init),
| `- warning: converting non-Sendable function value to '@Sendable (URL) throws -> any LanguageModel' may introduce data races
64 | "olmoe": create(OlmoEConfiguration.self, OlmoEModel.init),
65 | "olmo2": create(Olmo2Configuration.self, Olmo2Model.init),
/Users/admin/builder/spi-builder-workspace/Libraries/MLXLLM/LLMModelFactory.swift:64:22: warning: converting non-Sendable function value to '@Sendable (URL) throws -> any LanguageModel' may introduce data races
62 | "gpt_oss": create(GPTOSSConfiguration.self, GPTOSSModel.init),
63 | "lille-130m": create(Lille130mConfiguration.self, Lille130mModel.init),
64 | "olmoe": create(OlmoEConfiguration.self, OlmoEModel.init),
| `- warning: converting non-Sendable function value to '@Sendable (URL) throws -> any LanguageModel' may introduce data races
65 | "olmo2": create(Olmo2Configuration.self, Olmo2Model.init),
66 | "bailing_moe": create(BailingMoeConfiguration.self, BailingMoeModel.init),
/Users/admin/builder/spi-builder-workspace/Libraries/MLXLLM/LLMModelFactory.swift:65:22: warning: converting non-Sendable function value to '@Sendable (URL) throws -> any LanguageModel' may introduce data races
63 | "lille-130m": create(Lille130mConfiguration.self, Lille130mModel.init),
64 | "olmoe": create(OlmoEConfiguration.self, OlmoEModel.init),
65 | "olmo2": create(Olmo2Configuration.self, Olmo2Model.init),
| `- warning: converting non-Sendable function value to '@Sendable (URL) throws -> any LanguageModel' may introduce data races
66 | "bailing_moe": create(BailingMoeConfiguration.self, BailingMoeModel.init),
67 | "lfm2_moe": create(LFM2MoEConfiguration.self, LFM2MoEModel.init),
/Users/admin/builder/spi-builder-workspace/Libraries/MLXLLM/LLMModelFactory.swift:66:28: warning: converting non-Sendable function value to '@Sendable (URL) throws -> any LanguageModel' may introduce data races
64 | "olmoe": create(OlmoEConfiguration.self, OlmoEModel.init),
65 | "olmo2": create(Olmo2Configuration.self, Olmo2Model.init),
66 | "bailing_moe": create(BailingMoeConfiguration.self, BailingMoeModel.init),
| `- warning: converting non-Sendable function value to '@Sendable (URL) throws -> any LanguageModel' may introduce data races
67 | "lfm2_moe": create(LFM2MoEConfiguration.self, LFM2MoEModel.init),
68 | "nanochat": create(NanoChatConfiguration.self, NanoChatModel.init),
/Users/admin/builder/spi-builder-workspace/Libraries/MLXLLM/LLMModelFactory.swift:67:25: warning: converting non-Sendable function value to '@Sendable (URL) throws -> any LanguageModel' may introduce data races
65 | "olmo2": create(Olmo2Configuration.self, Olmo2Model.init),
66 | "bailing_moe": create(BailingMoeConfiguration.self, BailingMoeModel.init),
67 | "lfm2_moe": create(LFM2MoEConfiguration.self, LFM2MoEModel.init),
| `- warning: converting non-Sendable function value to '@Sendable (URL) throws -> any LanguageModel' may introduce data races
68 | "nanochat": create(NanoChatConfiguration.self, NanoChatModel.init),
69 | ]
/Users/admin/builder/spi-builder-workspace/Libraries/MLXLLM/LLMModelFactory.swift:68:25: warning: converting non-Sendable function value to '@Sendable (URL) throws -> any LanguageModel' may introduce data races
66 | "bailing_moe": create(BailingMoeConfiguration.self, BailingMoeModel.init),
67 | "lfm2_moe": create(LFM2MoEConfiguration.self, LFM2MoEModel.init),
68 | "nanochat": create(NanoChatConfiguration.self, NanoChatModel.init),
| `- warning: converting non-Sendable function value to '@Sendable (URL) throws -> any LanguageModel' may introduce data races
69 | ]
70 | }
/Users/admin/builder/spi-builder-workspace/Libraries/MLXLLM/LLMModelFactory.swift:515:17: warning: returning 'model' as a 'sending' result risks causing data races; this is an error in the Swift 6 language mode [#RegionIsolation]
513 | messageGenerator: messageGenerator)
514 |
515 | return .init(
| |- warning: returning 'model' as a 'sending' result risks causing data races; this is an error in the Swift 6 language mode [#RegionIsolation]
| `- note: returning 'model' risks causing data races since the caller assumes that 'model' can be safely sent to other isolation domains
516 | configuration: configuration, model: model, processor: processor, tokenizer: tokenizer)
517 | }
[#NoUsage]: <https://docs.swift.org/compiler/documentation/diagnostics/no-usage>
[#RegionIsolation]: <https://docs.swift.org/compiler/documentation/diagnostics/region-isolation>
[#VariableNeverMutated]: <https://docs.swift.org/compiler/documentation/diagnostics/variable-never-mutated>
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Libraries/MLXLLM/LLMModel.swift (in target 'MLXLLM' from project 'mlx-libraries')
cd /Users/admin/builder/spi-builder-workspace/mlx-swift-examples.xcodeproj
builtin-SwiftPerFileCompile LLMModel.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Libraries/MLXLLM/LLMModelFactory.swift (in target 'MLXLLM' from project 'mlx-libraries')
cd /Users/admin/builder/spi-builder-workspace/mlx-swift-examples.xcodeproj
builtin-SwiftPerFileCompile LLMModelFactory.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Libraries/MLXLLM/Lora+Data.swift (in target 'MLXLLM' from project 'mlx-libraries')
cd /Users/admin/builder/spi-builder-workspace/mlx-swift-examples.xcodeproj
builtin-SwiftPerFileCompile Lora+Data.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Libraries/MLXLLM/LoraTrain.swift (in target 'MLXLLM' from project 'mlx-libraries')
cd /Users/admin/builder/spi-builder-workspace/mlx-swift-examples.xcodeproj
builtin-SwiftPerFileCompile LoraTrain.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Libraries/MLXLLM/Models/BaichuanM1.swift (in target 'MLXLLM' from project 'mlx-libraries')
cd /Users/admin/builder/spi-builder-workspace/mlx-swift-examples.xcodeproj
builtin-SwiftPerFileCompile BaichuanM1.swift
SwiftMergeGeneratedHeaders /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeneratedModuleMaps/MLXLLM-Swift.h /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/mlx-libraries.build/Debug/MLXLLM-t.build/Objects-normal/arm64/MLXLLM-Swift.h (in target 'MLXLLM' from project 'mlx-libraries')
cd /Users/admin/builder/spi-builder-workspace
builtin-swiftHeaderTool -arch arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/mlx-libraries.build/Debug/MLXLLM-t.build/Objects-normal/arm64/MLXLLM-Swift.h -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeneratedModuleMaps/MLXLLM-Swift.h
SwiftDriverJobDiscovery normal arm64 Compiling Qwen3VL.swift (in target 'MLXVLM' from project 'mlx-libraries')
Copy /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MLXLLM.swiftmodule/arm64-apple-macos.swiftmodule /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/mlx-libraries.build/Debug/MLXLLM-t.build/Objects-normal/arm64/MLXLLM.swiftmodule (in target 'MLXLLM' from project 'mlx-libraries')
cd /Users/admin/builder/spi-builder-workspace
builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks -rename /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/mlx-libraries.build/Debug/MLXLLM-t.build/Objects-normal/arm64/MLXLLM.swiftmodule /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MLXLLM.swiftmodule/arm64-apple-macos.swiftmodule
Copy /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MLXLLM.swiftmodule/arm64-apple-macos.swiftdoc /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/mlx-libraries.build/Debug/MLXLLM-t.build/Objects-normal/arm64/MLXLLM.swiftdoc (in target 'MLXLLM' from project 'mlx-libraries')
cd /Users/admin/builder/spi-builder-workspace
builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks -rename /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/mlx-libraries.build/Debug/MLXLLM-t.build/Objects-normal/arm64/MLXLLM.swiftdoc /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MLXLLM.swiftmodule/arm64-apple-macos.swiftdoc
Copy /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MLXLLM.swiftmodule/arm64-apple-macos.abi.json /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/mlx-libraries.build/Debug/MLXLLM-t.build/Objects-normal/arm64/MLXLLM.abi.json (in target 'MLXLLM' from project 'mlx-libraries')
cd /Users/admin/builder/spi-builder-workspace
builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks -rename /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/mlx-libraries.build/Debug/MLXLLM-t.build/Objects-normal/arm64/MLXLLM.abi.json /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MLXLLM.swiftmodule/arm64-apple-macos.abi.json
Copy /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MLXLLM.swiftmodule/Project/arm64-apple-macos.swiftsourceinfo /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/mlx-libraries.build/Debug/MLXLLM-t.build/Objects-normal/arm64/MLXLLM.swiftsourceinfo (in target 'MLXLLM' from project 'mlx-libraries')
cd /Users/admin/builder/spi-builder-workspace
builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks -rename /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/mlx-libraries.build/Debug/MLXLLM-t.build/Objects-normal/arm64/MLXLLM.swiftsourceinfo /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MLXLLM.swiftmodule/Project/arm64-apple-macos.swiftsourceinfo
SwiftDriver\ Compilation MLXVLM normal arm64 com.apple.xcode.tools.swift.compiler (in target 'MLXVLM' from project 'mlx-libraries')
cd /Users/admin/builder/spi-builder-workspace/mlx-swift-examples.xcodeproj
builtin-Swift-Compilation -- /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -parse-as-library -module-name MLXVLM -Onone @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/mlx-libraries.build/Debug/MLXVLM-t.build/Objects-normal/arm64/MLXVLM.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -DSWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -Xcc -fmodule-map-file\=/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-numerics/Sources/_NumericsShims/include/module.modulemap -Xcc -fmodule-map-file\=/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/mlx-swift/Source/Cmlx/include/module.modulemap -DXcode -enable-experimental-feature StrictConcurrency -plugin-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk -target arm64-apple-macos14.0 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -profile-coverage-mapping -profile-generate -enable-testing -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -swift-version 5 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/PackageFrameworks -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/macosx27.0-26A425-e829b21a6f8c9b70876ba0858053c0446a22442a12e9d48fe1a705f55a1adfc4.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/mlx-libraries.build/Debug/MLXVLM-t.build/Objects-normal/arm64/MLXVLM-OutputFileMap.json -save-temps -no-color-diagnostics -explicit-module-build -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -clang-scanner-module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -sdk-module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules -emit-dependencies -emit-module -emit-module-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/mlx-libraries.build/Debug/MLXVLM-t.build/Objects-normal/arm64/MLXVLM.swiftmodule -serialize-diagnostics -dependency-scan-serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/mlx-libraries.build/Debug/MLXVLM-t.build/Objects-normal/arm64/MLXVLM-dependency-scan.dia -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -package-name spi_builder_workspace -emit-const-values -const-gather-protocols-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/mlx-libraries.build/Debug/MLXVLM-t.build/Objects-normal/arm64/MLXVLM_const_extract_protocols.json -Xcc -I/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-numerics/Sources/_NumericsShims/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/mlx-swift/Source/Cmlx/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/mlx-libraries.build/Debug/MLXVLM-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/mlx-libraries.build/Debug/MLXVLM-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/mlx-libraries.build/Debug/MLXVLM-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -emit-objc-header -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/mlx-libraries.build/Debug/MLXVLM-t.build/Objects-normal/arm64/MLXVLM-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/mlx-swift-examples.xcodeproj -experimental-emit-module-separately -disable-cmo
SwiftCompile normal arm64 Compiling\ Phi.swift,\ Phi3.swift,\ PhiMoE.swift,\ Qwen2.swift /Users/admin/builder/spi-builder-workspace/Libraries/MLXLLM/Models/Phi.swift /Users/admin/builder/spi-builder-workspace/Libraries/MLXLLM/Models/Phi3.swift /Users/admin/builder/spi-builder-workspace/Libraries/MLXLLM/Models/PhiMoE.swift /Users/admin/builder/spi-builder-workspace/Libraries/MLXLLM/Models/Qwen2.swift (in target 'MLXLLM' from project 'mlx-libraries')
/Users/admin/builder/spi-builder-workspace/Libraries/MLXLLM/Models/Phi3.swift:63:17: warning: immutable value 'shortFactor' was never used; consider replacing with '_' or removing it [#NoUsage]
61 | if let ropeScaling = args.ropeScaling,
62 | ropeScaling.type == "su" || ropeScaling.type == "longrope",
63 | let shortFactor = ropeScaling.shortFactor, let longFactor = ropeScaling.longFactor
| `- warning: immutable value 'shortFactor' was never used; consider replacing with '_' or removing it [#NoUsage]
64 | {
65 | self.rope = .suScaledRotaryEmbedding(
/Users/admin/builder/spi-builder-workspace/Libraries/MLXLLM/Models/PhiMoE.swift:90:13: warning: variable 'v' was never mutated; consider changing to 'let' constant [#VariableNeverMutated]
88 | var q = queries.reshaped(B, L, args.attentionHeads, -1).transposed(0, 2, 1, 3)
89 | var k = keys.reshaped(B, L, args.kvHeads, -1).transposed(0, 2, 1, 3)
90 | var v = values.reshaped(B, L, args.kvHeads, -1).transposed(0, 2, 1, 3)
| `- warning: variable 'v' was never mutated; consider changing to 'let' constant [#VariableNeverMutated]
91 |
92 | if let cache {
[#NoUsage]: <https://docs.swift.org/compiler/documentation/diagnostics/no-usage>
[#VariableNeverMutated]: <https://docs.swift.org/compiler/documentation/diagnostics/variable-never-mutated>
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Libraries/MLXLLM/Models/Phi.swift (in target 'MLXLLM' from project 'mlx-libraries')
cd /Users/admin/builder/spi-builder-workspace/mlx-swift-examples.xcodeproj
builtin-SwiftPerFileCompile Phi.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Libraries/MLXLLM/Models/Phi3.swift (in target 'MLXLLM' from project 'mlx-libraries')
cd /Users/admin/builder/spi-builder-workspace/mlx-swift-examples.xcodeproj
builtin-SwiftPerFileCompile Phi3.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Libraries/MLXLLM/Models/PhiMoE.swift (in target 'MLXLLM' from project 'mlx-libraries')
cd /Users/admin/builder/spi-builder-workspace/mlx-swift-examples.xcodeproj
builtin-SwiftPerFileCompile PhiMoE.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Libraries/MLXLLM/Models/Qwen2.swift (in target 'MLXLLM' from project 'mlx-libraries')
cd /Users/admin/builder/spi-builder-workspace/mlx-swift-examples.xcodeproj
builtin-SwiftPerFileCompile Qwen2.swift
SwiftDriverJobDiscovery normal arm64 Compiling Qwen3.swift, Qwen3MoE.swift, RoPEUtils.swift, SSM.swift (in target 'MLXLLM' from project 'mlx-libraries')
SwiftCompile normal arm64 Compiling\ Load.swift /Users/admin/builder/spi-builder-workspace/Libraries/Embedders/Load.swift (in target 'MLXEmbedders' from project 'mlx-libraries')
/Users/admin/builder/spi-builder-workspace/Libraries/Embedders/Load.swift:94:38: warning: 'quantization' is deprecated: Please use perLayerQuantization instead [#DeprecatedDeclaration]
92 | }
93 |
94 | if let quantization = baseConfig.quantization {
| `- warning: 'quantization' is deprecated: Please use perLayerQuantization instead [#DeprecatedDeclaration]
95 | quantize(model: model, groupSize: quantization.groupSize, bits: quantization.bits) {
96 | path, module in
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Libraries/Embedders/Load.swift (in target 'MLXEmbedders' from project 'mlx-libraries')
cd /Users/admin/builder/spi-builder-workspace/mlx-swift-examples.xcodeproj
builtin-SwiftPerFileCompile Load.swift
SwiftDriverJobDiscovery normal arm64 Compiling LFM2MoE.swift, Lille130m.swift, Llama.swift, MiMo.swift (in target 'MLXLLM' from project 'mlx-libraries')
SwiftCompile normal arm64 Compiling\ Qwen3.swift /Users/admin/builder/spi-builder-workspace/Libraries/Embedders/Qwen3.swift (in target 'MLXEmbedders' from project 'mlx-libraries')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Libraries/Embedders/Qwen3.swift (in target 'MLXEmbedders' from project 'mlx-libraries')
cd /Users/admin/builder/spi-builder-workspace/mlx-swift-examples.xcodeproj
builtin-SwiftPerFileCompile Qwen3.swift
SwiftCompile normal arm64 Compiling\ Configuration.swift /Users/admin/builder/spi-builder-workspace/Libraries/Embedders/Configuration.swift (in target 'MLXEmbedders' from project 'mlx-libraries')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Libraries/Embedders/Configuration.swift (in target 'MLXEmbedders' from project 'mlx-libraries')
cd /Users/admin/builder/spi-builder-workspace/mlx-swift-examples.xcodeproj
builtin-SwiftPerFileCompile Configuration.swift
SwiftDriverJobDiscovery normal arm64 Compiling SmolLM3.swift, Starcoder2.swift, SuScaledRotaryEmbedding.swift, SwitchLayers.swift (in target 'MLXLLM' from project 'mlx-libraries')
SwiftDriverJobDiscovery normal arm64 Compiling Load.swift (in target 'MLXEmbedders' from project 'mlx-libraries')
SwiftCompile normal arm64 Compiling\ Pooling.swift /Users/admin/builder/spi-builder-workspace/Libraries/Embedders/Pooling.swift (in target 'MLXEmbedders' from project 'mlx-libraries')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Libraries/Embedders/Pooling.swift (in target 'MLXEmbedders' from project 'mlx-libraries')
cd /Users/admin/builder/spi-builder-workspace/mlx-swift-examples.xcodeproj
builtin-SwiftPerFileCompile Pooling.swift
SwiftDriverJobDiscovery normal arm64 Compiling Exaone4.swift, FalconH1.swift, GLM4.swift, GPTOSS.swift (in target 'MLXLLM' from project 'mlx-libraries')
SwiftCompile normal arm64 Compiling\ NomicBert.swift /Users/admin/builder/spi-builder-workspace/Libraries/Embedders/NomicBert.swift (in target 'MLXEmbedders' from project 'mlx-libraries')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Libraries/Embedders/NomicBert.swift (in target 'MLXEmbedders' from project 'mlx-libraries')
cd /Users/admin/builder/spi-builder-workspace/mlx-swift-examples.xcodeproj
builtin-SwiftPerFileCompile NomicBert.swift
SwiftDriverJobDiscovery normal arm64 Compiling Configuration.swift (in target 'MLXEmbedders' from project 'mlx-libraries')
SwiftCompile normal arm64 Compiling\ Bert.swift /Users/admin/builder/spi-builder-workspace/Libraries/Embedders/Bert.swift (in target 'MLXEmbedders' from project 'mlx-libraries')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Libraries/Embedders/Bert.swift (in target 'MLXEmbedders' from project 'mlx-libraries')
cd /Users/admin/builder/spi-builder-workspace/mlx-swift-examples.xcodeproj
builtin-SwiftPerFileCompile Bert.swift
SwiftCompile normal arm64 Compiling\ Tokenizer.swift /Users/admin/builder/spi-builder-workspace/Libraries/Embedders/Tokenizer.swift (in target 'MLXEmbedders' from project 'mlx-libraries')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Libraries/Embedders/Tokenizer.swift (in target 'MLXEmbedders' from project 'mlx-libraries')
cd /Users/admin/builder/spi-builder-workspace/mlx-swift-examples.xcodeproj
builtin-SwiftPerFileCompile Tokenizer.swift
SwiftDriverJobDiscovery normal arm64 Compiling Pooling.swift (in target 'MLXEmbedders' from project 'mlx-libraries')
SwiftCompile normal arm64 Compiling\ BaseConfiguration.swift /Users/admin/builder/spi-builder-workspace/Libraries/Embedders/BaseConfiguration.swift (in target 'MLXEmbedders' from project 'mlx-libraries')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Libraries/Embedders/BaseConfiguration.swift (in target 'MLXEmbedders' from project 'mlx-libraries')
cd /Users/admin/builder/spi-builder-workspace/mlx-swift-examples.xcodeproj
builtin-SwiftPerFileCompile BaseConfiguration.swift
SwiftDriverJobDiscovery normal arm64 Compiling Granite.swift, GraniteMoeHybrid.swift, Internlm2.swift, LFM2.swift (in target 'MLXLLM' from project 'mlx-libraries')
SwiftCompile normal arm64 Compiling\ Models.swift /Users/admin/builder/spi-builder-workspace/Libraries/Embedders/Models.swift (in target 'MLXEmbedders' from project 'mlx-libraries')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Libraries/Embedders/Models.swift (in target 'MLXEmbedders' from project 'mlx-libraries')
cd /Users/admin/builder/spi-builder-workspace/mlx-swift-examples.xcodeproj
builtin-SwiftPerFileCompile Models.swift
SwiftDriverJobDiscovery normal arm64 Compiling NanoChat.swift, Olmo2.swift, OlmoE.swift, OpenELM.swift (in target 'MLXLLM' from project 'mlx-libraries')
SwiftCompile normal arm64 Compiling\ EmbeddingModel.swift /Users/admin/builder/spi-builder-workspace/Libraries/Embedders/EmbeddingModel.swift (in target 'MLXEmbedders' from project 'mlx-libraries')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Libraries/Embedders/EmbeddingModel.swift (in target 'MLXEmbedders' from project 'mlx-libraries')
cd /Users/admin/builder/spi-builder-workspace/mlx-swift-examples.xcodeproj
builtin-SwiftPerFileCompile EmbeddingModel.swift
SwiftDriverJobDiscovery normal arm64 Compiling Qwen3.swift (in target 'MLXEmbedders' from project 'mlx-libraries')
SwiftDriverJobDiscovery normal arm64 Compiling Tokenizer.swift (in target 'MLXEmbedders' from project 'mlx-libraries')
ExtractAppIntentsMetadata (in target 'MLXLMCommon' from project 'mlx-libraries')
cd /Users/admin/builder/spi-builder-workspace
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/appintentsmetadataprocessor --toolchain-dir /var/run/com.apple.security.cryptexd/mnt/com.apple.MobileAsset.MetalToolchain-v27.1.266.1.QF4pVw/Metal.xctoolchain --module-name MLXLMCommon --sdk-root /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk --xcode-version 27A266a --platform-family macOS --deployment-target 14.0 --bundle-identifier spi-builder-workspace.MLXLMCommon --output /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MLXLMCommon.appintents --target-triple arm64-apple-macos14.0 --binary-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MLXLMCommon.o --dependency-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/mlx-libraries.build/Debug/MLXLMCommon-t.build/Objects-normal/arm64/MLXLMCommon_dependency_info.dat --stringsdata-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/mlx-libraries.build/Debug/MLXLMCommon-t.build/Objects-normal/arm64/ExtractedAppShortcutsMetadata.stringsdata --source-file-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/mlx-libraries.build/Debug/MLXLMCommon-t.build/Objects-normal/arm64/MLXLMCommon.SwiftFileList --metadata-file-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/mlx-libraries.build/Debug/MLXLMCommon-t.build/MLXLMCommon.DependencyMetadataFileList --static-metadata-file-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/mlx-libraries.build/Debug/MLXLMCommon-t.build/MLXLMCommon.DependencyStaticMetadataFileList --swift-const-vals-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/mlx-libraries.build/Debug/MLXLMCommon-t.build/Objects-normal/arm64/MLXLMCommon.SwiftConstValuesFileList --force --compile-time-extraction --deployment-aware-processing --no-app-shortcuts-localization
2026-09-23 01:25:22.043 appintentsmetadataprocessor[1993:9747] Starting appintentsmetadataprocessor export
2026-09-23 01:25:22.110 appintentsmetadataprocessor[1993:9747] Extracted no relevant App Intents symbols, skipping writing output
SwiftDriverJobDiscovery normal arm64 Compiling LLMModel.swift, LLMModelFactory.swift, Lora+Data.swift, LoraTrain.swift, BaichuanM1.swift (in target 'MLXLLM' from project 'mlx-libraries')
SwiftDriverJobDiscovery normal arm64 Compiling Models.swift (in target 'MLXEmbedders' from project 'mlx-libraries')
SwiftDriverJobDiscovery normal arm64 Compiling BaseConfiguration.swift (in target 'MLXEmbedders' from project 'mlx-libraries')
SwiftDriverJobDiscovery normal arm64 Compiling NomicBert.swift (in target 'MLXEmbedders' from project 'mlx-libraries')
SwiftDriverJobDiscovery normal arm64 Compiling EmbeddingModel.swift (in target 'MLXEmbedders' from project 'mlx-libraries')
SwiftDriverJobDiscovery normal arm64 Compiling Phi.swift, Phi3.swift, PhiMoE.swift, Qwen2.swift (in target 'MLXLLM' from project 'mlx-libraries')
Ld /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MLXVLM.o normal (in target 'MLXVLM' from project 'mlx-libraries')
cd /Users/admin/builder/spi-builder-workspace
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -Xlinker -reproducible -target arm64-apple-macos14.0 -r -isysroot /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk -O0 -Xlinker -no_warn_duplicate_libraries -F/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/EagerLinkingTBDs/Debug -F/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/PackageFrameworks -F/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug -iframework /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks -filelist /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/mlx-libraries.build/Debug/MLXVLM-t.build/Objects-normal/arm64/MLXVLM.LinkFileList -nostdlib -Xlinker -object_path_lto -Xlinker /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/mlx-libraries.build/Debug/MLXVLM-t.build/Objects-normal/arm64/MLXVLM_lto.o -Xlinker -no_deduplicate -Xlinker -debug_variant -Xlinker -dependency_info -Xlinker /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/mlx-libraries.build/Debug/MLXVLM-t.build/Objects-normal/arm64/MLXVLM_dependency_info.dat -fobjc-link-runtime -L/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx -L/usr/lib/swift -Xlinker -add_ast_path -Xlinker /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/mlx-libraries.build/Debug/MLXVLM-t.build/Objects-normal/arm64/MLXVLM.swiftmodule -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MLXVLM.o
SwiftDriverJobDiscovery normal arm64 Compiling BailingMoe.swift, Bitnet.swift, Cohere.swift, DeepseekV3.swift, Ernie4_5.swift (in target 'MLXLLM' from project 'mlx-libraries')
ExtractAppIntentsMetadata (in target 'MLXVLM' from project 'mlx-libraries')
cd /Users/admin/builder/spi-builder-workspace
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/appintentsmetadataprocessor --toolchain-dir /var/run/com.apple.security.cryptexd/mnt/com.apple.MobileAsset.MetalToolchain-v27.1.266.1.QF4pVw/Metal.xctoolchain --module-name MLXVLM --sdk-root /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk --xcode-version 27A266a --platform-family macOS --deployment-target 14.0 --bundle-identifier spi-builder-workspace.MLXVLM --output /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MLXVLM.appintents --target-triple arm64-apple-macos14.0 --binary-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MLXVLM.o --dependency-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/mlx-libraries.build/Debug/MLXVLM-t.build/Objects-normal/arm64/MLXVLM_dependency_info.dat --stringsdata-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/mlx-libraries.build/Debug/MLXVLM-t.build/Objects-normal/arm64/ExtractedAppShortcutsMetadata.stringsdata --source-file-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/mlx-libraries.build/Debug/MLXVLM-t.build/Objects-normal/arm64/MLXVLM.SwiftFileList --metadata-file-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/mlx-libraries.build/Debug/MLXVLM-t.build/MLXVLM.DependencyMetadataFileList --static-metadata-file-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/mlx-libraries.build/Debug/MLXVLM-t.build/MLXVLM.DependencyStaticMetadataFileList --swift-const-vals-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/mlx-libraries.build/Debug/MLXVLM-t.build/Objects-normal/arm64/MLXVLM.SwiftConstValuesFileList --force --compile-time-extraction --deployment-aware-processing --no-app-shortcuts-localization
2026-09-23 01:25:22.184 appintentsmetadataprocessor[1996:9768] Starting appintentsmetadataprocessor export
2026-09-23 01:25:22.248 appintentsmetadataprocessor[1996:9768] Extracted no relevant App Intents symbols, skipping writing output
SwiftDriverJobDiscovery normal arm64 Compiling Bert.swift (in target 'MLXEmbedders' from project 'mlx-libraries')
SwiftDriver\ Compilation MLXEmbedders normal arm64 com.apple.xcode.tools.swift.compiler (in target 'MLXEmbedders' from project 'mlx-libraries')
cd /Users/admin/builder/spi-builder-workspace/mlx-swift-examples.xcodeproj
builtin-Swift-Compilation -- /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -parse-as-library -module-name MLXEmbedders -Onone @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/mlx-libraries.build/Debug/MLXEmbedders-t.build/Objects-normal/arm64/MLXEmbedders.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -DSWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -Xcc -fmodule-map-file\=/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-numerics/Sources/_NumericsShims/include/module.modulemap -Xcc -fmodule-map-file\=/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/mlx-swift/Source/Cmlx/include/module.modulemap -DXcode -plugin-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk -target arm64-apple-macos14.0 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -profile-coverage-mapping -profile-generate -enable-testing -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -swift-version 5 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/PackageFrameworks -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/macosx27.0-26A425-e829b21a6f8c9b70876ba0858053c0446a22442a12e9d48fe1a705f55a1adfc4.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/mlx-libraries.build/Debug/MLXEmbedders-t.build/Objects-normal/arm64/MLXEmbedders-OutputFileMap.json -save-temps -no-color-diagnostics -explicit-module-build -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -clang-scanner-module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -sdk-module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules -emit-dependencies -emit-module -emit-module-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/mlx-libraries.build/Debug/MLXEmbedders-t.build/Objects-normal/arm64/MLXEmbedders.swiftmodule -serialize-diagnostics -dependency-scan-serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/mlx-libraries.build/Debug/MLXEmbedders-t.build/Objects-normal/arm64/MLXEmbedders-dependency-scan.dia -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -package-name spi_builder_workspace -emit-const-values -const-gather-protocols-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/mlx-libraries.build/Debug/MLXEmbedders-t.build/Objects-normal/arm64/MLXEmbedders_const_extract_protocols.json -Xcc -I/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-numerics/Sources/_NumericsShims/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/mlx-swift/Source/Cmlx/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/mlx-libraries.build/Debug/MLXEmbedders-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/mlx-libraries.build/Debug/MLXEmbedders-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/mlx-libraries.build/Debug/MLXEmbedders-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -emit-objc-header -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/mlx-libraries.build/Debug/MLXEmbedders-t.build/Objects-normal/arm64/MLXEmbedders-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/mlx-swift-examples.xcodeproj -experimental-emit-module-separately -disable-cmo
Ld /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MLXEmbedders.o normal (in target 'MLXEmbedders' from project 'mlx-libraries')
cd /Users/admin/builder/spi-builder-workspace
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -Xlinker -reproducible -target arm64-apple-macos14.0 -r -isysroot /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk -O0 -Xlinker -no_warn_duplicate_libraries -F/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/EagerLinkingTBDs/Debug -F/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/PackageFrameworks -F/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug -iframework /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks -filelist /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/mlx-libraries.build/Debug/MLXEmbedders-t.build/Objects-normal/arm64/MLXEmbedders.LinkFileList -nostdlib -Xlinker -object_path_lto -Xlinker /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/mlx-libraries.build/Debug/MLXEmbedders-t.build/Objects-normal/arm64/MLXEmbedders_lto.o -Xlinker -no_deduplicate -Xlinker -debug_variant -Xlinker -dependency_info -Xlinker /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/mlx-libraries.build/Debug/MLXEmbedders-t.build/Objects-normal/arm64/MLXEmbedders_dependency_info.dat -fobjc-link-runtime -L/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx -L/usr/lib/swift -Xlinker -add_ast_path -Xlinker /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/mlx-libraries.build/Debug/MLXEmbedders-t.build/Objects-normal/arm64/MLXEmbedders.swiftmodule -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MLXEmbedders.o
ExtractAppIntentsMetadata (in target 'MLXEmbedders' from project 'mlx-libraries')
cd /Users/admin/builder/spi-builder-workspace
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/appintentsmetadataprocessor --toolchain-dir /var/run/com.apple.security.cryptexd/mnt/com.apple.MobileAsset.MetalToolchain-v27.1.266.1.QF4pVw/Metal.xctoolchain --module-name MLXEmbedders --sdk-root /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk --xcode-version 27A266a --platform-family macOS --deployment-target 14.0 --bundle-identifier spi-builder-workspace.MLXEmbedders --output /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MLXEmbedders.appintents --target-triple arm64-apple-macos14.0 --binary-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MLXEmbedders.o --dependency-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/mlx-libraries.build/Debug/MLXEmbedders-t.build/Objects-normal/arm64/MLXEmbedders_dependency_info.dat --stringsdata-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/mlx-libraries.build/Debug/MLXEmbedders-t.build/Objects-normal/arm64/ExtractedAppShortcutsMetadata.stringsdata --source-file-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/mlx-libraries.build/Debug/MLXEmbedders-t.build/Objects-normal/arm64/MLXEmbedders.SwiftFileList --metadata-file-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/mlx-libraries.build/Debug/MLXEmbedders-t.build/MLXEmbedders.DependencyMetadataFileList --static-metadata-file-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/mlx-libraries.build/Debug/MLXEmbedders-t.build/MLXEmbedders.DependencyStaticMetadataFileList --swift-const-vals-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/mlx-libraries.build/Debug/MLXEmbedders-t.build/Objects-normal/arm64/MLXEmbedders.SwiftConstValuesFileList --force --compile-time-extraction --deployment-aware-processing --no-app-shortcuts-localization
2026-09-23 01:25:22.236 appintentsmetadataprocessor[1999:9783] Starting appintentsmetadataprocessor export
2026-09-23 01:25:22.295 appintentsmetadataprocessor[1999:9783] Extracted no relevant App Intents symbols, skipping writing output
SwiftDriverJobDiscovery normal arm64 Compiling Gemma.swift, Gemma2.swift, Gemma3Text.swift, Gemma3nText.swift (in target 'MLXLLM' from project 'mlx-libraries')
SwiftDriver\ Compilation MLXLLM normal arm64 com.apple.xcode.tools.swift.compiler (in target 'MLXLLM' from project 'mlx-libraries')
cd /Users/admin/builder/spi-builder-workspace/mlx-swift-examples.xcodeproj
builtin-Swift-Compilation -- /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -parse-as-library -module-name MLXLLM -Onone @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/mlx-libraries.build/Debug/MLXLLM-t.build/Objects-normal/arm64/MLXLLM.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -DSWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -Xcc -fmodule-map-file\=/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-numerics/Sources/_NumericsShims/include/module.modulemap -Xcc -fmodule-map-file\=/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/mlx-swift/Source/Cmlx/include/module.modulemap -DXcode -enable-experimental-feature StrictConcurrency -plugin-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk -target arm64-apple-macos14.0 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -profile-coverage-mapping -profile-generate -enable-testing -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -swift-version 5 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/PackageFrameworks -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/macosx27.0-26A425-e829b21a6f8c9b70876ba0858053c0446a22442a12e9d48fe1a705f55a1adfc4.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/mlx-libraries.build/Debug/MLXLLM-t.build/Objects-normal/arm64/MLXLLM-OutputFileMap.json -save-temps -no-color-diagnostics -explicit-module-build -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -clang-scanner-module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -sdk-module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules -emit-dependencies -emit-module -emit-module-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/mlx-libraries.build/Debug/MLXLLM-t.build/Objects-normal/arm64/MLXLLM.swiftmodule -serialize-diagnostics -dependency-scan-serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/mlx-libraries.build/Debug/MLXLLM-t.build/Objects-normal/arm64/MLXLLM-dependency-scan.dia -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -package-name spi_builder_workspace -emit-const-values -const-gather-protocols-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/mlx-libraries.build/Debug/MLXLLM-t.build/Objects-normal/arm64/MLXLLM_const_extract_protocols.json -Xcc -I/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-numerics/Sources/_NumericsShims/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/mlx-swift/Source/Cmlx/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/mlx-libraries.build/Debug/MLXLLM-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/mlx-libraries.build/Debug/MLXLLM-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/mlx-libraries.build/Debug/MLXLLM-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -emit-objc-header -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/mlx-libraries.build/Debug/MLXLLM-t.build/Objects-normal/arm64/MLXLLM-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/mlx-swift-examples.xcodeproj -experimental-emit-module-separately -disable-cmo
Ld /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MLXLLM.o normal (in target 'MLXLLM' from project 'mlx-libraries')
cd /Users/admin/builder/spi-builder-workspace
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -Xlinker -reproducible -target arm64-apple-macos14.0 -r -isysroot /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk -O0 -Xlinker -no_warn_duplicate_libraries -F/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/EagerLinkingTBDs/Debug -F/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/PackageFrameworks -F/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug -iframework /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks -filelist /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/mlx-libraries.build/Debug/MLXLLM-t.build/Objects-normal/arm64/MLXLLM.LinkFileList -nostdlib -Xlinker -object_path_lto -Xlinker /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/mlx-libraries.build/Debug/MLXLLM-t.build/Objects-normal/arm64/MLXLLM_lto.o -Xlinker -no_deduplicate -Xlinker -debug_variant -Xlinker -dependency_info -Xlinker /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/mlx-libraries.build/Debug/MLXLLM-t.build/Objects-normal/arm64/MLXLLM_dependency_info.dat -fobjc-link-runtime -L/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx -L/usr/lib/swift -Xlinker -add_ast_path -Xlinker /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/mlx-libraries.build/Debug/MLXLLM-t.build/Objects-normal/arm64/MLXLLM.swiftmodule -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MLXLLM.o
ExtractAppIntentsMetadata (in target 'MLXLLM' from project 'mlx-libraries')
cd /Users/admin/builder/spi-builder-workspace
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/appintentsmetadataprocessor --toolchain-dir /var/run/com.apple.security.cryptexd/mnt/com.apple.MobileAsset.MetalToolchain-v27.1.266.1.QF4pVw/Metal.xctoolchain --module-name MLXLLM --sdk-root /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk --xcode-version 27A266a --platform-family macOS --deployment-target 14.0 --bundle-identifier spi-builder-workspace.MLXLLM --output /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MLXLLM.appintents --target-triple arm64-apple-macos14.0 --binary-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MLXLLM.o --dependency-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/mlx-libraries.build/Debug/MLXLLM-t.build/Objects-normal/arm64/MLXLLM_dependency_info.dat --stringsdata-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/mlx-libraries.build/Debug/MLXLLM-t.build/Objects-normal/arm64/ExtractedAppShortcutsMetadata.stringsdata --source-file-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/mlx-libraries.build/Debug/MLXLLM-t.build/Objects-normal/arm64/MLXLLM.SwiftFileList --metadata-file-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/mlx-libraries.build/Debug/MLXLLM-t.build/MLXLLM.DependencyMetadataFileList --static-metadata-file-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/mlx-libraries.build/Debug/MLXLLM-t.build/MLXLLM.DependencyStaticMetadataFileList --swift-const-vals-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/mlx-libraries.build/Debug/MLXLLM-t.build/Objects-normal/arm64/MLXLLM.SwiftConstValuesFileList --force --compile-time-extraction --deployment-aware-processing --no-app-shortcuts-localization
2026-09-23 01:25:22.336 appintentsmetadataprocessor[2002:9798] Starting appintentsmetadataprocessor export
2026-09-23 01:25:22.394 appintentsmetadataprocessor[2002:9798] Extracted no relevant App Intents symbols, skipping writing output
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules
** BUILD SUCCEEDED **
--- xcodebuild: WARNING: Using the first of multiple matching destinations:
{ platform:macOS, arch:arm64, id:2650b1c4cd8ff06c86243f930b6c06e7ab1e6634, name:My Mac }
{ platform:macOS, arch:arm64, variant:Mac Catalyst, id:2650b1c4cd8ff06c86243f930b6c06e7ab1e6634, name:My Mac }
{ platform:macOS, arch:arm64, variant:DriverKit, id:2650b1c4cd8ff06c86243f930b6c06e7ab1e6634, name:My Mac }
{ platform:macOS, arch:arm64, variant:Designed for [iPad,iPhone], id:2650b1c4cd8ff06c86243f930b6c06e7ab1e6634, name:My Mac }
Build complete.
{
"dependencies" : [
{
"identity" : "mlx-swift",
"requirement" : {
"range" : [
{
"lower_bound" : "0.29.1",
"upper_bound" : "0.30.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/ml-explore/mlx-swift"
},
{
"identity" : "swift-transformers",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "1.1.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/huggingface/swift-transformers"
},
{
"identity" : "gzipswift",
"requirement" : {
"range" : [
{
"lower_bound" : "6.0.1",
"upper_bound" : "6.0.2"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/1024jp/GzipSwift"
}
],
"manifest_display_name" : "mlx-libraries",
"name" : "mlx-libraries",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "14.0"
},
{
"name" : "ios",
"version" : "16.0"
}
],
"products" : [
{
"name" : "MLXLLM",
"targets" : [
"MLXLLM"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "MLXVLM",
"targets" : [
"MLXVLM"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "MLXLMCommon",
"targets" : [
"MLXLMCommon"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "MLXMNIST",
"targets" : [
"MLXMNIST"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "MLXEmbedders",
"targets" : [
"MLXEmbedders"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "StableDiffusion",
"targets" : [
"StableDiffusion"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "StableDiffusion",
"module_type" : "SwiftTarget",
"name" : "StableDiffusion",
"path" : "Libraries/StableDiffusion",
"product_dependencies" : [
"MLX",
"MLXNN",
"MLXRandom",
"Transformers"
],
"product_memberships" : [
"StableDiffusion"
],
"sources" : [
"Clip.swift",
"Configuration.swift",
"Image.swift",
"Load.swift",
"Sampler.swift",
"StableDiffusion.swift",
"Tokenizer.swift",
"UNet.swift",
"VAE.swift"
],
"type" : "library"
},
{
"c99name" : "MLXVLM",
"module_type" : "SwiftTarget",
"name" : "MLXVLM",
"path" : "Libraries/MLXVLM",
"product_dependencies" : [
"MLX",
"MLXFast",
"MLXNN",
"MLXOptimizers",
"MLXRandom",
"Transformers"
],
"product_memberships" : [
"MLXVLM"
],
"sources" : [
"MediaProcessing.swift",
"Models/Gemma3.swift",
"Models/Idefics3.swift",
"Models/Paligemma.swift",
"Models/Qwen25VL.swift",
"Models/Qwen2VL.swift",
"Models/Qwen3VL.swift",
"Models/QwenVL.swift",
"Models/SmolVLM2.swift",
"VLMModel.swift",
"VLMModelFactory.swift"
],
"target_dependencies" : [
"MLXLMCommon"
],
"type" : "library"
},
{
"c99name" : "MLXMNIST",
"module_type" : "SwiftTarget",
"name" : "MLXMNIST",
"path" : "Libraries/MLXMNIST",
"product_dependencies" : [
"MLX",
"MLXFast",
"MLXNN",
"MLXOptimizers",
"MLXRandom",
"Transformers",
"Gzip"
],
"product_memberships" : [
"MLXMNIST"
],
"sources" : [
"Files.swift",
"MNIST.swift",
"Random.swift"
],
"type" : "library"
},
{
"c99name" : "MLXLMTests",
"module_type" : "SwiftTarget",
"name" : "MLXLMTests",
"path" : "Tests/MLXLMTests",
"product_dependencies" : [
"MLX",
"MLXNN",
"MLXOptimizers",
"MLXRandom",
"Transformers"
],
"sources" : [
"BaseConfigurationTests.swift",
"EvalTests.swift",
"StreamlinedTests.swift",
"ToolTests.swift",
"UserInputTests.swift"
],
"target_dependencies" : [
"MLXLMCommon",
"MLXLLM",
"MLXVLM"
],
"type" : "test"
},
{
"c99name" : "MLXLMCommon",
"module_type" : "SwiftTarget",
"name" : "MLXLMCommon",
"path" : "Libraries/MLXLMCommon",
"product_dependencies" : [
"MLX",
"MLXNN",
"MLXOptimizers",
"MLXRandom",
"MLXLinalg",
"Transformers"
],
"product_memberships" : [
"MLXLLM",
"MLXVLM",
"MLXLMCommon",
"MLXEmbedders"
],
"sources" : [
"Adapters/LoRA/DoRA+Layers.swift",
"Adapters/LoRA/LoRA+Layers.swift",
"Adapters/LoRA/LoRAContainer.swift",
"Adapters/LoRA/LoRAModel.swift",
"Adapters/ModelAdapter.swift",
"Adapters/ModelAdapterFactory.swift",
"Adapters/ModelAdapterTypeRegistry.swift",
"AttentionUtils.swift",
"BaseConfiguration.swift",
"Chat.swift",
"Evaluate.swift",
"Extensions/Encodable+toolResult.swift",
"KVCache.swift",
"LanguageModel.swift",
"Load.swift",
"ModelConfiguration.swift",
"ModelContainer.swift",
"ModelFactory.swift",
"Models/Gemma.swift",
"Module+Extensions.swift",
"Registries/AbstractModelRegistry.swift",
"Registries/ModelTypeRegistry.swift",
"Registries/ProcessorTypeRegistry.swift",
"Streamlined.swift",
"StringOrNumber.swift",
"Tokenizer.swift",
"Tool/Tool.swift",
"Tool/ToolCall.swift",
"Tool/ToolCallProcessor.swift",
"Tool/ToolParameter.swift",
"Tool/Value.swift",
"UserInput.swift"
],
"type" : "library"
},
{
"c99name" : "MLXLLM",
"module_type" : "SwiftTarget",
"name" : "MLXLLM",
"path" : "Libraries/MLXLLM",
"product_dependencies" : [
"MLX",
"MLXFast",
"MLXNN",
"MLXOptimizers",
"MLXRandom",
"Transformers"
],
"product_memberships" : [
"MLXLLM"
],
"sources" : [
"LLMModel.swift",
"LLMModelFactory.swift",
"Lora+Data.swift",
"LoraTrain.swift",
"Models/BaichuanM1.swift",
"Models/BailingMoe.swift",
"Models/Bitnet.swift",
"Models/Cohere.swift",
"Models/DeepseekV3.swift",
"Models/Ernie4_5.swift",
"Models/Exaone4.swift",
"Models/FalconH1.swift",
"Models/GLM4.swift",
"Models/GPTOSS.swift",
"Models/Gemma.swift",
"Models/Gemma2.swift",
"Models/Gemma3Text.swift",
"Models/Gemma3nText.swift",
"Models/Granite.swift",
"Models/GraniteMoeHybrid.swift",
"Models/Internlm2.swift",
"Models/LFM2.swift",
"Models/LFM2MoE.swift",
"Models/Lille130m.swift",
"Models/Llama.swift",
"Models/MiMo.swift",
"Models/NanoChat.swift",
"Models/Olmo2.swift",
"Models/OlmoE.swift",
"Models/OpenELM.swift",
"Models/Phi.swift",
"Models/Phi3.swift",
"Models/PhiMoE.swift",
"Models/Qwen2.swift",
"Models/Qwen3.swift",
"Models/Qwen3MoE.swift",
"Models/RoPEUtils.swift",
"Models/SSM.swift",
"Models/SmolLM3.swift",
"Models/Starcoder2.swift",
"SuScaledRotaryEmbedding.swift",
"SwitchLayers.swift"
],
"target_dependencies" : [
"MLXLMCommon"
],
"type" : "library"
},
{
"c99name" : "MLXEmbedders",
"module_type" : "SwiftTarget",
"name" : "MLXEmbedders",
"path" : "Libraries/Embedders",
"product_dependencies" : [
"MLX",
"MLXFast",
"MLXNN",
"Transformers",
"MLXLinalg"
],
"product_memberships" : [
"MLXEmbedders"
],
"sources" : [
"BaseConfiguration.swift",
"Bert.swift",
"Configuration.swift",
"EmbeddingModel.swift",
"Load.swift",
"Models.swift",
"NomicBert.swift",
"Pooling.swift",
"Qwen3.swift",
"Tokenizer.swift"
],
"target_dependencies" : [
"MLXLMCommon"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
Done.