Build Information
Successful build of Cast, reference v0.1.0 (4243d1), with Swift 6.0 for macOS (SPM) on 30 Apr 2026 23:48:41 UTC.
Swift 6 data race errors: 0
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/jaylann/Cast.git
Reference: v0.1.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/jaylann/Cast
* tag v0.1.0 -> FETCH_HEAD
HEAD is now at 4243d1b test(ci): skip MLX runtime tests on CI; pin README install to v0.1.0 (#76)
Submodule path 'Sources/CMLXStructured/xgrammar': checked out 'd68df627908376f3ed5e0a989395a03cc41894cd'
Submodule path 'Sources/CMLXStructured/xgrammar/3rdparty/cpptrace': checked out '6689d14c203eed390ae7bb64f56a983cfd7dff9c'
Submodule path 'Sources/CMLXStructured/xgrammar/3rdparty/dlpack': checked out 'bbd2f4d32427e548797929af08cfe2a9cbb3cf12'
Submodule path 'Sources/CMLXStructured/xgrammar/3rdparty/googletest': checked out 'df1544bcee0c7ce35cd5ea0b3eb8cc81855a4140'
Submodule 'Sources/CMLXStructured/xgrammar' (https://github.com/mlc-ai/xgrammar) registered for path 'Sources/CMLXStructured/xgrammar'
Cloning into '/Users/admin/builder/spi-builder-workspace/Sources/CMLXStructured/xgrammar'...
Submodule '3rdparty/cpptrace' (https://github.com/jeremy-rifkin/cpptrace.git) registered for path 'Sources/CMLXStructured/xgrammar/3rdparty/cpptrace'
Submodule '3rdparty/dlpack' (https://github.com/dmlc/dlpack.git) registered for path 'Sources/CMLXStructured/xgrammar/3rdparty/dlpack'
Submodule '3rdparty/googletest' (https://github.com/google/googletest.git) registered for path 'Sources/CMLXStructured/xgrammar/3rdparty/googletest'
Cloning into '/Users/admin/builder/spi-builder-workspace/Sources/CMLXStructured/xgrammar/3rdparty/cpptrace'...
Cloning into '/Users/admin/builder/spi-builder-workspace/Sources/CMLXStructured/xgrammar/3rdparty/dlpack'...
Cloning into '/Users/admin/builder/spi-builder-workspace/Sources/CMLXStructured/xgrammar/3rdparty/googletest'...
Cloned https://github.com/jaylann/Cast.git
Revision (git rev-parse @):
4243d1bdb37adc78f84f3157111fe6bfed7282c2
SUCCESS checkout https://github.com/jaylann/Cast.git at v0.1.0
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/jaylann/Cast.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64
[1/1] Compiling plugin Swift-DocC
[2/2] Compiling plugin Swift-DocC Preview
Building for debugging...
[2/254] Write sources
[10/254] Copying t5_tokenizer_config.json
[10/254] Write sources
[12/254] Copying gpt2_tokenizer_config.json
[12/254] Write sources
[17/254] Copying PrivacyInfo.xcprivacy
[17/254] Write sources
[43/254] Write swift-version-5BDAB9E9C0126B9D.txt
[44/254] Compiling _SwiftSyntaxCShims dummy.c
[45/254] Compiling _NumericsShims _NumericsShims.c
[46/254] Compiling version.cpp
[48/260] Emitting module SwiftSyntax509
[49/260] Compiling SwiftSyntax509 Empty.swift
[50/260] Emitting module SwiftSyntax600
[51/260] Compiling SwiftSyntax600 Empty.swift
[52/260] Emitting module SwiftSyntax510
[53/260] Compiling SwiftSyntax510 Empty.swift
[54/376] Compiling Crypto ASN1.swift
[55/376] Compiling Crypto ASN1Any.swift
[56/377] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[57/377] Compiling Crypto GeneralizedTime.swift
[58/377] Compiling Crypto ObjectIdentifier.swift
[59/377] Compiling Crypto Cipher.swift
[60/377] Compiling Crypto Nonces.swift
[61/377] Compiling RealModule RealFunctions.swift
[62/377] Compiling RealModule Real.swift
[63/377] Compiling RealModule Float80+Real.swift
[64/378] Compiling RealModule Float+Real.swift
[65/378] Compiling RealModule ElementaryFunctions.swift
[66/378] Compiling RealModule Float16+Real.swift
[67/378] Compiling RealModule RelaxedArithmetic.swift
[68/378] Compiling RealModule AugmentedArithmetic.swift
[69/378] Compiling Crypto AES-GCM.swift
[70/378] Compiling Crypto AES-GCM_boring.swift
[71/378] Compiling RealModule Double+Real.swift
[72/378] Compiling Crypto ChaChaPoly_boring.swift
[73/378] Compiling Crypto ChaChaPoly.swift
[76/378] Emitting module RealModule
[77/378] Compiling Crypto ASN1Null.swift
[78/378] Compiling Crypto ASN1OctetString.swift
[79/387] Compiling Crypto ASN1Strings.swift
[80/387] Compiling Crypto ArraySliceBigint.swift
[81/387] Compiling Crypto ASN1BitString.swift
[82/387] Compiling Crypto ASN1Boolean.swift
[83/387] Compiling Crypto ASN1Identifier.swift
[84/387] Compiling Crypto ASN1Integer.swift
[85/408] Emitting module InternalCollectionsUtilities
[86/454] Compiling ComplexModule Complex+Hashable.swift
[87/455] Compiling ComplexModule Polar.swift
[88/455] Compiling ComplexModule Complex+IntegerLiteral.swift
[89/455] Compiling ComplexModule Complex+Numeric.swift
[90/455] Compiling ComplexModule Complex+StringConvertible.swift
[91/455] Compiling ComplexModule Complex.swift
[92/455] Compiling ComplexModule Scale.swift
[92/455] Compiling utils.cpp
[93/455] Compiling scheduler.cpp
[95/455] Compiling ComplexModule Complex+Codable.swift
[96/455] Compiling ComplexModule Complex+ElementaryFunctions.swift
[97/455] Compiling ComplexModule Complex+AdditiveArithmetic.swift
[98/455] Compiling ComplexModule Complex+AlgebraicField.swift
[98/455] Compiling yyjson.c
[100/455] Emitting module ComplexModule
[101/668] Compiling HashTreeCollections _HashNode+Structural isDisjoint.swift
[102/668] Compiling HashTreeCollections TreeSet+SetAlgebra basics.swift
[103/668] Compiling HashTreeCollections TreeSet+SetAlgebra formIntersection.swift
[104/668] Compiling HashTreeCollections TreeSet+SetAlgebra formSymmetricDifference.swift
[105/668] Compiling HashTreeCollections TreeSet+SetAlgebra formUnion.swift
[106/668] Compiling HashTreeCollections TreeSet+SetAlgebra intersection.swift
[107/668] Compiling HashTreeCollections TreeSet+SetAlgebra isDisjoint.swift
[108/668] Compiling HashTreeCollections TreeSet+SetAlgebra isEqualSet.swift
[109/668] Compiling HashTreeCollections _HashNode+Lookups.swift
[110/668] Compiling HashTreeCollections _HashNode+Primitive Insertions.swift
[111/668] Compiling HashTreeCollections _HashNode+Primitive Removals.swift
[112/668] Compiling HashTreeCollections _HashNode+Primitive Replacement.swift
[113/668] Compiling HashTreeCollections _HashNode+Storage.swift
[114/668] Compiling HashTreeCollections _HashNode+Structural compactMapValues.swift
[115/668] Compiling HashTreeCollections _HashNode+Structural filter.swift
[116/668] Compiling HashTreeCollections _HashNode+Structural intersection.swift
[117/668] Compiling HashTreeCollections TreeSet+SetAlgebra isStrictSubset.swift
[118/668] Compiling HashTreeCollections _AncestorHashSlots.swift
[119/668] Compiling HashTreeCollections _Bitmap.swift
[120/668] Compiling HashTreeCollections _Bucket.swift
[121/668] Compiling HashTreeCollections _Hash.swift
[122/668] Compiling HashTreeCollections _HashLevel.swift
[123/668] Compiling HashTreeCollections _HashNode+Builder.swift
[124/668] Compiling HashTreeCollections _HashNode+Debugging.swift
[125/675] Compiling HeapModule _HeapNode.swift
[126/675] Compiling HeapModule Heap+Invariants.swift
[127/675] Compiling HeapModule Heap+ExpressibleByArrayLiteral.swift
[128/675] Compiling HeapModule Heap+UnsafeHandle.swift
[129/675] Compiling HeapModule Heap+Descriptions.swift
[130/675] Compiling HeapModule Heap.swift
[131/675] Emitting module HeapModule
[137/675] Compiling HashTreeCollections _HashNode+Initializers.swift
[138/683] Emitting module Numerics
[139/683] Compiling Numerics Numerics.swift
[140/683] Compiling HashTreeCollections _HashTreeStatistics.swift
[141/683] Compiling HashTreeCollections _RawHashNode+UnsafeHandle.swift
[142/683] Compiling HashTreeCollections TreeDictionary+ExpressibleByDictionaryLiteral.swift
[143/683] Compiling HashTreeCollections TreeDictionary+Filter.swift
[144/683] Compiling HashTreeCollections TreeDictionary+Hashable.swift
[145/683] Compiling HashTreeCollections TreeDictionary+Initializers.swift
[146/717] Compiling ContainersPreview BorrowingIteratorProtocol.swift
[147/717] Compiling ContainersPreview BorrowingSequence+Standard Conformances.swift
[148/717] Compiling ContainersPreview BorrowingSequence+Utilities.swift
[149/717] Compiling ContainersPreview BorrowingSequence.swift
[150/720] Compiling ContainersPreview RandomAccessContainer.swift
[151/720] Compiling ContainersPreview RangeExpression2.swift
[152/720] Compiling ContainersPreview RangeReplaceableContainer.swift
[153/720] Compiling ContainersPreview Drain+Map.swift
[154/720] Compiling ContainersPreview OutputSpan+Extras.swift
[155/720] Compiling ContainersPreview TemporaryAllocation.swift
[156/720] Compiling ContainersPreview BorrowingIteratorProtocol+Copy.swift
[157/720] Compiling ContainersPreview BorrowingIteratorProtocol+ElementsEqual.swift
[158/720] Compiling ContainersPreview Drain+Reduce.swift
[159/720] Compiling ContainersPreview Drain.swift
[160/720] Compiling ContainersPreview Producer+Collect.swift
[161/720] Compiling ContainersPreview ContainerIterator.swift
[162/720] Compiling ContainersPreview DynamicContainer.swift
[163/720] Compiling ContainersPreview MutableContainer.swift
[164/720] Compiling ContainersPreview PermutableContainer.swift
[165/720] Compiling ContainersPreview Producer+Filter.swift
[166/720] Compiling ContainersPreview Producer+Map.swift
[167/720] Compiling ContainersPreview Producer+Reduce.swift
[168/720] Compiling ContainersPreview BorrowingIteratorProtocol+Filter.swift
[169/720] Compiling ContainersPreview BorrowingIteratorProtocol+Map.swift
[170/720] Compiling ContainersPreview BorrowingIteratorProtocol+Reduce.swift
[171/720] Compiling ContainersPreview BorrowingIteratorProtocol+SpanwiseZip.swift
[172/720] Compiling ContainersPreview Producer.swift
[173/720] Compiling ContainersPreview Borrow.swift
[174/720] Compiling ContainersPreview Box.swift
[177/720] Compiling ContainersPreview Inout.swift
[178/720] Compiling ContainersPreview InputSpan.swift
[179/720] Compiling ContainersPreview Shared.swift
[180/720] Compiling HashTreeCollections TreeDictionary.swift
[187/720] Emitting module ContainersPreview
[188/720] Compiling ContainersPreview BidirectionalContainer.swift
[189/720] Compiling ContainersPreview Container+Filter.swift
[190/720] Compiling ContainersPreview Container+SpanwiseZip.swift
[191/720] Compiling ContainersPreview Container.swift
[206/720] Compiling random.cpp
[208/720] Compiling HashTreeCollections TreeSet+Codable.swift
[209/720] Compiling HashTreeCollections TreeSet+Collection.swift
[210/720] Compiling HashTreeCollections TreeSet+CustomReflectable.swift
[211/720] Compiling HashTreeCollections TreeSet+Debugging.swift
[212/720] Compiling HashTreeCollections TreeSet+Descriptions.swift
[213/720] Compiling HashTreeCollections _HashNode+Subtree Removals.swift
[214/720] Compiling HashTreeCollections _HashNode+UnsafeHandle.swift
[215/720] Compiling HashTreeCollections _HashNode.swift
[216/720] Compiling HashTreeCollections _HashNodeHeader.swift
[217/720] Compiling HashTreeCollections _HashSlot.swift
[218/720] Compiling HashTreeCollections _HashStack.swift
[219/720] Compiling HashTreeCollections _HashTreeIterator.swift
[220/761] Compiling DequeModule UniqueDeque+Insertions.swift
[221/761] Compiling DequeModule UniqueDeque+Prepend.swift
[222/761] Compiling DequeModule UniqueDeque+Removals.swift
[223/761] Compiling DequeModule UniqueDeque+Replacements.swift
[224/761] Compiling DequeModule Deque._UnsafeHandle.swift
[225/761] Compiling DequeModule Deque.swift
[226/761] Compiling DequeModule _DequeBuffer.swift
[227/761] Compiling DequeModule _DequeBufferHeader.swift
[228/769] Compiling DequeModule UniqueDeque+Append.swift
[229/769] Compiling DequeModule UniqueDeque+Consumption.swift
[230/769] Compiling DequeModule UniqueDeque+Container.swift
[231/769] Compiling DequeModule UniqueDeque+Descriptions.swift
[232/773] Compiling HashTreeCollections _HashNode+Structural symmetricDifference.swift
[233/773] Compiling HashTreeCollections _HashNode+Structural union.swift
[234/773] Compiling HashTreeCollections _HashNode+Subtree Insertions.swift
[235/773] Compiling HashTreeCollections _HashNode+Subtree Modify.swift
[236/773] Compiling HashTreeCollections _RawHashNode.swift
[237/773] Compiling HashTreeCollections _UnmanagedHashNode.swift
[238/773] Compiling HashTreeCollections _UnsafePath.swift
[239/773] Compiling OrderedCollections OrderedSet+Testing.swift
[240/773] Compiling OrderedCollections OrderedSet+UnorderedView.swift
[241/773] Compiling OrderedCollections OrderedSet+UnstableInternals.swift
[242/773] Compiling OrderedCollections OrderedSet.swift
[243/773] Compiling OrderedCollections _UnsafeBitset.swift
[244/773] Compiling HashTreeCollections _HashNode+Structural mapValues.swift
[245/773] Compiling HashTreeCollections _HashNode+Structural merge.swift
[246/773] Compiling HashTreeCollections _HashNode+Structural subtracting.swift
[247/773] Compiling DequeModule RigidDeque+Removals.swift
[248/773] Compiling DequeModule RigidDeque+Replacements.swift
[249/773] Compiling DequeModule RigidDeque+Testing.swift
[250/773] Compiling DequeModule RigidDeque.swift
[251/773] Compiling DequeModule UniqueDeque+Equatable.swift
[252/773] Compiling DequeModule UniqueDeque+Experimental.swift
[253/773] Compiling DequeModule UniqueDeque+Hashable.swift
[254/773] Compiling DequeModule UniqueDeque+Initializers.swift
[255/773] Compiling DequeModule RigidDeque+Hashable.swift
[256/773] Compiling DequeModule RigidDeque+Initializers.swift
[257/773] Compiling DequeModule RigidDeque+Insertions.swift
[258/773] Compiling DequeModule RigidDeque+Prepend.swift
[259/773] Compiling DequeModule Deque+Codable.swift
[260/773] Compiling DequeModule Deque+Collection.swift
[261/773] Compiling DequeModule Deque+CustomReflectable.swift
[262/773] Compiling _RopeModule Rope+Remove.swift
[263/773] Compiling _RopeModule Rope+RemoveSubrange.swift
[264/773] Compiling _RopeModule Rope+Split.swift
[265/773] Compiling _RopeModule Optional Utilities.swift
[266/773] Compiling _RopeModule String Utilities.swift
[267/773] Compiling _RopeModule String.Index+ABI.swift
[268/773] Compiling HashTreeCollections TreeSet+SetAlgebra isStrictSuperset.swift
[271/773] Compiling DequeModule RigidDeque+Append.swift
[272/773] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[273/773] Compiling DequeModule Deque+Extras.swift
[274/773] Compiling DequeModule Deque+Hashable.swift
[275/773] Compiling DequeModule Deque+Testing.swift
[276/773] Compiling DequeModule Deque._Storage.swift
[277/773] Compiling DequeModule RigidDeque+Equatable.swift
[278/773] Compiling DequeModule RigidDeque+Experimental.swift
[285/773] Compiling DequeModule UniqueDeque.swift
[286/773] Compiling DequeModule _DequeSlot.swift
[287/773] Compiling DequeModule _UnsafeDequeHandle.swift
[288/773] Compiling DequeModule _UnsafeDequeSegments.swift
[300/773] Compiling OrderedCollections OrderedSet+SubSequence.swift
[302/773] Compiling HashTreeCollections TreeSet+SetAlgebra isSubset.swift
[303/773] Compiling HashTreeCollections TreeSet+SetAlgebra isSuperset.swift
[304/773] Compiling HashTreeCollections TreeSet+SetAlgebra subtract.swift
[305/773] Compiling HashTreeCollections TreeSet+SetAlgebra subtracting.swift
[306/773] Compiling HashTreeCollections TreeSet+SetAlgebra symmetricDifference.swift
[307/773] Compiling HashTreeCollections TreeSet+SetAlgebra union.swift
[308/773] Compiling HashTreeCollections TreeSet.swift
[335/773] Compiling DequeModule Deque+Descriptions.swift
[336/773] Compiling DequeModule Deque+Equatable.swift
[341/773] Compiling DequeModule RigidDeque+Consumption.swift
[342/773] Compiling DequeModule RigidDeque+Container.swift
[343/773] Compiling DequeModule RigidDeque+Descriptions.swift
[368/773] Emitting module _RopeModule
[378/773] Emitting module OrderedCollections
[421/780] Emitting module DequeModule
[441/794] Emitting module HashTreeCollections
[441/794] Compiling primitives.cpp
[442/794] Compiling no_gguf.cpp
[443/794] Compiling linalg.cpp
[455/803] Emitting module Crypto
[456/803] Compiling Jinja AST.swift
[457/803] Compiling Jinja Error.swift
[458/803] Compiling Jinja Filters.swift
[459/803] Compiling Jinja Globals.swift
[460/803] Compiling Jinja Macro.swift
[461/803] Compiling Jinja Parser.swift
[462/803] Compiling Jinja Interpreter.swift
[463/803] Compiling Jinja Lexer.swift
[481/803] Compiling SwiftSyntax SyntaxNodesD.swift
[482/803] Compiling SwiftSyntax SyntaxNodesEF.swift
[483/803] Compiling SwiftSyntax SyntaxNodesGHI.swift
[513/803] Compiling SwiftSyntax SyntaxNodesJKLMN.swift
[514/803] Compiling SwiftSyntax SyntaxNodesOP.swift
[515/803] Compiling SwiftSyntax SyntaxNodesQRS.swift
[516/803] Compiling SwiftSyntax SyntaxNodesTUVWXYZ.swift
[530/803] Compiling transforms.cpp
[532/803] Compiling Crypto Optional+withUnsafeBytes_boring.swift
[533/803] Compiling Crypto RNG_boring.swift
[534/803] Compiling Crypto SafeCompare_boring.swift
[535/803] Compiling Crypto Zeroization_boring.swift
[536/803] Compiling Crypto PrettyBytes.swift
[537/803] Compiling Crypto SafeCompare.swift
[538/803] Compiling Crypto SecureBytes.swift
[539/803] Compiling Crypto Zeroization.swift
[540/803] Compiling Crypto resource_bundle_accessor.swift
[540/803] Compiling fft.cpp
[541/803] Compiling graph_utils.cpp
[542/803] Compiling load.cpp
[544/803] Compiling Jinja Tests.swift
[545/804] Compiling Jinja Utilities.swift
[546/804] Compiling Jinja Template.swift
[547/804] Compiling Jinja PropertyMembers.swift
[548/804] Compiling Jinja Token.swift
[548/804] Compiling dtype_utils.cpp
[551/804] Compiling dtype.cpp
[553/804] Compiling Jinja Value.swift
[553/804] Compiling utils.cpp
[554/804] Compiling safetensors.cpp
[555/804] Compiling ops.cpp
[556/804] Compiling no_ring.cpp
[557/804] Compiling einsum.cpp
[563/804] Emitting module Jinja
[565/804] Compiling fast.cpp
[566/804] Compiling no_nccl.cpp
[568/804] Emitting module SwiftSyntax
[568/812] Compiling no_mpi.cpp
[569/812] Compiling device.cpp
[570/812] Compiling primitives.cpp
[571/812] Compiling no_jaccl.cpp
[572/812] Compiling ops.cpp
[573/812] Compiling distributed.cpp
[581/812] Compiling utils.cpp
[582/812] Compiling unary.cpp
[583/812] Compiling sort.cpp
[584/812] Compiling ternary.cpp
[585/812] Compiling softmax.cpp
[586/812] Compiling slicing.cpp
[588/812] Compiling Hub Hub.swift
[589/812] Compiling Hub YYJSONParser.swift
[590/812] Compiling Hub resource_bundle_accessor.swift
[597/812] Compiling compile.cpp
[598/812] Compiling resident.cpp
[599/812] Compiling scan.cpp
[600/812] Compiling rope.cpp
[601/812] Compiling reduce.cpp
[602/812] Compiling scaled_dot_product_attention.cpp
[604/812] Compiling Hub Downloader.swift
[605/812] Compiling Hub BinaryDistinct.swift
[606/812] Emitting module Hub
[607/812] Compiling Hub Config.swift
[608/812] Compiling Hub HubApi.swift
[622/812] Compiling quantized.cpp
[623/824] Compiling primitives.cpp
[624/824] Compiling metal.cpp
[625/824] Compiling normalization.cpp
[627/824] Compiling Tokenizers PreTokenizer.swift
[628/824] Compiling Tokenizers Normalizer.swift
[629/824] Compiling Tokenizers Trie.swift
[630/824] Compiling Tokenizers ByteEncoder.swift
[631/824] Compiling Tokenizers Decoder.swift
[632/824] Compiling Tokenizers TokenLattice.swift
[633/824] Compiling Tokenizers PostProcessor.swift
[634/824] Compiling Tokenizers BPETokenizer.swift
[635/824] Compiling Tokenizers BertTokenizer.swift
[636/824] Compiling Tokenizers String+PreTokenization.swift
[637/824] Compiling Tokenizers Tokenizer.swift
[638/824] Emitting module Tokenizers
[639/825] Compiling Tokenizers UnigramTokenizer.swift
[639/825] Compiling logsumexp.cpp
[640/835] Compiling matmul.cpp
[641/835] Compiling indexing.cpp
[642/835] Compiling hadamard.cpp
[643/835] Compiling fence.cpp
[644/835] Compiling event.cpp
[659/835] Compiling jit_kernels.cpp
[660/835] Compiling eval.cpp
[661/835] Compiling fft.cpp
[662/835] Compiling distributed.cpp
[663/835] Compiling device_info.cpp
[665/835] Compiling Generation GenerationConfig.swift
[666/835] Compiling Generation TopPLogitsWarper.swift
[667/835] Compiling Generation TemperatureLogitsWarper.swift
[668/835] Compiling Generation TopKLogitsWarper.swift
[669/835] Emitting module Generation
[670/835] Compiling Generation MinPLogitsWarper.swift
[671/835] Compiling Generation LogitsProcessor.swift
[672/835] Compiling Generation RepetitionPenaltyLogitsProcessor.swift
[673/835] Compiling Generation Generation.swift
[674/835] Compiling Generation Decoders.swift
[674/835] Compiling slicing.cpp
[675/839] Compiling copy.cpp
[676/839] Compiling allocator.cpp
[678/839] Compiling Models Weights.swift
[678/839] Compiling device.cpp
[680/839] Compiling Models LanguageModelTypes.swift
[681/839] Emitting module Models
[682/839] Compiling Models LanguageModel.swift
[682/839] Compiling conv.cpp
[683/839] Compiling binary.cpp
[684/839] Compiling threefry.cpp
[685/839] Compiling compiled.cpp
[686/839] Compiling custom_kernel.cpp
[687/839] Compiling export.cpp
[688/839] Compiling no_cuda.cpp
[689/839] Compiling primitives.cpp
[690/839] Compiling copy.cpp
[698/839] Compiling select.cpp
[699/881] Compiling softmax.cpp
[700/891] Compiling svd.cpp
[702/897] Compiling SwiftDiagnostics FixIt.swift
[702/898] Compiling scan.cpp
[704/898] Compiling SwiftDiagnostics Note.swift
[705/898] Compiling SwiftDiagnostics Message.swift
[706/898] Compiling SwiftDiagnostics DiagnosticDecorator.swift
[707/898] Compiling SwiftDiagnostics DiagnosticsFormatter.swift
[708/898] Compiling SwiftDiagnostics BasicDiagnosticDecorator.swift
[709/898] Compiling SwiftDiagnostics Diagnostic.swift
[710/898] Compiling SwiftDiagnostics ANSIDiagnosticDecorator.swift
[711/898] Compiling SwiftDiagnostics Convenience.swift
[712/898] Emitting module SwiftDiagnostics
[713/898] Compiling SwiftDiagnostics GroupedDiagnostics.swift
[714/898] Compiling SwiftParser TopLevel.swift
[715/898] Compiling SwiftParser TriviaParser.swift
[716/898] Compiling SwiftParser Types.swift
[717/898] Compiling SwiftParser ExperimentalFeatures.swift
[718/898] Compiling SwiftParser StringLiterals.swift
[719/898] Compiling SwiftParser SwiftParserCompatibility.swift
[720/898] Compiling SwiftParser SwiftVersion.swift
[721/898] Compiling SwiftParser SyntaxUtils.swift
[722/902] Compiling SwiftBasicFormat Syntax+Extensions.swift
[723/902] Compiling SwiftBasicFormat SyntaxProtocol+Formatted.swift
[724/902] Emitting module SwiftBasicFormat
[725/902] Compiling SwiftBasicFormat Trivia+FormatExtensions.swift
[726/902] Compiling SwiftBasicFormat InferIndentation.swift
[727/902] Compiling SwiftBasicFormat BasicFormat.swift
[728/902] Compiling SwiftParser UnicodeScalarExtensions.swift
[729/902] Compiling SwiftParser Lookahead.swift
[730/902] Compiling SwiftParser LoopProgressCondition.swift
[731/902] Compiling SwiftParser Modifiers.swift
[732/902] Compiling SwiftParser Names.swift
[732/902] Compiling qrf.cpp
[734/902] Emitting module SwiftParser
[735/902] Compiling SwiftParser Directives.swift
[736/902] Compiling SwiftParser ExpressionInterpretedAsVersionTuple.swift
[737/902] Compiling SwiftParser Expressions.swift
[738/902] Compiling SwiftParser IncrementalParseTransition.swift
[739/902] Compiling SwiftParser IsValidIdentifier.swift
[739/902] Compiling quantized.cpp
[740/902] Compiling sort.cpp
[742/902] Compiling SwiftParser Recovery.swift
[743/902] Compiling SwiftParser Specifiers.swift
[744/902] Compiling SwiftParser Statements.swift
[745/902] Compiling SwiftParser StringLiteralRepresentedLiteralValue.swift
[746/902] Compiling SwiftParser Nominals.swift
[747/902] Compiling SwiftParser Parameters.swift
[748/902] Compiling SwiftParser ParseSourceFile.swift
[749/902] Compiling SwiftParser Parser.swift
[750/902] Compiling SwiftParser Patterns.swift
[751/902] Compiling SwiftParser Attributes.swift
[752/902] Compiling SwiftParser Availability.swift
[753/902] Compiling SwiftParser CharacterInfo.swift
[754/902] Compiling SwiftParser CollectionNodes+Parsable.swift
[755/902] Compiling SwiftParser Declarations.swift
[756/902] Compiling SwiftParser TokenConsumer.swift
[757/902] Compiling SwiftParser TokenPrecedence.swift
[758/902] Compiling SwiftParser TokenSpec.swift
[759/902] Compiling SwiftParser TokenSpecSet.swift
[760/902] Compiling SwiftParser Cursor.swift
[761/902] Compiling SwiftParser Lexeme.swift
[762/902] Compiling SwiftParser LexemeSequence.swift
[763/902] Compiling SwiftParser Lexer.swift
[764/902] Compiling SwiftParser RegexLiteralLexer.swift
[764/902] Compiling jit_compiler.cpp
[766/902] Compiling SwiftParser IsLexerClassified.swift
[767/902] Compiling SwiftParser LayoutNodes+Parsable.swift
[768/902] Compiling SwiftParser Parser+TokenSpecSet.swift
[769/902] Compiling SwiftParser TokenSpecStaticMembers.swift
[769/902] Compiling primitives.cpp
[771/915] Compiling SwiftParserDiagnostics SyntaxKindNameForDiagnostics.swift
[772/916] Compiling SwiftParserDiagnostics TokenNameForDiagnostics.swift
[772/916] Compiling logsumexp.cpp
[774/926] Compiling SwiftParserDiagnostics SyntaxExtensions.swift
[775/926] Compiling SwiftParserDiagnostics Utils.swift
[776/926] Compiling SwiftParserDiagnostics PresenceUtils.swift
[777/926] Compiling SwiftParserDiagnostics ChildNameForDiagnostics.swift
[778/926] Compiling SwiftParserDiagnostics ParserDiagnosticMessages.swift
[779/926] Compiling SwiftOperators PrecedenceGroup.swift
[779/927] Compiling matmul.cpp
[780/927] Compiling luf.cpp
[782/927] Compiling SwiftOperators SyntaxSynthesis.swift
[783/927] Compiling SwiftOperators OperatorTable+Defaults.swift
[784/927] Compiling SwiftOperators OperatorTable.swift
[785/927] Compiling SwiftOperators OperatorTable+Semantics.swift
[786/927] Compiling SwiftOperators OperatorError+Diagnostics.swift
[787/927] Compiling SwiftOperators OperatorError.swift
[788/927] Compiling SwiftOperators Operator.swift
[789/927] Compiling SwiftOperators PrecedenceGraph.swift
[790/927] Compiling SwiftOperators OperatorTable+Folding.swift
[791/927] Emitting module SwiftOperators
[791/927] Compiling masked_mm.cpp
[793/927] Compiling SwiftParserDiagnostics MissingNodesError.swift
[794/927] Compiling SwiftParserDiagnostics MissingTokenError.swift
[795/927] Compiling SwiftParserDiagnostics DiagnosticExtensions.swift
[796/927] Compiling SwiftParserDiagnostics LexerDiagnosticMessages.swift
[797/927] Emitting module SwiftParserDiagnostics
[798/927] Compiling SwiftParserDiagnostics MultiLineStringLiteralDiagnosticsGenerator.swift
[799/927] Compiling SwiftParserDiagnostics ParseDiagnosticsGenerator.swift
[799/927] Compiling inverse.cpp
[800/927] Compiling hadamard.cpp
[801/942] Compiling eval.cpp
[802/942] Compiling cblas.cpp
[803/942] Compiling encoder.cpp
[804/942] Compiling unary.cpp
[805/942] Compiling bnns.cpp
[806/942] Compiling device_info.cpp
[807/942] Compiling fft.cpp
[808/942] Compiling distributed.cpp
[810/942] Compiling SwiftSyntaxBuilder WithTrailingCommaSyntax+EnsuringTrailingComma.swift
[811/942] Compiling SwiftSyntaxBuilder BuildableNodes.swift
[812/943] Compiling SwiftSyntaxBuilder RenamedChildrenBuilderCompatibility.swift
[813/943] Compiling SwiftSyntaxBuilder ResultBuilders.swift
[814/943] Compiling SwiftSyntaxBuilder SyntaxExpressibleByStringInterpolationConformances.swift
[815/943] Emitting module SwiftSyntaxBuilder
[815/943] Compiling eigh.cpp
[817/943] Compiling SwiftSyntaxBuilder Syntax+StringInterpolation.swift
[818/943] Compiling SwiftSyntaxBuilder SyntaxNodeWithBody.swift
[819/943] Compiling SwiftSyntaxBuilder ResultBuilderExtensions.swift
[820/943] Compiling SwiftSyntaxBuilder SwiftSyntaxBuilderCompatibility.swift
[821/943] Compiling SwiftSyntaxBuilder ConvenienceInitializers.swift
[822/943] Compiling SwiftSyntaxBuilder DeclSyntaxParseable.swift
[823/943] Compiling SwiftSyntaxBuilder Indenter.swift
[824/943] Compiling SwiftSyntaxBuilder ListBuilder.swift
[825/943] Compiling SwiftSyntaxBuilder SyntaxParsable+ExpressibleByStringInterpolation.swift
[826/943] Compiling SwiftSyntaxBuilder ValidatingSyntaxNodes.swift
[826/943] Compiling indexing.cpp
[827/943] Compiling eig.cpp
[828/943] Compiling arg_reduce.cpp
[829/961] Compiling utils.cpp
[830/961] Compiling slicing.cpp
[832/961] Compiling SwiftSyntaxMacros PreambleMacro.swift
[832/962] Compiling reduce.cpp
[834/962] Compiling SwiftSyntaxMacros MemberMacro.swift
[835/962] Compiling SwiftSyntaxMacros PeerMacro.swift
[835/962] Compiling cholesky.cpp
[837/962] Compiling SwiftSyntaxMacros Macro.swift
[838/962] Compiling SwiftSyntaxMacros MemberAttributeMacro.swift
[839/962] Compiling SwiftSyntaxMacros CodeItemMacro.swift
[840/962] Compiling SwiftSyntaxMacros DeclarationMacro.swift
[841/962] Compiling SwiftSyntaxMacros ExpressionMacro.swift
[842/962] Compiling SwiftSyntaxMacros ExtensionMacro.swift
[843/962] Compiling SwiftSyntaxMacros AttachedMacro.swift
[844/962] Compiling SwiftSyntaxMacros BodyMacro.swift
[845/962] Compiling SwiftSyntaxMacros FreestandingMacro.swift
[846/962] Compiling SwiftSyntaxMacros Macro+Format.swift
[847/962] Emitting module SwiftSyntaxMacros
[848/962] Compiling SwiftSyntaxMacros MacroExpansionDiagnosticMessages.swift
[849/962] Compiling SwiftSyntaxMacros AccessorMacro.swift
[850/962] Compiling SwiftSyntaxMacros AbstractSourceLocation.swift
[851/962] Compiling SwiftSyntaxMacros MacroExpansionContext.swift
[852/962] Compiling SwiftSyntaxMacros Syntax+LexicalContext.swift
[852/962] Compiling utils.cpp
[854/972] Emitting module SwiftSyntaxMacroExpansion
[855/972] Compiling SwiftSyntaxMacroExpansion BasicMacroExpansionContext.swift
[856/972] Compiling SwiftSyntaxMacroExpansion FunctionParameterUtils.swift
[857/972] Compiling SwiftSyntaxMacroExpansion IndentationUtils.swift
[857/972] Compiling broadcasting.cpp
[859/972] Compiling SwiftSyntaxMacroExpansion MacroExpansionDiagnosticMessages.swift
[860/972] Compiling SwiftSyntaxMacroExpansion MacroExpansion.swift
[861/972] Compiling SwiftSyntaxMacroExpansion MacroArgument.swift
[862/972] Compiling SwiftSyntaxMacroExpansion MacroReplacement.swift
[862/972] Compiling unary_ops.cpp
[863/972] Compiling unary.cpp
[864/972] Compiling ternary_ops.cpp
[865/972] Compiling ternary.cpp
[866/972] Compiling conv.cpp
[867/972] Compiling steel_gemm_splitk.cpp
[868/972] Compiling steel_gemm_splitk_nax.cpp
[869/972] Compiling steel_gemm_segmented.cpp
[870/972] Compiling steel_gemm_masked.cpp
[871/972] Compiling steel_gemm_gather_nax.cpp
[872/972] Compiling steel_gemm_gather.cpp
[873/972] Compiling load.cpp
[874/972] Compiling steel_gemm_fused_nax.cpp
[875/972] Compiling steel_gemm_fused.cpp
[877/972] Compiling SwiftSyntaxMacroExpansion MacroSystem.swift
[878/972] Compiling SwiftSyntaxMacroExpansion MacroSpec.swift
[878/972] Compiling steel_conv.cpp
[879/972] Compiling steel_conv_general.cpp
[880/972] Compiling steel_attention_nax.cpp
[881/972] Compiling common.cpp
[882/972] Compiling compiled.cpp
[883/972] Compiling scatter_axis.cpp
[884/972] Compiling steel_attention.cpp
[885/972] Compiling sort.cpp
[886/972] Compiling softmax.cpp
[887/972] Compiling scatter.cpp
[888/972] Compiling reduce.cpp
[888/972] Compiling reduce_utils.cpp
[890/972] Compiling scan.cpp
[891/972] Compiling quantized_utils.cpp
[892/972] Compiling quantized_nax.cpp
[893/972] Compiling masked_scatter.cpp
[894/972] Compiling logsumexp.cpp
[894/972] Compiling quantized.cpp
[896/972] Compiling hadamard.cpp
[897/972] Compiling gemv_masked.cpp
[898/972] Compiling gemm_nax.cpp
[899/972] Compiling gather_front.cpp
[900/972] Compiling gemm.cpp
[901/972] Compiling gather_axis.cpp
[902/980] Compiling gather.cpp
[903/983] Compiling fp_quantized_nax.cpp
[904/984] Compiling fft.cpp
[905/984] Compiling fp_quantized.cpp
[906/984] Compiling conv.cpp
[907/984] Compiling binary_ops.cpp
[907/984] Compiling compiled_preamble.cpp
[909/984] Compiling binary_two.cpp
[910/984] Compiling copy.cpp
[911/984] Compiling binary.cpp
[912/984] Compiling arange.cpp
[913/984] Compiling copy.cpp
[914/984] Compiling array.cpp
[916/984] Compiling SwiftCompilerPluginMessageHandling PluginMacroExpansionContext.swift
[917/984] Compiling SwiftCompilerPluginMessageHandling PluginMessageCompatibility.swift
[918/984] Compiling SwiftCompilerPluginMessageHandling JSONDecoding.swift
[919/984] Compiling SwiftCompilerPluginMessageHandling Macros.swift
[920/984] Compiling SwiftCompilerPluginMessageHandling JSONEncoding.swift
[921/984] Compiling SwiftCompilerPluginMessageHandling CompilerPluginMessageHandler.swift
[922/984] Compiling SwiftCompilerPluginMessageHandling Diagnostics.swift
[923/984] Compiling SwiftCompilerPluginMessageHandling LRUCache.swift
[924/984] Emitting module SwiftCompilerPluginMessageHandling
[925/984] Compiling SwiftCompilerPluginMessageHandling PluginMessages.swift
[926/984] Compiling SwiftCompilerPluginMessageHandling CodingUtilities.swift
[927/984] Compiling SwiftCompilerPluginMessageHandling JSON.swift
[928/985] Compiling SwiftCompilerPluginMessageHandling StandardIOMessageConnection.swift
[928/985] Compiling version.cpp
[929/985] Compiling transforms.cpp
[930/985] Compiling transforms_impl.cpp
[931/987] Compiling string.cpp
[932/987] Compiling vector.cpp
[933/987] Compiling reduce.cpp
[935/987] Emitting module SwiftCompilerPlugin
[936/987] Compiling SwiftCompilerPlugin CompilerPlugin.swift
[936/987] Compiling stream.cpp
[937/987] Compiling compiled_conditional.cpp
[938/987] Compiling random.cpp
[939/987] Compiling metal.cpp
[940/987] Compiling memory.cpp
[941/987] Compiling linalg.cpp
[942/987] Compiling ops.cpp
[943/987] Compiling map.cpp
[944/987] Compiling io_types.cpp
[945/987] Compiling io.cpp
[946/987] Compiling error.cpp
[947/987] Compiling fft.cpp
[948/987] Compiling fast.cpp
[948/987] Write sources
[951/987] Compiling export.cpp
[952/991] Compiling cuda.cpp
[953/991] Compiling device.cpp
[954/991] Compiling compile.cpp
[955/991] Compiling format.cc
[956/991] Compiling logging.cc
[957/991] Compiling recursion_guard.cc
[958/991] Compiling Cmlx.m
[959/991] Compiling closure.cpp
[960/991] Compiling array.cpp
[961/991] Compiling testing.cc
[962/991] Compiling tokenizer_info.cc
[963/991] Compiling regex_converter.cc
[964/991] Compiling json_schema_converter_ext.cc
[965/991] Compiling grammar_printer.cc
[966/991] Compiling grammar_parser.cc
[967/991] Compiling binary.cpp
[969/991] Compiling CastMacros CastableDiagnostic.swift
[970/991] Compiling CastMacros CastMacroPlugin.swift
[971/991] Emitting module CastMacros
[972/991] Compiling CastMacros CastableMacro.swift
[972/991] Compiling grammar_builder.cc
[973/991] Write Objects.LinkFileList
[974/1026] Compiling json_schema_converter.cc
[975/1026] Compiling grammar_matcher.cc
[976/1026] Compiling grammar_functor.cc
[977/1026] Compiling grammar_compiler.cc
[978/1026] Compiling grammar.cc
[979/1026] Compiling config.cc
[980/1026] Compiling fsm_builder.cc
[981/1026] Linking CastMacros-tool
[981/1026] Write sources
[983/1026] Compiling CMLXStructured error_handler.cpp
[984/1026] Compiling structural_tag.cc
[985/1026] Compiling earley_parser.cc
[986/1026] Compiling CMLXStructured grammar_matcher.cpp
[987/1057] Compiling CMLXStructured tokenizer_info.cpp
[987/1057] Compiling CMLXStructured grammar_compiler.cpp
[990/1081] Compiling BitCollections BitSet+SetAlgebra conformance.swift
[991/1081] Compiling BitCollections BitSet+SetAlgebra formIntersection.swift
[992/1081] Compiling BitCollections BitSet+SetAlgebra formSymmetricDifference.swift
[993/1081] Compiling BitCollections BitSet+SetAlgebra formUnion.swift
[994/1081] Compiling BitCollections BitSet+SetAlgebra intersection.swift
[995/1081] Compiling BitCollections BitSet+SetAlgebra isDisjoint.swift
[996/1087] Emitting module BitCollections
[997/1087] Compiling BitCollections BitArray+Fill.swift
[998/1087] Compiling BitCollections BitArray+Hashable.swift
[999/1087] Compiling BitCollections BitArray+Initializers.swift
[1000/1087] Compiling BitCollections BitArray+Invariants.swift
[1001/1087] Compiling BitCollections BitArray+LosslessStringConvertible.swift
[1002/1087] Compiling BitCollections BitArray+RandomBits.swift
[1003/1087] Compiling BitCollections BitSet+SetAlgebra isEqualSet.swift
[1004/1087] Compiling BitCollections BitSet+SetAlgebra isStrictSubset.swift
[1005/1087] Compiling BitCollections BitSet+SetAlgebra isStrictSuperset.swift
[1006/1087] Compiling BitCollections BitSet+SetAlgebra isSubset.swift
[1007/1087] Compiling BitCollections BitSet+SetAlgebra isSuperset.swift
[1008/1087] Compiling BitCollections BitSet+SetAlgebra subtract.swift
[1009/1087] Compiling BitCollections BitSet+Extras.swift
[1010/1087] Compiling BitCollections BitSet+Hashable.swift
[1011/1087] Compiling BitCollections BitSet+Initializers.swift
[1012/1087] Compiling BitCollections BitSet+Invariants.swift
[1013/1087] Compiling BitCollections BitSet+Random.swift
[1014/1087] Compiling BitCollections BitSet+SetAlgebra basics.swift
[1015/1087] Compiling BitCollections BitSet+Codable.swift
[1016/1087] Compiling BitCollections BitSet+CustomDebugStringConvertible.swift
[1017/1087] Compiling BitCollections BitSet+CustomReflectable.swift
[1018/1087] Compiling BitCollections BitSet+CustomStringConvertible.swift
[1019/1087] Compiling BitCollections BitSet+Equatable.swift
[1020/1087] Compiling BitCollections BitSet+ExpressibleByArrayLiteral.swift
[1021/1087] Compiling BitCollections BinaryInteger extensions.swift
[1022/1087] Compiling BitCollections BitArray+BitwiseOperations.swift
[1023/1087] Compiling BitCollections BitArray+ChunkedBitsIterators.swift
[1024/1087] Compiling BitCollections BitArray+Codable.swift
[1025/1087] Compiling BitCollections BitArray+Collection.swift
[1026/1087] Compiling BitCollections BitArray+Copy.swift
[1027/1087] Compiling BitCollections BitArray+CustomReflectable.swift
[1028/1087] Compiling BitCollections BitArray+Descriptions.swift
[1029/1087] Compiling BitCollections BitArray+Equatable.swift
[1030/1087] Compiling BitCollections BitArray+ExpressibleByArrayLiteral.swift
[1031/1087] Compiling BitCollections BitArray+ExpressibleByStringLiteral.swift
[1032/1087] Compiling BitCollections BitArray+Extras.swift
[1033/1087] Compiling BitCollections BitSet+SetAlgebra subtracting.swift
[1034/1087] Compiling BitCollections BitSet+SetAlgebra symmetricDifference.swift
[1035/1087] Compiling BitCollections BitSet+SetAlgebra union.swift
[1036/1087] Compiling BitCollections BitSet+Sorted Collection APIs.swift
[1037/1087] Compiling BitCollections BitSet.Counted.swift
[1038/1087] Compiling BitCollections BitSet.Index.swift
[1039/1087] Compiling BitCollections BitArray+RangeReplaceableCollection.swift
[1040/1087] Compiling BitCollections BitArray+Shifts.swift
[1041/1087] Compiling BitCollections BitArray+Testing.swift
[1042/1087] Compiling BitCollections BitArray._UnsafeHandle.swift
[1043/1087] Compiling BitCollections BitArray.swift
[1044/1087] Compiling BitCollections BitSet+BidirectionalCollection.swift
[1045/1087] Compiling BitCollections BitSet._UnsafeHandle.swift
[1046/1087] Compiling BitCollections BitSet.swift
[1047/1087] Compiling BitCollections Range+Utilities.swift
[1048/1087] Compiling BitCollections Slice+Utilities.swift
[1049/1087] Compiling BitCollections UInt+Tricks.swift
[1050/1087] Compiling BitCollections _Word.swift
[1050/1093] Compiling fsm.cc
[1052/1093] Compiling Collections OrderedCollections reexports.swift
[1053/1093] Compiling Collections HashTreeCollections reexports.swift
[1054/1093] Emitting module Collections
[1055/1093] Compiling Collections HeapModule reexports.swift
[1056/1093] Compiling Collections BitCollections reexports.swift
[1057/1093] Compiling Collections DequeModule reexports.swift
[1057/1103] Compiling compiled_grammar.cc
[1065/1106] Emitting module MLX
[1070/1106] Compiling MLX Transforms+Vmap.swift
[1071/1106] Compiling MLX Transforms.swift
[1072/1106] Compiling MLX WiredMemory.swift
[1097/1124] Compiling MLXNN Upsample.swift
[1098/1125] Compiling MLXNN ConvolutionTransposed.swift
[1099/1125] Compiling MLXNN Dropout.swift
[1100/1125] Compiling MLXNN Embedding.swift
[1101/1125] Compiling MLXNN Linear.swift
[1102/1125] Compiling MLXNN PositionalEncoding.swift
[1103/1125] Compiling MLXNN Quantized.swift
[1104/1125] Compiling MLXNN Normalization.swift
[1105/1125] Compiling MLXNN Pooling.swift
[1106/1125] Compiling MLXNN Recurrent.swift
[1107/1125] Compiling MLXNN Transformer.swift
[1108/1125] Compiling JSONSchema JSONSchema+String.swift
[1109/1125] Compiling JSONSchema JSONSchema+Number.swift
[1110/1125] Compiling JSONSchema JSONSchema+Object.swift
[1111/1125] Compiling JSONSchema JSONSchema+Null.swift
[1112/1125] Compiling JSONSchema JSONSchema+Enum.swift
[1113/1125] Compiling JSONSchema JSONSchema+ObjectProperties.swift
[1114/1125] Compiling JSONSchema JSONSchema+Integer.swift
[1115/1126] Compiling MLXNN ValueAndGrad.swift
[1116/1126] Compiling JSONSchema JSONSchema+Array.swift
[1117/1126] Emitting module JSONSchema
[1118/1126] Compiling JSONSchema JSONSchema+Boolean.swift
[1119/1126] Compiling JSONSchema JSONSchema.swift
[1120/1126] Compiling MLXNN Containers.swift
[1121/1126] Compiling MLXNN Convolution.swift
[1122/1126] Compiling MLXNN Activations.swift
[1123/1126] Compiling MLXNN Cache.swift
[1124/1126] Compiling MLXNN Losses.swift
[1125/1126] Compiling MLXNN Module.swift
[1126/1126] Emitting module MLXNN
[1127/1128] Emitting module MLXOptimizers
[1128/1128] Compiling MLXOptimizers Optimizers.swift
[1129/1174] Emitting module MLXLMCommon
[1130/1178] Compiling MLXLMCommon Tokenizer.swift
[1131/1178] Compiling MLXLMCommon GLM4ToolCallParser.swift
[1132/1178] Compiling MLXLMCommon GemmaFunctionParser.swift
[1133/1178] Compiling MLXLMCommon JSONToolCallParser.swift
[1134/1178] Compiling MLXLMCommon KimiK2ToolCallParser.swift
[1135/1178] Compiling MLXLMCommon ModelAdapterFactory.swift
[1136/1178] Compiling MLXLMCommon ModelAdapterTypeRegistry.swift
[1137/1178] Compiling MLXLMCommon AttentionUtils.swift
[1138/1178] Compiling MLXLMCommon BaseConfiguration.swift
[1139/1178] Compiling MLXLMCommon Chat.swift
[1140/1178] Compiling MLXLMCommon ToolCall.swift
[1141/1178] Compiling MLXLMCommon ToolCallFormat.swift
[1142/1178] Compiling MLXLMCommon ToolCallProcessor.swift
[1143/1178] Compiling MLXLMCommon ToolParameter.swift
[1144/1178] Compiling MLXLMCommon Value.swift
[1145/1178] Compiling MLXLMCommon ModelTypeRegistry.swift
[1146/1178] Compiling MLXLMCommon ProcessorTypeRegistry.swift
[1147/1178] Compiling MLXLMCommon RoPEUtils.swift
[1148/1178] Compiling MLXLMCommon SuScaledRoPE.swift
[1149/1178] Compiling MLXLMCommon SwitchLayers.swift
[1150/1178] Compiling MLXLMCommon DoRA+Layers.swift
[1151/1178] Compiling MLXLMCommon LoRA+Layers.swift
[1152/1178] Compiling MLXLMCommon LoRAContainer.swift
[1153/1178] Compiling MLXLMCommon LoRAModel.swift
[1154/1178] Compiling MLXLMCommon ModelAdapter.swift
[1155/1178] Compiling MLXLMCommon MiniMaxM2ToolCallParser.swift
[1156/1178] Compiling MLXLMCommon ParserUtilities.swift
[1157/1178] Compiling MLXLMCommon PythonicToolCallParser.swift
[1158/1178] Compiling MLXLMCommon XMLFunctionParser.swift
[1159/1178] Compiling MLXLMCommon Tool.swift
[1160/1178] Compiling MLXLMCommon ModelContainer.swift
[1161/1178] Compiling MLXLMCommon ModelFactory.swift
[1162/1178] Compiling MLXLMCommon Gemma.swift
[1163/1178] Compiling MLXLMCommon Module+Extensions.swift
[1164/1178] Compiling MLXLMCommon AbstractModelRegistry.swift
[1165/1178] Compiling MLXLMCommon ChatSession.swift
[1166/1178] Compiling MLXLMCommon Evaluate.swift
[1167/1178] Compiling MLXLMCommon Encodable+toolResult.swift
[1168/1178] Compiling MLXLMCommon GenerationConfigFile.swift
[1169/1178] Compiling MLXLMCommon InterpolationUtils.swift
[1170/1178] Compiling MLXLMCommon JSONDecodingTypes.swift
[1171/1178] Compiling MLXLMCommon KVCache.swift
[1172/1178] Compiling MLXLMCommon LanguageModel.swift
[1173/1178] Compiling MLXLMCommon Load.swift
[1174/1178] Compiling MLXLMCommon ModelConfiguration.swift
[1175/1178] Compiling MLXLMCommon UserInput.swift
[1176/1178] Compiling MLXLMCommon SerialAccessContainer.swift
[1177/1178] Compiling MLXLMCommon WiredMemoryPolicies.swift
[1178/1178] Compiling MLXLMCommon WiredMemoryUtils.swift
[1179/1238] Emitting module MLXLLM
[1180/1243] Compiling MLXLLM LLMModel.swift
[1181/1243] Compiling MLXLLM LLMModelFactory.swift
[1182/1243] Compiling MLXLLM Lora+Data.swift
[1183/1243] Compiling MLXLLM LoraTrain.swift
[1184/1243] Compiling MLXLLM AfMoE.swift
[1185/1243] Compiling MLXLLM Apertus.swift
[1186/1243] Compiling MLXLLM BaichuanM1.swift
[1187/1243] Compiling MLXLLM BailingMoe.swift
[1188/1243] Compiling MLXLLM Bitnet.swift
[1189/1243] Compiling MLXLLM Cohere.swift
[1190/1243] Compiling MLXLLM DeepseekV3.swift
[1191/1243] Compiling MLXLLM GLM4MOELite.swift
[1192/1243] Compiling MLXLLM GPTOSS.swift
[1193/1243] Compiling MLXLLM Gemma.swift
[1194/1243] Compiling MLXLLM Gemma2.swift
[1195/1243] Compiling MLXLLM Gemma3Text.swift
[1196/1243] Compiling MLXLLM Ernie4_5.swift
[1197/1243] Compiling MLXLLM Exaone4.swift
[1198/1243] Compiling MLXLLM FalconH1.swift
[1199/1243] Compiling MLXLLM GLM4.swift
[1200/1243] Compiling MLXLLM GLM4MOE.swift
[1201/1243] Compiling MLXLLM LFM2.swift
[1202/1243] Compiling MLXLLM LFM2MoE.swift
[1203/1243] Compiling MLXLLM Lille130m.swift
[1204/1243] Compiling MLXLLM Llama.swift
[1205/1243] Compiling MLXLLM MiMo.swift
[1206/1243] Compiling MLXLLM NemotronH.swift
[1207/1243] Compiling MLXLLM Olmo2.swift
[1208/1243] Compiling MLXLLM Olmo3.swift
[1209/1243] Compiling MLXLLM OlmoE.swift
[1210/1243] Compiling MLXLLM OpenELM.swift
[1211/1243] Compiling MLXLLM MiMoV2Flash.swift
[1212/1243] Compiling MLXLLM MiniCPM.swift
[1213/1243] Compiling MLXLLM MiniMax.swift
[1214/1243] Compiling MLXLLM Mistral3Text.swift
[1215/1243] Compiling MLXLLM NanoChat.swift
[1216/1243] Compiling MLXLLM Phi.swift
[1217/1243] Compiling MLXLLM Phi3.swift
[1218/1243] Compiling MLXLLM PhiMoE.swift
[1219/1243] Compiling MLXLLM Qwen2.swift
[1220/1243] Compiling MLXLLM Qwen3.swift
[1221/1243] Compiling MLXLLM Gemma3nText.swift
[1222/1243] Compiling MLXLLM Granite.swift
[1223/1243] Compiling MLXLLM GraniteMoeHybrid.swift
[1224/1243] Compiling MLXLLM Internlm2.swift
[1225/1243] Compiling MLXLLM Jamba.swift
[1226/1243] Compiling MLXStructured Grammar+Structural.swift
[1227/1244] Compiling MLXStructured StructuralTag+Builder.swift
[1228/1244] Compiling MLXStructured Grammar.swift
[1229/1244] Compiling MLXStructured GrammarMatcher.swift
[1230/1244] Compiling MLXStructured GrammarMatcherFactory.swift
[1231/1244] Compiling MLXStructured GrammarMaskedLogitProcessor.swift
/Users/admin/builder/spi-builder-workspace/Sources/MLXStructured/Generate.swift:27:18: warning: 'generate(input:context:iterator:didGenerate:)' is deprecated: Use the AsyncStream-based generate(input:cache:parameters:context:) instead for better Swift concurrency support
25 | let processor = try await GrammarMaskedLogitProcessor.from(configuration: context.configuration, grammar: grammar)
26 | let iterator = try TokenIterator(input: input, model: context.model, processor: processor, sampler: sampler)
27 | let result = generate(input: input, context: context, iterator: iterator, didGenerate: didGenerate)
| `- warning: 'generate(input:context:iterator:didGenerate:)' is deprecated: Use the AsyncStream-based generate(input:cache:parameters:context:) instead for better Swift concurrency support
28 | return result
29 | }
/Users/admin/builder/spi-builder-workspace/Sources/MLXStructured/Generate.swift:44:18: warning: 'generate(input:context:iterator:didGenerate:)' is deprecated: Use the AsyncStream-based generate(input:cache:parameters:context:) instead for better Swift concurrency support
42 | let processor = try await GrammarMaskedLogitProcessor.from(configuration: context.configuration, grammar: grammar)
43 | let iterator = try TokenIterator(input: input, model: context.model, processor: processor, sampler: sampler)
44 | let result = generate(input: input, context: context, iterator: iterator, didGenerate: didGenerate)
| `- warning: 'generate(input:context:iterator:didGenerate:)' is deprecated: Use the AsyncStream-based generate(input:cache:parameters:context:) instead for better Swift concurrency support
45 | let content = try JSONDecoder().decode(Content.self, from: Data(result.output.utf8))
46 | return (result, content)
/Users/admin/builder/spi-builder-workspace/Sources/MLXStructured/Generate.swift:27:18: warning: 'generate(input:context:iterator:didGenerate:)' is deprecated: Use the AsyncStream-based generate(input:cache:parameters:context:) instead for better Swift concurrency support
25 | let processor = try await GrammarMaskedLogitProcessor.from(configuration: context.configuration, grammar: grammar)
26 | let iterator = try TokenIterator(input: input, model: context.model, processor: processor, sampler: sampler)
27 | let result = generate(input: input, context: context, iterator: iterator, didGenerate: didGenerate)
| `- warning: 'generate(input:context:iterator:didGenerate:)' is deprecated: Use the AsyncStream-based generate(input:cache:parameters:context:) instead for better Swift concurrency support
28 | return result
29 | }
/Users/admin/builder/spi-builder-workspace/Sources/MLXStructured/Generate.swift:44:18: warning: 'generate(input:context:iterator:didGenerate:)' is deprecated: Use the AsyncStream-based generate(input:cache:parameters:context:) instead for better Swift concurrency support
42 | let processor = try await GrammarMaskedLogitProcessor.from(configuration: context.configuration, grammar: grammar)
43 | let iterator = try TokenIterator(input: input, model: context.model, processor: processor, sampler: sampler)
44 | let result = generate(input: input, context: context, iterator: iterator, didGenerate: didGenerate)
| `- warning: 'generate(input:context:iterator:didGenerate:)' is deprecated: Use the AsyncStream-based generate(input:cache:parameters:context:) instead for better Swift concurrency support
45 | let content = try JSONDecoder().decode(Content.self, from: Data(result.output.utf8))
46 | return (result, content)
[1236/1244] Compiling MLXLLM Qwen3MoE.swift
[1237/1244] Compiling MLXLLM Qwen3Next.swift
[1238/1244] Compiling MLXLLM SSM.swift
[1239/1244] Compiling MLXLLM SmolLM3.swift
[1240/1244] Compiling MLXLLM Starcoder2.swift
[1241/1244] Emitting module MLXStructured
/Users/admin/builder/spi-builder-workspace/Sources/MLXStructured/Backends/XGrammar.swift:86:30: warning: 'raw' is deprecated: Prefer constructing prompt manually, this property will be removed in the future versions
84 |
85 | let compiledGrammar = switch grammar {
86 | case _ where grammar.raw.isEmpty:
| `- warning: 'raw' is deprecated: Prefer constructing prompt manually, this property will be removed in the future versions
87 | throw XGrammarError.emptyGrammar
88 | case .ebnf(let ebnf):
/Users/admin/builder/spi-builder-workspace/Sources/MLXStructured/Backends/XGrammar.swift:86:30: warning: 'raw' is deprecated: Prefer constructing prompt manually, this property will be removed in the future versions
84 |
85 | let compiledGrammar = switch grammar {
86 | case _ where grammar.raw.isEmpty:
| `- warning: 'raw' is deprecated: Prefer constructing prompt manually, this property will be removed in the future versions
87 | throw XGrammarError.emptyGrammar
88 | case .ebnf(let ebnf):
[1244/1244] Compiling MLXStructured StructuralTag.swift
[1245/1262] Compiling Cast ValidatorSupport.swift
[1246/1263] Compiling Cast JSONSchema+Excluding.swift
/Users/admin/builder/spi-builder-workspace/Sources/Cast/Schema/SchemaGenerator.swift:80:50: warning: forced cast from 'any Castable' to 'any Sendable' always succeeds; did you mean to use 'as'?
78 | let mirrorInstance: any Sendable
79 | if let castableType = type as? any Castable.Type {
80 | mirrorInstance = castableType.init() as! any Sendable
| `- warning: forced cast from 'any Castable' to 'any Sendable' always succeeds; did you mean to use 'as'?
81 | } else {
82 | mirrorInstance = info.zeroInstance
[1247/1263] Compiling Cast SchemaGenerator.swift
/Users/admin/builder/spi-builder-workspace/Sources/Cast/Schema/SchemaGenerator.swift:80:50: warning: forced cast from 'any Castable' to 'any Sendable' always succeeds; did you mean to use 'as'?
78 | let mirrorInstance: any Sendable
79 | if let castableType = type as? any Castable.Type {
80 | mirrorInstance = castableType.init() as! any Sendable
| `- warning: forced cast from 'any Castable' to 'any Sendable' always succeeds; did you mean to use 'as'?
81 | } else {
82 | mirrorInstance = info.zeroInstance
[1248/1263] Compiling Cast PropertyWrappers.swift
[1249/1263] Compiling Cast Cast.swift
[1250/1263] Compiling Cast PromptEngine.swift
[1251/1263] Compiling Cast JSONRepair.swift
[1252/1263] Compiling Cast ZeroSchemaDecoder.swift
[1253/1263] Compiling Cast CastModel+Timeout.swift
[1254/1263] Compiling Cast CastModel.swift
[1255/1263] Compiling Cast CastModel+Generation.swift
/Users/admin/builder/spi-builder-workspace/Sources/Cast/API/CastModel+Generation.swift:138:38: warning: capture of 'grammar' with non-sendable type 'Grammar' in a `@Sendable` closure
136 | parameters: parameters,
137 | context: context,
138 | grammar: grammar,
| `- warning: capture of 'grammar' with non-sendable type 'Grammar' in a `@Sendable` closure
139 | didGenerate: { tokens in
140 | if let didGenerate, didGenerate(tokens.count) == .stop {
/Users/admin/builder/spi-builder-workspace/Sources/MLXStructured/Grammar/Grammar.swift:11:13: note: enum 'Grammar' does not conform to the 'Sendable' protocol
9 | import JSONSchema
10 |
11 | public enum Grammar {
| `- note: enum 'Grammar' does not conform to the 'Sendable' protocol
12 | case ebnf(String)
13 | case regex(String)
/Users/admin/builder/spi-builder-workspace/Sources/Cast/API/CastModel+Generation.swift:138:38: warning: capture of 'grammar' with non-sendable type 'Grammar' in a `@Sendable` closure
136 | parameters: parameters,
137 | context: context,
138 | grammar: grammar,
| `- warning: capture of 'grammar' with non-sendable type 'Grammar' in a `@Sendable` closure
139 | didGenerate: { tokens in
140 | if let didGenerate, didGenerate(tokens.count) == .stop {
/Users/admin/builder/spi-builder-workspace/Sources/MLXStructured/Grammar/Grammar.swift:11:13: note: enum 'Grammar' does not conform to the 'Sendable' protocol
9 | import JSONSchema
10 |
11 | public enum Grammar {
| `- note: enum 'Grammar' does not conform to the 'Sendable' protocol
12 | case ebnf(String)
13 | case regex(String)
/Users/admin/builder/spi-builder-workspace/Sources/Cast/API/CastModel+Generation.swift:138:38: warning: capture of 'grammar' with non-sendable type 'Grammar' in a `@Sendable` closure
136 | parameters: parameters,
137 | context: context,
138 | grammar: grammar,
| `- warning: capture of 'grammar' with non-sendable type 'Grammar' in a `@Sendable` closure
139 | didGenerate: { tokens in
140 | if let didGenerate, didGenerate(tokens.count) == .stop {
/Users/admin/builder/spi-builder-workspace/Sources/MLXStructured/Grammar/Grammar.swift:11:13: note: enum 'Grammar' does not conform to the 'Sendable' protocol
9 | import JSONSchema
10 |
11 | public enum Grammar {
| `- note: enum 'Grammar' does not conform to the 'Sendable' protocol
12 | case ebnf(String)
13 | case regex(String)
/Users/admin/builder/spi-builder-workspace/Sources/Cast/API/CastModel+Generation.swift:217:38: warning: capture of 'grammar' with non-sendable type 'Grammar' in a `@Sendable` closure
215 | parameters: parameters,
216 | context: context,
217 | grammar: grammar,
| `- warning: capture of 'grammar' with non-sendable type 'Grammar' in a `@Sendable` closure
218 | didGenerate: { tokens in
219 | if let didGenerate, didGenerate(tokens.count) == .stop {
/Users/admin/builder/spi-builder-workspace/Sources/MLXStructured/Grammar/Grammar.swift:11:13: note: enum 'Grammar' does not conform to the 'Sendable' protocol
9 | import JSONSchema
10 |
11 | public enum Grammar {
| `- note: enum 'Grammar' does not conform to the 'Sendable' protocol
12 | case ebnf(String)
13 | case regex(String)
/Users/admin/builder/spi-builder-workspace/Sources/Cast/API/CastModel+Generation.swift:217:38: warning: capture of 'grammar' with non-sendable type 'Grammar' in a `@Sendable` closure
215 | parameters: parameters,
216 | context: context,
217 | grammar: grammar,
| `- warning: capture of 'grammar' with non-sendable type 'Grammar' in a `@Sendable` closure
218 | didGenerate: { tokens in
219 | if let didGenerate, didGenerate(tokens.count) == .stop {
/Users/admin/builder/spi-builder-workspace/Sources/MLXStructured/Grammar/Grammar.swift:11:13: note: enum 'Grammar' does not conform to the 'Sendable' protocol
9 | import JSONSchema
10 |
11 | public enum Grammar {
| `- note: enum 'Grammar' does not conform to the 'Sendable' protocol
12 | case ebnf(String)
13 | case regex(String)
/Users/admin/builder/spi-builder-workspace/Sources/Cast/API/CastModel+Generation.swift:217:38: warning: capture of 'grammar' with non-sendable type 'Grammar' in a `@Sendable` closure
215 | parameters: parameters,
216 | context: context,
217 | grammar: grammar,
| `- warning: capture of 'grammar' with non-sendable type 'Grammar' in a `@Sendable` closure
218 | didGenerate: { tokens in
219 | if let didGenerate, didGenerate(tokens.count) == .stop {
/Users/admin/builder/spi-builder-workspace/Sources/MLXStructured/Grammar/Grammar.swift:11:13: note: enum 'Grammar' does not conform to the 'Sendable' protocol
9 | import JSONSchema
10 |
11 | public enum Grammar {
| `- note: enum 'Grammar' does not conform to the 'Sendable' protocol
12 | case ebnf(String)
13 | case regex(String)
[1256/1263] Compiling Cast CastModel+Lifecycle.swift
/Users/admin/builder/spi-builder-workspace/Sources/Cast/API/CastModel+Generation.swift:138:38: warning: capture of 'grammar' with non-sendable type 'Grammar' in a `@Sendable` closure
136 | parameters: parameters,
137 | context: context,
138 | grammar: grammar,
| `- warning: capture of 'grammar' with non-sendable type 'Grammar' in a `@Sendable` closure
139 | didGenerate: { tokens in
140 | if let didGenerate, didGenerate(tokens.count) == .stop {
/Users/admin/builder/spi-builder-workspace/Sources/MLXStructured/Grammar/Grammar.swift:11:13: note: enum 'Grammar' does not conform to the 'Sendable' protocol
9 | import JSONSchema
10 |
11 | public enum Grammar {
| `- note: enum 'Grammar' does not conform to the 'Sendable' protocol
12 | case ebnf(String)
13 | case regex(String)
/Users/admin/builder/spi-builder-workspace/Sources/Cast/API/CastModel+Generation.swift:138:38: warning: capture of 'grammar' with non-sendable type 'Grammar' in a `@Sendable` closure
136 | parameters: parameters,
137 | context: context,
138 | grammar: grammar,
| `- warning: capture of 'grammar' with non-sendable type 'Grammar' in a `@Sendable` closure
139 | didGenerate: { tokens in
140 | if let didGenerate, didGenerate(tokens.count) == .stop {
/Users/admin/builder/spi-builder-workspace/Sources/MLXStructured/Grammar/Grammar.swift:11:13: note: enum 'Grammar' does not conform to the 'Sendable' protocol
9 | import JSONSchema
10 |
11 | public enum Grammar {
| `- note: enum 'Grammar' does not conform to the 'Sendable' protocol
12 | case ebnf(String)
13 | case regex(String)
/Users/admin/builder/spi-builder-workspace/Sources/Cast/API/CastModel+Generation.swift:138:38: warning: capture of 'grammar' with non-sendable type 'Grammar' in a `@Sendable` closure
136 | parameters: parameters,
137 | context: context,
138 | grammar: grammar,
| `- warning: capture of 'grammar' with non-sendable type 'Grammar' in a `@Sendable` closure
139 | didGenerate: { tokens in
140 | if let didGenerate, didGenerate(tokens.count) == .stop {
/Users/admin/builder/spi-builder-workspace/Sources/MLXStructured/Grammar/Grammar.swift:11:13: note: enum 'Grammar' does not conform to the 'Sendable' protocol
9 | import JSONSchema
10 |
11 | public enum Grammar {
| `- note: enum 'Grammar' does not conform to the 'Sendable' protocol
12 | case ebnf(String)
13 | case regex(String)
/Users/admin/builder/spi-builder-workspace/Sources/Cast/API/CastModel+Generation.swift:217:38: warning: capture of 'grammar' with non-sendable type 'Grammar' in a `@Sendable` closure
215 | parameters: parameters,
216 | context: context,
217 | grammar: grammar,
| `- warning: capture of 'grammar' with non-sendable type 'Grammar' in a `@Sendable` closure
218 | didGenerate: { tokens in
219 | if let didGenerate, didGenerate(tokens.count) == .stop {
/Users/admin/builder/spi-builder-workspace/Sources/MLXStructured/Grammar/Grammar.swift:11:13: note: enum 'Grammar' does not conform to the 'Sendable' protocol
9 | import JSONSchema
10 |
11 | public enum Grammar {
| `- note: enum 'Grammar' does not conform to the 'Sendable' protocol
12 | case ebnf(String)
13 | case regex(String)
/Users/admin/builder/spi-builder-workspace/Sources/Cast/API/CastModel+Generation.swift:217:38: warning: capture of 'grammar' with non-sendable type 'Grammar' in a `@Sendable` closure
215 | parameters: parameters,
216 | context: context,
217 | grammar: grammar,
| `- warning: capture of 'grammar' with non-sendable type 'Grammar' in a `@Sendable` closure
218 | didGenerate: { tokens in
219 | if let didGenerate, didGenerate(tokens.count) == .stop {
/Users/admin/builder/spi-builder-workspace/Sources/MLXStructured/Grammar/Grammar.swift:11:13: note: enum 'Grammar' does not conform to the 'Sendable' protocol
9 | import JSONSchema
10 |
11 | public enum Grammar {
| `- note: enum 'Grammar' does not conform to the 'Sendable' protocol
12 | case ebnf(String)
13 | case regex(String)
/Users/admin/builder/spi-builder-workspace/Sources/Cast/API/CastModel+Generation.swift:217:38: warning: capture of 'grammar' with non-sendable type 'Grammar' in a `@Sendable` closure
215 | parameters: parameters,
216 | context: context,
217 | grammar: grammar,
| `- warning: capture of 'grammar' with non-sendable type 'Grammar' in a `@Sendable` closure
218 | didGenerate: { tokens in
219 | if let didGenerate, didGenerate(tokens.count) == .stop {
/Users/admin/builder/spi-builder-workspace/Sources/MLXStructured/Grammar/Grammar.swift:11:13: note: enum 'Grammar' does not conform to the 'Sendable' protocol
9 | import JSONSchema
10 |
11 | public enum Grammar {
| `- note: enum 'Grammar' does not conform to the 'Sendable' protocol
12 | case ebnf(String)
13 | case regex(String)
[1257/1263] Compiling Cast Castable.swift
[1258/1263] Compiling Cast GrammarProcessorCache.swift
[1259/1263] Compiling Cast CastError.swift
/Users/admin/builder/spi-builder-workspace/Sources/Cast/API/CastModel+GPUSafety.swift:17:5: warning: 'setErrorHandler(_:data:dtor:)' is deprecated: please use withErrorHandler() or withError()
15 |
16 | private let _setupGlobalErrorHandler: Void = {
17 | setErrorHandler(globalMLXErrorHandler)
| `- warning: 'setErrorHandler(_:data:dtor:)' is deprecated: please use withErrorHandler() or withError()
18 | }()
19 |
[1260/1263] Compiling Cast CastModel+GPUSafety.swift
/Users/admin/builder/spi-builder-workspace/Sources/Cast/API/CastModel+GPUSafety.swift:17:5: warning: 'setErrorHandler(_:data:dtor:)' is deprecated: please use withErrorHandler() or withError()
15 |
16 | private let _setupGlobalErrorHandler: Void = {
17 | setErrorHandler(globalMLXErrorHandler)
| `- warning: 'setErrorHandler(_:data:dtor:)' is deprecated: please use withErrorHandler() or withError()
18 | }()
19 |
[1261/1263] Emitting module Cast
/Users/admin/builder/spi-builder-workspace/Sources/Cast/API/CastModel+GPUSafety.swift:17:5: warning: 'setErrorHandler(_:data:dtor:)' is deprecated: please use withErrorHandler() or withError()
15 |
16 | private let _setupGlobalErrorHandler: Void = {
17 | setErrorHandler(globalMLXErrorHandler)
| `- warning: 'setErrorHandler(_:data:dtor:)' is deprecated: please use withErrorHandler() or withError()
18 | }()
19 |
[1262/1263] Compiling Cast CastConfiguration.swift
[1263/1263] Compiling Cast CastEnum.swift
Build complete! (123.83s)
Fetching https://github.com/petrukha-ivan/swift-json-schema.git
Fetching https://github.com/ml-explore/mlx-swift-lm.git
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/swiftlang/swift-syntax.git
Fetching https://github.com/ml-explore/mlx-swift.git
Fetching https://github.com/huggingface/swift-transformers.git
Fetching https://github.com/swiftlang/swift-docc-plugin
[1/132] Fetching swift-json-schema
[133/2419] Fetching swift-json-schema, swift-docc-plugin
[225/8667] Fetching swift-json-schema, swift-docc-plugin, swift-transformers
[288/32547] Fetching swift-json-schema, swift-docc-plugin, swift-transformers, swift-collections
[289/46776] Fetching swift-json-schema, swift-docc-plugin, swift-transformers, swift-collections, mlx-swift
[892/54504] Fetching swift-json-schema, swift-docc-plugin, swift-transformers, swift-collections, mlx-swift, mlx-swift-lm
[41124/129541] Fetching swift-json-schema, swift-docc-plugin, swift-transformers, swift-collections, mlx-swift, mlx-swift-lm, swift-syntax
Fetched https://github.com/apple/swift-collections.git from cache (1.94s)
[47133/105661] Fetching swift-json-schema, swift-docc-plugin, swift-transformers, mlx-swift, mlx-swift-lm, swift-syntax
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (3.78s)
Fetched https://github.com/ml-explore/mlx-swift-lm.git from cache (3.78s)
Fetched https://github.com/huggingface/swift-transformers.git from cache (3.78s)
Fetched https://github.com/swiftlang/swift-syntax.git from cache (3.78s)
Fetched https://github.com/ml-explore/mlx-swift.git from cache (3.78s)
Fetched https://github.com/petrukha-ivan/swift-json-schema.git from cache (3.78s)
Computing version for https://github.com/petrukha-ivan/swift-json-schema.git
Computed https://github.com/petrukha-ivan/swift-json-schema.git at 2.0.2 (0.49s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 600.0.1 (3.07s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.4.1 (0.56s)
Computing version for https://github.com/ml-explore/mlx-swift-lm.git
Computed https://github.com/ml-explore/mlx-swift-lm.git at 2.30.6 (0.44s)
Computing version for https://github.com/ml-explore/mlx-swift.git
Computed https://github.com/ml-explore/mlx-swift.git at 0.30.6 (0.49s)
Fetching https://github.com/apple/swift-numerics
[1/6416] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics from cache (1.01s)
Computing version for https://github.com/huggingface/swift-transformers.git
Computed https://github.com/huggingface/swift-transformers.git at 1.1.9 (0.45s)
Fetching https://github.com/huggingface/swift-jinja.git
Fetching https://github.com/ibireme/yyjson.git
Fetching https://github.com/apple/swift-crypto.git
[1/1051] Fetching swift-jinja
[33/5494] Fetching swift-jinja, yyjson
[761/22951] Fetching swift-jinja, yyjson, swift-crypto
Fetched https://github.com/ibireme/yyjson.git from cache (2.98s)
Fetched https://github.com/apple/swift-crypto.git from cache (2.98s)
Fetched https://github.com/huggingface/swift-jinja.git from cache (2.99s)
Computing version for https://github.com/ibireme/yyjson.git
Computed https://github.com/ibireme/yyjson.git at 0.12.0 (0.56s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 1.1.1 (0.45s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.5.0 (0.56s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3708] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (1.16s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.59s)
Computing version for https://github.com/huggingface/swift-jinja.git
Computed https://github.com/huggingface/swift-jinja.git at 2.3.5 (0.45s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 4.3.1 (3.05s)
Fetching https://github.com/apple/swift-asn1.git
[1/1813] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git from cache (0.89s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.6.0 (0.57s)
Creating working copy for https://github.com/petrukha-ivan/swift-json-schema.git
Working copy of https://github.com/petrukha-ivan/swift-json-schema.git resolved at 2.0.2
Creating working copy for https://github.com/ml-explore/mlx-swift.git
Working copy of https://github.com/ml-explore/mlx-swift.git resolved at 0.30.6
Creating working copy for https://github.com/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.6.0
Creating working copy for https://github.com/ibireme/yyjson.git
Working copy of https://github.com/ibireme/yyjson.git resolved at 0.12.0
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 600.0.1
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 4.3.1
Creating working copy for https://github.com/ml-explore/mlx-swift-lm.git
Working copy of https://github.com/ml-explore/mlx-swift-lm.git resolved at 2.30.6
Creating working copy for https://github.com/apple/swift-numerics
Working copy of https://github.com/apple/swift-numerics resolved at 1.1.1
Creating working copy for https://github.com/huggingface/swift-jinja.git
Working copy of https://github.com/huggingface/swift-jinja.git resolved at 2.3.5
Creating working copy for https://github.com/swiftlang/swift-docc-plugin
Working copy of https://github.com/swiftlang/swift-docc-plugin resolved at 1.5.0
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/huggingface/swift-transformers.git
Working copy of https://github.com/huggingface/swift-transformers.git resolved at 1.1.9
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.4.1
warning: 'spi-builder-workspace': Invalid Exclude '/Users/admin/builder/spi-builder-workspace/Sources/CMLXStructured/xgrammar/cpp/nanobind': File not found.
warning: 'spi-builder-workspace': dependency 'swift-transformers' is not used by any target
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/Users/admin/builder/spi-builder-workspace/Sources/CastMacros/CLAUDE.md
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/Users/admin/builder/spi-builder-workspace/Sources/MLXStructured/CLAUDE.md
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/Users/admin/builder/spi-builder-workspace/Sources/MLXStructured/CLAUDE.md
Build complete.
{
"cxx_language_standard" : "gnu++17",
"dependencies" : [
{
"identity" : "mlx-swift",
"requirement" : {
"range" : [
{
"lower_bound" : "0.30.2",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/ml-explore/mlx-swift.git"
},
{
"identity" : "mlx-swift-lm",
"requirement" : {
"range" : [
{
"lower_bound" : "2.30.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/ml-explore/mlx-swift-lm.git"
},
{
"identity" : "swift-transformers",
"requirement" : {
"range" : [
{
"lower_bound" : "1.1.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/huggingface/swift-transformers.git"
},
{
"identity" : "swift-json-schema",
"requirement" : {
"range" : [
{
"lower_bound" : "2.0.2",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/petrukha-ivan/swift-json-schema.git"
},
{
"identity" : "swift-collections",
"requirement" : {
"range" : [
{
"lower_bound" : "1.3.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-collections.git"
},
{
"identity" : "swift-syntax",
"requirement" : {
"range" : [
{
"lower_bound" : "600.0.0",
"upper_bound" : "601.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/swiftlang/swift-syntax.git"
},
{
"identity" : "swift-docc-plugin",
"requirement" : {
"range" : [
{
"lower_bound" : "1.4.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/swiftlang/swift-docc-plugin"
}
],
"manifest_display_name" : "Cast",
"name" : "Cast",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "14.0"
},
{
"name" : "ios",
"version" : "17.0"
}
],
"products" : [
{
"name" : "Cast",
"targets" : [
"Cast"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "CastMacros",
"targets" : [
"CastMacros"
],
"type" : {
"macro" : null
}
}
],
"targets" : [
{
"c99name" : "MLXStructuredTests",
"module_type" : "SwiftTarget",
"name" : "MLXStructuredTests",
"path" : "Tests/MLXStructuredTests",
"product_dependencies" : [
"MLXLLM"
],
"sources" : [
"TestErrorHandler.swift",
"TestGenerablePerformance.swift",
"TestGrammarMatcher.swift",
"TestHelpers.swift",
"TestMemoryLeaks.swift",
"TestPerformance.swift"
],
"target_dependencies" : [
"MLXStructured"
],
"type" : "test"
},
{
"c99name" : "MLXStructured",
"module_type" : "SwiftTarget",
"name" : "MLXStructured",
"path" : "Sources/MLXStructured",
"product_dependencies" : [
"MLX",
"MLXLMCommon",
"JSONSchema"
],
"product_memberships" : [
"Cast"
],
"sources" : [
"Backends/DLTensor.swift",
"Backends/XGrammar.swift",
"Generate.swift",
"Grammar/Grammar+Encoding.swift",
"Grammar/Grammar+Generable.swift",
"Grammar/Grammar+Schema.swift",
"Grammar/Grammar+Structural.swift",
"Grammar/Grammar.swift",
"GrammarMaskedLogitProcessor.swift",
"GrammarMatcher.swift",
"GrammarMatcherFactory.swift",
"Structural/StructuralTag+Builder.swift",
"Structural/StructuralTag.swift"
],
"target_dependencies" : [
"CMLXStructured"
],
"type" : "library"
},
{
"c99name" : "CastTests",
"module_type" : "SwiftTarget",
"name" : "CastTests",
"path" : "Tests/CastTests",
"sources" : [
"CacheTests.swift",
"CastConfigurationTests.swift",
"CastEnumTests.swift",
"CastErrorTests.swift",
"CastModelGenerationTests.swift",
"CastModelTests.swift",
"CastTests.swift",
"CastTimeoutTests.swift",
"ClassifyTests.swift",
"GPUSafetyTests.swift",
"JSONRepairTests.swift",
"LifecycleTests.swift",
"NewWrapperTests.swift",
"PromptEngineTests.swift",
"PropertyWrapperTests.swift",
"SchemaExcludingTests.swift",
"SchemaGeneratorTests.swift",
"TestHelpers.swift",
"ValidatorTests.swift"
],
"target_dependencies" : [
"Cast"
],
"type" : "test"
},
{
"c99name" : "CastMacros",
"module_type" : "SwiftTarget",
"name" : "CastMacros",
"path" : "Sources/CastMacros",
"product_dependencies" : [
"SwiftSyntaxMacros",
"SwiftCompilerPlugin"
],
"product_memberships" : [
"Cast",
"CastMacros"
],
"sources" : [
"CastMacroPlugin.swift",
"CastableDiagnostic.swift",
"CastableMacro.swift"
],
"type" : "macro"
},
{
"c99name" : "CastMacroTests",
"module_type" : "SwiftTarget",
"name" : "CastMacroTests",
"path" : "Tests/CastMacroTests",
"product_dependencies" : [
"SwiftSyntaxMacrosTestSupport"
],
"sources" : [
"CastDiagnosticTests.swift",
"CastMacroTests.swift"
],
"target_dependencies" : [
"CastMacros"
],
"type" : "test"
},
{
"c99name" : "Cast",
"module_type" : "SwiftTarget",
"name" : "Cast",
"path" : "Sources/Cast",
"product_dependencies" : [
"MLX",
"MLXNN",
"MLXLLM",
"MLXLMCommon",
"JSONSchema",
"Collections"
],
"product_memberships" : [
"Cast"
],
"sources" : [
"API/CastConfiguration.swift",
"API/CastEnum.swift",
"API/CastError.swift",
"API/CastModel+GPUSafety.swift",
"API/CastModel+Generation.swift",
"API/CastModel+Lifecycle.swift",
"API/CastModel+Timeout.swift",
"API/CastModel.swift",
"API/Castable.swift",
"API/GrammarProcessorCache.swift",
"API/PropertyWrappers.swift",
"Cast.swift",
"Prompt/PromptEngine.swift",
"Schema/JSONRepair.swift",
"Schema/JSONSchema+Excluding.swift",
"Schema/SchemaGenerator.swift",
"Schema/ValidatorSupport.swift",
"Schema/ZeroSchemaDecoder.swift"
],
"target_dependencies" : [
"CastMacros",
"MLXStructured"
],
"type" : "library"
},
{
"c99name" : "CMLXStructured",
"module_type" : "ClangTarget",
"name" : "CMLXStructured",
"path" : "Sources/CMLXStructured",
"product_memberships" : [
"Cast"
],
"sources" : [
"error_handler.cpp",
"grammar_compiler.cpp",
"grammar_matcher.cpp",
"tokenizer_info.cpp",
"xgrammar/cpp/compiled_grammar.cc",
"xgrammar/cpp/config.cc",
"xgrammar/cpp/earley_parser.cc",
"xgrammar/cpp/fsm.cc",
"xgrammar/cpp/fsm_builder.cc",
"xgrammar/cpp/grammar.cc",
"xgrammar/cpp/grammar_builder.cc",
"xgrammar/cpp/grammar_compiler.cc",
"xgrammar/cpp/grammar_functor.cc",
"xgrammar/cpp/grammar_matcher.cc",
"xgrammar/cpp/grammar_parser.cc",
"xgrammar/cpp/grammar_printer.cc",
"xgrammar/cpp/json_schema_converter.cc",
"xgrammar/cpp/json_schema_converter_ext.cc",
"xgrammar/cpp/regex_converter.cc",
"xgrammar/cpp/structural_tag.cc",
"xgrammar/cpp/support/logging.cc",
"xgrammar/cpp/support/recursion_guard.cc",
"xgrammar/cpp/testing.cc",
"xgrammar/cpp/tokenizer_info.cc"
],
"type" : "library"
}
],
"tools_version" : "6.0"
}
warning: 'spi-builder-workspace': Invalid Exclude '/Users/admin/builder/spi-builder-workspace/Sources/CMLXStructured/xgrammar/cpp/nanobind': File not found.
Done.