The Swift Package Index logo.Swift Package Index

Build Information

Successful build of Cast, reference stage (9c5ac3), with Swift 6.2 for macOS (SPM) on 1 May 2026 18:31:33 UTC.

Swift 6 data race errors: 0

Build Command

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

Build Log

[1486/1569] Compiling tokenizer_info.cc
[1488/1569] Compiling MLX Random.swift
[1489/1569] Compiling MLX State.swift
[1490/1569] Compiling MLX Stream.swift
[1491/1569] Compiling MLX Transforms+Compile.swift
[1491/1569] Compiling c-nioatomics.c
[1492/1569] Compiling regex_converter.cc
[1493/1569] Compiling c-nioatomics.c
[1495/1569] Compiling CastMacros CastableDiagnostic.swift
[1496/1569] Compiling CastMacros CastableMacro.swift
[1496/1569] Compiling c-atomics.c
[1497/1569] Write Objects.LinkFileList
[1499/1569] Compiling MLX MLXFast.swift
[1500/1569] Compiling MLX MLXFastKernel.swift
[1501/1569] Compiling MLX Memory.swift
[1502/1569] Compiling MLX Nested.swift
[1503/1569] Compiling MLX Transforms+Vmap.swift
[1504/1569] Compiling MLX Transforms.swift
[1505/1569] Compiling MLX WiredMemory.swift
[1505/1569] Compiling c-atomics.c
[1507/1569] Compiling MLX ErrorHandler.swift
[1508/1569] Compiling MLX Export.swift
[1509/1569] Compiling MLX FFT.swift
[1510/1569] Compiling MLX Factory.swift
[1511/1569] Compiling MLX MLXArray+Normalizer.swift
[1512/1569] Compiling MLX MLXArray+Ops.swift
[1513/1569] Compiling MLX MLXArray.swift
[1514/1569] Compiling MLX MLXCustomFunction.swift
[1515/1569] Compiling MLX Foundation+Util.swift
[1516/1569] Compiling MLX GPU+Metal.swift
[1517/1569] Compiling MLX IO.swift
[1518/1569] Compiling MLX Linalg.swift
[1519/1576] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[1520/1576] Emitting module MLX
[1520/1576] Linking CastMacros-tool
[1521/1576] Compiling json_schema_converter_ext.cc
[1523/1576] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[1524/1576] Compiling NIOConcurrencyHelpers lock.swift
[1525/1576] Compiling NIOConcurrencyHelpers NIOThreadPoolWorkAvailable.swift
[1526/1576] Compiling NIOConcurrencyHelpers NIOLock.swift
[1527/1576] Compiling NIOConcurrencyHelpers atomics.swift
[1528/1576] Emitting module NIOConcurrencyHelpers
[1530/1583] Compiling NIOConcurrencyHelpers NIOLock.swift
[1531/1583] Compiling NIOConcurrencyHelpers lock.swift
[1532/1583] Compiling NIOConcurrencyHelpers NIOThreadPoolWorkAvailable.swift
[1533/1583] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[1534/1583] Compiling NIOConcurrencyHelpers atomics.swift
[1535/1583] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[1535/1583] Compiling grammar_printer.cc
[1537/1583] Compiling MLX ArrayAt.swift
[1538/1583] Compiling MLX Cmlx+Util.swift
[1539/1583] Compiling MLX DType.swift
[1540/1583] Compiling MLX Device.swift
[1541/1583] Compiling MLX Ops+Array.swift
[1542/1583] Compiling MLX Ops.swift
[1543/1583] Compiling MLX ParameterTypes.swift
[1544/1583] Compiling MLX Protocols.swift
[1545/1583] Compiling MLX MLXArray+Bytes.swift
[1546/1583] Compiling MLX MLXArray+Indexing.swift
[1547/1583] Compiling MLX MLXArray+Init.swift
[1548/1583] Compiling MLX MLXArray+Metal.swift
[1548/1583] Compiling grammar_parser.cc
[1549/1598] Compiling grammar_builder.cc
[1550/1601] Compiling grammar_matcher.cc
[1551/1601] Compiling json_schema_converter.cc
[1553/1601] Compiling MLXNN Upsample.swift
[1554/1602] Compiling MLXNN ValueAndGrad.swift
[1555/1602] Compiling MLXNN Normalization.swift
[1556/1602] Compiling MLXNN Pooling.swift
[1557/1602] Compiling MLXNN PositionalEncoding.swift
[1558/1602] Compiling MLXNN Quantized.swift
[1559/1602] Compiling MLXNN Recurrent.swift
[1560/1602] Compiling MLXNN Transformer.swift
[1560/1602] Compiling fsm_builder.cc
[1561/1602] Compiling grammar_functor.cc
[1563/1602] Compiling MLXNN Embedding.swift
[1564/1602] Compiling MLXNN Linear.swift
[1565/1602] Compiling MLXNN ConvolutionTransposed.swift
[1566/1602] Compiling MLXNN Dropout.swift
[1567/1602] Compiling MLXNN Containers.swift
[1568/1602] Compiling MLXNN Convolution.swift
[1569/1602] Compiling MLXNN Activations.swift
[1570/1602] Compiling MLXNN Cache.swift
[1571/1602] Emitting module MLXNN
[1572/1602] Compiling MLXNN Losses.swift
[1573/1602] Compiling MLXNN Module.swift
[1573/1602] Compiling grammar.cc
[1574/1602] Compiling testing.cc
[1575/1604] Compiling grammar_compiler.cc
[1576/1604] Compiling logging.cc
[1577/1604] Compiling recursion_guard.cc
[1578/1604] Compiling earley_parser.cc
[1579/1604] Compiling structural_tag.cc
[1580/1604] Compiling tokenizer_info.cc
[1581/1604] Compiling fsm.cc
[1583/1604] Compiling MLXOptimizers Optimizers.swift
[1583/1604] Compiling regex_converter.cc
[1584/1604] Emitting module MLXOptimizers
[1585/1604] Compiling json_schema_converter_ext.cc
[1586/1604] Compiling grammar_printer.cc
[1587/1604] Compiling grammar_parser.cc
[1588/1604] Compiling grammar_builder.cc
[1589/1604] Compiling grammar_matcher.cc
[1590/1604] Compiling CMLXStructured error_handler.cpp
[1591/1604] Write sources
[1593/1615] Compiling json_schema_converter.cc
[1594/1659] Compiling CMLXStructured grammar_compiler.cpp
[1595/1659] Write sources
[1598/1733] Compiling BitCollections BitArray+RangeReplaceableCollection.swift
[1599/1733] Compiling BitCollections BitArray+Shifts.swift
[1600/1733] Compiling BitCollections BitArray+Testing.swift
[1601/1733] Compiling BitCollections BitArray._UnsafeHandle.swift
[1602/1733] Compiling BitCollections BitArray.swift
[1603/1733] Compiling BitCollections BitSet+BidirectionalCollection.swift
[1604/1739] Compiling Atomics ManagedAtomicLazyReference.swift
[1605/1739] Compiling Atomics UnsafeAtomic.swift
[1606/1739] Compiling Atomics UnsafeAtomicLazyReference.swift
[1607/1739] Compiling Atomics IntegerOperations.swift
[1608/1739] Compiling Atomics DoubleWord.swift
[1609/1739] Compiling Atomics ManagedAtomic.swift
[1610/1740] Compiling BitCollections BitSet+Codable.swift
[1611/1740] Compiling BitCollections BitSet+CustomDebugStringConvertible.swift
[1612/1740] Compiling BitCollections BitSet+CustomReflectable.swift
[1613/1740] Compiling BitCollections BitSet+CustomStringConvertible.swift
[1614/1740] Compiling BitCollections BitSet+Equatable.swift
[1615/1740] Compiling BitCollections BitSet+ExpressibleByArrayLiteral.swift
[1615/1740] Compiling grammar.cc
[1616/1740] Compiling fsm_builder.cc
[1618/1740] Compiling Atomics AtomicValue.swift
[1619/1740] Compiling Atomics AtomicMemoryOrderings.swift
[1620/1740] Compiling Atomics AtomicReference.swift
[1621/1740] Compiling Atomics AtomicStorage.swift
[1622/1740] Compiling Atomics AtomicInteger.swift
[1623/1740] Compiling Atomics AtomicOptionalWrappable.swift
[1624/1740] Compiling Atomics Unmanaged extensions.swift
[1625/1759] Compiling Atomics AtomicInteger.swift
[1626/1759] Compiling Atomics AtomicOptionalWrappable.swift
[1627/1759] Compiling Atomics AtomicBool.swift
[1628/1759] Compiling Atomics IntegerConformances.swift
[1629/1759] Compiling Atomics OptionalRawRepresentable.swift
[1630/1759] Compiling Atomics RawRepresentable.swift
[1631/1759] Compiling Atomics DoubleWord.swift
[1632/1759] Compiling Atomics ManagedAtomic.swift
[1633/1759] Compiling Atomics AtomicValue.swift
[1634/1759] Compiling Atomics AtomicMemoryOrderings.swift
[1635/1759] Compiling Atomics UnsafeAtomicLazyReference.swift
[1636/1759] Compiling Atomics IntegerOperations.swift
[1637/1759] Compiling BitCollections BitSet+Extras.swift
[1638/1759] Compiling BitCollections BitSet+Hashable.swift
[1639/1759] Compiling BitCollections BitSet+Initializers.swift
[1640/1759] Compiling BitCollections BitSet+Invariants.swift
[1641/1759] Compiling BitCollections BitSet+Random.swift
[1642/1759] Compiling BitCollections BitSet+SetAlgebra basics.swift
[1649/1765] Compiling BitCollections BitSet+SetAlgebra isEqualSet.swift
[1650/1765] Compiling BitCollections BitSet+SetAlgebra isStrictSubset.swift
[1651/1765] Compiling BitCollections BitSet+SetAlgebra isStrictSuperset.swift
[1652/1765] Compiling BitCollections BitSet+SetAlgebra isSubset.swift
[1653/1765] Compiling BitCollections BitSet+SetAlgebra isSuperset.swift
[1654/1765] Compiling BitCollections BitSet+SetAlgebra subtract.swift
[1655/1765] Compiling BitCollections BitSet+SetAlgebra subtracting.swift
[1656/1765] Compiling BitCollections BitSet+SetAlgebra symmetricDifference.swift
[1657/1765] Compiling BitCollections BitSet+SetAlgebra union.swift
[1658/1765] Compiling BitCollections BitSet+Sorted Collection APIs.swift
[1659/1765] Compiling BitCollections BitSet.Counted.swift
[1660/1765] Compiling BitCollections BitSet.Index.swift
[1667/1765] Compiling BitCollections BitArray+CustomReflectable.swift
[1668/1765] Compiling BitCollections BitArray+Descriptions.swift
[1669/1765] Compiling BitCollections BitArray+Equatable.swift
[1670/1765] Compiling BitCollections BitArray+ExpressibleByArrayLiteral.swift
[1671/1765] Compiling BitCollections BitArray+ExpressibleByStringLiteral.swift
[1672/1765] Compiling BitCollections BitArray+Extras.swift
[1684/1765] Compiling grammar_functor.cc
[1686/1765] Compiling BitCollections BitSet._UnsafeHandle.swift
[1687/1765] Compiling BitCollections BitSet.swift
[1688/1765] Compiling BitCollections Range+Utilities.swift
[1689/1765] Compiling BitCollections Slice+Utilities.swift
[1690/1765] Compiling BitCollections UInt+Tricks.swift
[1691/1765] Compiling BitCollections _Word.swift
[1692/1765] Compiling Atomics AtomicReference.swift
[1693/1765] Compiling Atomics AtomicStorage.swift
[1694/1765] Compiling Atomics PointerConformances.swift
[1695/1765] Compiling Atomics Primitives.native.swift
[1696/1765] Compiling Atomics ManagedAtomicLazyReference.swift
[1697/1765] Compiling Atomics UnsafeAtomic.swift
[1698/1765] Emitting module BitCollections
[1704/1765] Compiling grammar_compiler.cc
[1712/1765] Emitting module BitCollections
[1747/1772] Compiling Collections HeapModule reexports.swift
[1748/1772] Compiling Collections OrderedCollections reexports.swift
[1749/1772] Compiling Collections HashTreeCollections reexports.swift
[1750/1772] Compiling Collections DequeModule reexports.swift
[1751/1772] Emitting module Collections
[1752/1772] Compiling Collections BitCollections reexports.swift
[1753/1772] Compiling Atomics Unmanaged extensions.swift
[1758/1772] Emitting module Atomics
[1759/1788] Emitting module Collections
[1760/1788] Compiling Collections HashTreeCollections reexports.swift
[1761/1788] Compiling Collections DequeModule reexports.swift
[1762/1788] Compiling Collections HeapModule reexports.swift
[1763/1788] Compiling Collections OrderedCollections reexports.swift
[1764/1788] Compiling Collections BitCollections reexports.swift
[1764/1863] Compiling earley_parser.cc
[1766/1863] Compiling NIOCore NIOAsyncWriter.swift
[1767/1863] Compiling NIOCore NIOThrowingAsyncSequenceProducer.swift
[1768/1863] Compiling NIOCore ByteBuffer-core.swift
[1769/1863] Compiling NIOCore ByteBuffer-hex.swift
[1770/1863] Compiling NIOCore ByteBuffer-binaryEncodedLengthPrefix.swift
[1771/1863] Compiling NIOCore ByteBuffer-conversions.swift
[1772/1863] Compiling NIOCore ByteBuffer-multi-int.swift
[1773/1863] Compiling NIOCore ByteBuffer-quicBinaryEncodingStrategy.swift
[1774/1863] Compiling NIOCore BSDSocketAPI.swift
[1775/1863] Compiling NIOCore ByteBuffer-aux.swift
[1776/1863] Emitting module Atomics
[1776/1928] Compiling fsm.cc
[1777/1928] Compiling structural_tag.cc
[1779/1928] Compiling NIOCore ByteBuffer-core.swift
[1780/1928] Compiling NIOCore NIOPooledRecvBufferAllocator.swift
[1781/1928] Compiling NIOCore NIOScheduledCallback.swift
[1782/1928] Compiling NIOCore NIOSendable.swift
[1783/1928] Compiling NIOCore NIOSplitLinesMessageDecoder.swift
[1784/1928] Compiling NIOCore NIOTransportAccessibleChannelCore.swift
[1785/1928] Compiling NIOCore RecvByteBufferAllocator.swift
[1786/1935] Compiling NIOCore EventLoopFuture+Deprecated.swift
[1787/1935] Compiling NIOCore EventLoopFuture+WithEventLoop.swift
[1788/1935] Compiling NIOCore EventLoopFuture.swift
[1789/1935] Compiling NIOCore FileDescriptor.swift
[1790/1935] Compiling NIOCore FileHandle.swift
[1791/1935] Compiling NIOCore FileRegion.swift
[1792/1935] Compiling NIOCore GlobalSingletons.swift
[1793/1935] Compiling NIOCore ConvenienceOptionSupport.swift
[1794/1935] Compiling NIOCore DeadChannel.swift
[1795/1935] Compiling NIOCore DispatchQueue+WithFuture.swift
[1796/1935] Compiling NIOCore EventLoop+Deprecated.swift
[1797/1935] Compiling NIOCore EventLoop+SerialExecutor.swift
[1798/1935] Compiling NIOCore EventLoop.swift
[1799/1935] Compiling NIOCore EventLoopFuture+AssumeIsolated.swift
[1800/1935] Compiling NIOCore Codec.swift
[1801/1935] Compiling NIOCore NIOAsyncWriter.swift
[1802/1935] Compiling NIOCore NIOThrowingAsyncSequenceProducer.swift
[1803/1935] Compiling NIOCore BSDSocketAPI.swift
[1804/1935] Compiling NIOCore ByteBuffer-aux.swift
[1805/1935] Compiling NIOCore ByteBuffer-binaryEncodedLengthPrefix.swift
[1806/1935] Compiling NIOCore ByteBuffer-conversions.swift
[1807/1935] Compiling NIOCore SingleStepByteToMessageDecoder.swift
[1808/1935] Compiling NIOCore ByteBuffer-hex.swift
[1809/1935] Compiling NIOCore ByteBuffer-int.swift
[1810/1935] Compiling NIOCore ByteBuffer-lengthPrefix.swift
[1811/1935] Compiling NIOCore ByteBuffer-multi-int.swift
[1812/1935] Compiling NIOCore ByteBuffer-quicBinaryEncodingStrategy.swift
[1813/1935] Compiling NIOCore ByteBuffer-views.swift
[1814/1935] Compiling NIOCore Channel.swift
[1815/1935] Compiling NIOCore IO.swift
[1816/1935] Compiling NIOCore IOData.swift
[1817/1935] Compiling NIOCore IPProtocol.swift
[1818/1935] Compiling NIOCore IntegerBitPacking.swift
[1819/1935] Compiling NIOCore IntegerTypes.swift
[1820/1935] Compiling NIOCore Interfaces.swift
[1821/1935] Compiling NIOCore Linux.swift
[1822/1935] Compiling NIOCore MarkedCircularBuffer.swift
[1823/1935] Compiling NIOCore MulticastChannel.swift
[1824/1935] Compiling NIOCore NIOAny.swift
[1825/1935] Compiling NIOCore NIOCloseOnErrorHandler.swift
[1826/1935] Compiling NIOCore NIOCoreSendableMetatype.swift
[1827/1935] Compiling NIOCore NIODecodedAsyncSequence.swift
[1828/1935] Compiling NIOCore NIOLoopBound.swift
[1843/1942] Compiling JSONSchema JSONSchema+Number.swift
[1844/1942] Compiling JSONSchema JSONSchema+ObjectProperties.swift
[1845/1942] Compiling JSONSchema JSONSchema+Boolean.swift
[1846/1942] Compiling JSONSchema JSONSchema+Object.swift
[1847/1942] Compiling JSONSchema JSONSchema+String.swift
[1848/1942] Compiling JSONSchema JSONSchema+Enum.swift
[1849/1942] Compiling JSONSchema JSONSchema+Integer.swift
[1850/1942] Compiling JSONSchema JSONSchema+Array.swift
[1851/1942] Compiling JSONSchema JSONSchema+Null.swift
[1852/1943] Compiling JSONSchema JSONSchema+String.swift
[1853/1943] Compiling JSONSchema JSONSchema+ObjectProperties.swift
[1854/1943] Compiling JSONSchema JSONSchema+Object.swift
[1855/1944] Emitting module JSONSchema
[1856/1944] Compiling JSONSchema JSONSchema+Null.swift
[1857/1944] Compiling JSONSchema JSONSchema+Number.swift
[1858/1944] Compiling JSONSchema JSONSchema+Integer.swift
[1859/1944] Compiling JSONSchema JSONSchema+Boolean.swift
[1860/1944] Compiling JSONSchema JSONSchema+Array.swift
[1861/1944] Compiling JSONSchema JSONSchema+Enum.swift
[1862/1944] Emitting module JSONSchema
[1863/1944] Compiling JSONSchema JSONSchema.swift
[1865/1944] Compiling NIOCore SocketAddresses.swift
[1866/1944] Compiling NIOCore SocketOptionProvider.swift
[1867/1944] Compiling NIOCore SystemCallHelpers.swift
[1868/1944] Compiling NIOCore TimeAmount+Duration.swift
[1869/1944] Compiling NIOCore TypeAssistedChannelHandler.swift
[1870/1944] Compiling NIOCore UniversalBootstrapSupport.swift
[1871/1944] Compiling NIOCore Utilities.swift
[1893/1944] Compiling NIOCore NIOAsyncSequenceProducerStrategies.swift
[1894/1944] Compiling NIOCore ChannelHandler.swift
[1895/1944] Compiling NIOCore ChannelHandlers.swift
[1896/1944] Compiling NIOCore ChannelInvoker.swift
[1897/1944] Compiling NIOCore ChannelOption.swift
[1898/1944] Compiling NIOCore ChannelPipeline.swift
[1899/1944] Compiling NIOCore CircularBuffer.swift
[1900/1944] Compiling NIOCore AddressedEnvelope.swift
[1901/1944] Compiling NIOCore AsyncAwaitSupport.swift
[1902/1944] Compiling NIOCore AsyncChannel.swift
[1903/1944] Compiling NIOCore AsyncChannelHandler.swift
[1904/1944] Compiling NIOCore AsyncChannelInboundStream.swift
[1905/1944] Compiling NIOCore AsyncChannelOutboundWriter.swift
[1906/1944] Compiling NIOCore NIOAsyncSequenceProducer.swift
[1907/1944] Emitting module NIOCore
[1945/1954] Emitting module EventSource
[1946/1954] Compiling EventSource AsyncEventsSequence.swift
[1947/1954] Compiling EventSource EventSource+AsyncHTTPClient.swift
[1948/1954] Compiling EventSource AsyncSequence+Events.swift
[1949/1954] Compiling EventSource EventSource.swift
[1950/2004] Compiling EventSource AsyncEventsSequence.swift
[1951/2004] Compiling EventSource EventSource.swift
[1952/2004] Emitting module EventSource
[1953/2004] Compiling EventSource AsyncSequence+Events.swift
[1954/2004] Compiling EventSource EventSource+AsyncHTTPClient.swift
[1955/2054] Compiling HuggingFace HubClient+Papers.swift
[1956/2054] Compiling HuggingFace HubClient+Repos.swift
[1957/2054] Compiling HuggingFace HubClient+Spaces.swift
[1958/2054] Compiling HuggingFace HubClient+User.swift
[1959/2054] Compiling HuggingFace HubClient.swift
[1960/2054] Compiling HuggingFace Model.swift
[1961/2059] Compiling HuggingFace HubClient+Pagination.swift
[1962/2059] Compiling HuggingFace CacheLocationProvider.swift
[1963/2059] Compiling HuggingFace Data+Extensions.swift
[1964/2059] Compiling HuggingFace JSONDecoder+Extensions.swift
[1965/2059] Compiling HuggingFace URL+Extensions.swift
[1966/2059] Compiling HuggingFace URLSession+Linux.swift
[1967/2064] Compiling HuggingFace File.swift
[1968/2064] Compiling HuggingFace Git.swift
[1969/2064] Compiling HuggingFace HubCache.swift
[1970/2064] Compiling HuggingFace HubClient+Collections.swift
[1971/2064] Compiling HuggingFace HubClient+Datasets.swift
[1972/2064] Compiling HuggingFace HubClient+Discussions.swift
[1973/2064] Compiling HuggingFace ResourceGroup.swift
[1974/2064] Compiling HuggingFace Space.swift
[1975/2064] Compiling HuggingFace Tags.swift
[1976/2064] Compiling HuggingFace User.swift
[1977/2064] Compiling HuggingFace ChatCompletion.swift
[1978/2064] Compiling HuggingFace TextToImage.swift
[1979/2064] Compiling HuggingFace TextToVideo.swift
[1980/2064] Compiling HuggingFace HuggingFaceAuthenticationManager.swift
[1981/2064] Compiling HuggingFace OAuthClient.swift
[1982/2064] Compiling HuggingFace TokenStorage.swift
[1983/2064] Compiling HuggingFace HubClient+Files.swift
[1984/2064] Compiling HuggingFace HubClient+Git.swift
[1985/2064] Compiling HuggingFace HubClient+Models.swift
[1986/2064] Compiling HuggingFace HubClient+OAuth.swift
[1987/2064] Compiling HuggingFace HubClient+Organizations.swift
[1988/2064] Compiling HuggingFace AccessRequest.swift
[1989/2064] Compiling HuggingFace Billing.swift
[1990/2064] Compiling HuggingFace Collection.swift
[1991/2064] Compiling HuggingFace CommaSeparatedList.swift
[1992/2064] Compiling HuggingFace Dataset.swift
[1993/2064] Compiling HuggingFace Discussion.swift
[2005/2064] Compiling HuggingFace OAuth.swift
[2006/2064] Compiling HuggingFace Organization.swift
[2007/2064] Compiling HuggingFace Pagination.swift
[2008/2064] Compiling HuggingFace Paper.swift
[2009/2064] Compiling HuggingFace Repo.swift
[2010/2064] Compiling HuggingFace FileLock.swift
[2011/2064] Compiling HuggingFace HTTPClient.swift
[2012/2064] Compiling HuggingFace MultipartBuilder.swift
[2013/2064] Compiling HuggingFace TokenProvider.swift
[2014/2064] Compiling HuggingFace Value.swift
[2015/2064] Emitting module HuggingFace
[2050/2064] Compiling HuggingFace FeatureExtraction.swift
[2051/2064] Compiling HuggingFace InferenceClient.swift
[2052/2064] Compiling HuggingFace Message.swift
[2053/2064] Compiling HuggingFace Provider.swift
[2054/2064] Compiling HuggingFace SpeechToText.swift
[2065/2078] Compiling Hub resource_bundle_accessor.swift
[2066/2078] Compiling Hub YYJSONParser.swift
[2068/2078] Compiling Hub BinaryDistinct.swift
[2069/2078] Compiling Hub Hub.swift
[2070/2078] Compiling Hub Config.swift
[2071/2078] Emitting module Hub
[2072/2078] Compiling Hub HubApi.swift
[2073/2078] Compiling Hub Config.swift
[2074/2078] Compiling Hub resource_bundle_accessor.swift
[2075/2078] Compiling Hub Hub.swift
[2076/2078] Compiling Hub BinaryDistinct.swift
[2077/2078] Emitting module Hub
[2078/2078] Compiling Hub HubApi.swift
[2079/2102] Compiling Tokenizers PostProcessor.swift
[2080/2102] Compiling Tokenizers Normalizer.swift
[2081/2102] Compiling Tokenizers ByteEncoder.swift
[2082/2102] Compiling Tokenizers Decoder.swift
[2083/2102] Compiling Tokenizers String+PreTokenization.swift
[2084/2102] Compiling Tokenizers TokenLattice.swift
[2085/2102] Compiling Tokenizers String+PreTokenization.swift
[2086/2102] Compiling Tokenizers PreTokenizer.swift
[2087/2102] Compiling Tokenizers Tokenizer.swift
[2088/2102] Emitting module Tokenizers
[2091/2102] Compiling Tokenizers BPETokenizer.swift
[2092/2102] Compiling Tokenizers BertTokenizer.swift
[2093/2102] Compiling Tokenizers PostProcessor.swift
[2094/2102] Compiling Tokenizers PreTokenizer.swift
[2095/2102] Compiling Tokenizers Normalizer.swift
[2096/2102] Emitting module Tokenizers
[2097/2102] Compiling Tokenizers Trie.swift
[2099/2102] Compiling Tokenizers TokenLattice.swift
[2101/2102] Compiling Tokenizers Tokenizer.swift
[2102/2102] Compiling Tokenizers Trie.swift
[2103/2104] Compiling Tokenizers UnigramTokenizer.swift
[2105/2124] Compiling Generation TopPLogitsWarper.swift
[2106/2124] Compiling Generation TemperatureLogitsWarper.swift
[2107/2124] Compiling Generation TopKLogitsWarper.swift
[2108/2124] Compiling Generation RepetitionPenaltyLogitsProcessor.swift
[2109/2124] Compiling Generation TopPLogitsWarper.swift
[2110/2124] Compiling Generation MinPLogitsWarper.swift
[2111/2124] Compiling Generation TopKLogitsWarper.swift
[2112/2124] Compiling Generation LogitsProcessor.swift
[2113/2124] Compiling Generation TemperatureLogitsWarper.swift
[2114/2124] Compiling Generation MinPLogitsWarper.swift
[2115/2124] Compiling Generation LogitsProcessor.swift
[2116/2124] Compiling Generation GenerationConfig.swift
[2117/2124] Compiling Generation RepetitionPenaltyLogitsProcessor.swift
[2118/2124] Compiling Generation GenerationConfig.swift
[2119/2124] Compiling Generation Decoders.swift
[2120/2124] Emitting module Generation
[2121/2124] Compiling Generation Generation.swift
[2122/2124] Compiling Generation Decoders.swift
[2123/2124] Emitting module Generation
[2124/2124] Compiling Generation Generation.swift
[2125/2132] Compiling Models Weights.swift
[2126/2132] Compiling Models LanguageModelTypes.swift
[2127/2132] Compiling Models Weights.swift
[2128/2132] Compiling Models LanguageModelTypes.swift
[2129/2132] Emitting module Models
[2130/2132] Compiling Models LanguageModel.swift
[2131/2132] Emitting module Models
[2132/2132] Compiling Models LanguageModel.swift
[2133/2226] Compiling MLXLMCommon LoRA+Layers.swift
[2134/2226] Compiling MLXLMCommon LoRAContainer.swift
[2135/2226] Compiling MLXLMCommon LoRAModel.swift
[2136/2226] Compiling MLXLMCommon ModelAdapter.swift
[2137/2226] Compiling MLXLMCommon ModelAdapterFactory.swift
[2138/2231] Emitting module MLXLMCommon
[2139/2231] Compiling MLXLMCommon ModelFactory.swift
[2140/2231] Compiling MLXLMCommon Gemma.swift
[2141/2231] Compiling MLXLMCommon Module+Extensions.swift
[2142/2231] Compiling MLXLMCommon AbstractModelRegistry.swift
[2143/2231] Compiling MLXLMCommon Tool.swift
[2144/2231] Compiling MLXLMCommon GLM4ToolCallParser.swift
[2145/2231] Compiling MLXLMCommon GemmaFunctionParser.swift
[2146/2231] Compiling MLXLMCommon JSONToolCallParser.swift
[2147/2231] Compiling MLXLMCommon KimiK2ToolCallParser.swift
[2148/2231] Compiling MLXLMCommon DoRA+Layers.swift
[2149/2231] Compiling MLXLMCommon Tokenizer.swift
[2161/2231] Compiling MLXLMCommon ToolCall.swift
[2162/2231] Compiling MLXLMCommon ToolCallFormat.swift
[2163/2231] Compiling MLXLMCommon ToolCallProcessor.swift
[2164/2231] Compiling MLXLMCommon ToolParameter.swift
[2165/2231] Compiling MLXLMCommon ModelContainer.swift
[2170/2236] Emitting module MLXLMCommon
[2171/2236] Compiling MLXLMCommon DoRA+Layers.swift
[2172/2236] Compiling MLXLMCommon LoRA+Layers.swift
[2173/2236] Compiling MLXLMCommon LoRAContainer.swift
[2174/2236] Compiling MLXLMCommon LoRAModel.swift
[2175/2236] Compiling MLXLMCommon ModelAdapter.swift
[2176/2236] Compiling MLXLMCommon ModelAdapterFactory.swift
[2177/2236] Compiling MLXLMCommon JSONDecodingTypes.swift
[2178/2236] Compiling MLXLMCommon KVCache.swift
[2179/2236] Compiling MLXLMCommon Chat.swift
[2180/2236] Compiling MLXLMCommon ChatSession.swift
[2181/2236] Compiling MLXLMCommon ModelTypeRegistry.swift
[2182/2236] Compiling MLXLMCommon ProcessorTypeRegistry.swift
[2183/2236] Compiling MLXLMCommon RoPEUtils.swift
[2184/2236] Compiling MLXLMCommon SuScaledRoPE.swift
[2186/2236] Compiling MLXLMCommon Tool.swift
[2187/2236] Compiling MLXLMCommon ToolCall.swift
[2188/2236] Compiling MLXLMCommon ToolCallFormat.swift
[2189/2236] Compiling MLXLMCommon SwitchLayers.swift
[2190/2236] Compiling MLXLMCommon JSONDecodingTypes.swift
[2196/2236] Compiling MLXLMCommon ModelAdapterTypeRegistry.swift
[2197/2236] Compiling MLXLMCommon AttentionUtils.swift
[2198/2236] Compiling MLXLMCommon BaseConfiguration.swift
[2199/2236] Compiling MLXLMCommon InterpolationUtils.swift
[2200/2236] Compiling MLXLMCommon ModelTypeRegistry.swift
[2201/2236] Compiling MLXLMCommon Evaluate.swift
[2227/2236] Compiling MLXLMCommon Value.swift
[2228/2236] Compiling MLXLMCommon UserInput.swift
[2229/2236] Compiling MLXLMCommon SerialAccessContainer.swift
[2230/2236] Compiling MLXLMCommon WiredMemoryPolicies.swift
[2231/2236] Compiling MLXLMCommon WiredMemoryUtils.swift
[2237/2362] Compiling MLXStructured StructuralTag+Builder.swift
[2238/2363] Compiling MLXStructured GrammarMatcher.swift
[2239/2363] Compiling MLXStructured Grammar.swift
[2240/2363] Compiling MLXStructured GrammarMaskedLogitProcessor.swift
[2241/2363] Compiling MLXStructured GrammarMatcherFactory.swift
[2242/2363] Compiling MLXStructured GrammarMatcher.swift
[2243/2363] Compiling MLXStructured GrammarMatcherFactory.swift
[2244/2363] Compiling MLXStructured StructuralTag+Builder.swift
[2245/2364] Compiling MLXLLM Lora+Data.swift
[2246/2364] Compiling MLXLLM LoraTrain.swift
[2247/2364] Compiling MLXStructured Grammar+Structural.swift
[2248/2364] Compiling MLXStructured Grammar.swift
[2249/2364] Compiling MLXLLM LLMModel.swift
[2250/2364] Compiling MLXLLM LLMModelFactory.swift
[2251/2364] Compiling MLXStructured Grammar+Structural.swift
[2252/2364] Compiling MLXStructured GrammarMaskedLogitProcessor.swift
[2253/2364] Compiling MLXLLM AfMoE.swift
/Users/admin/builder/spi-builder-workspace/Sources/MLXStructured/Generate.swift:28:12: warning: 'generate(input:context:iterator:didGenerate:)' is deprecated: Use the AsyncStream-based generate(input:cache:parameters:context:) instead for better Swift concurrency support [#DeprecatedDeclaration]
 26 |     let processor = try await GrammarMaskedLogitProcessor.from(configuration: context.configuration, grammar: grammar)
 27 |     let iterator = try TokenIterator(input: input, model: context.model, processor: processor, sampler: sampler)
 28 |     return 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 [#DeprecatedDeclaration]
 29 | }
 30 |
/Users/admin/builder/spi-builder-workspace/Sources/MLXStructured/Generate.swift:71:20: warning: 'generate(input:context:iterator:wiredMemoryTicket:)' is deprecated: use a higher level generate() call or use generateTask() for fine grained control [#DeprecatedDeclaration]
 69 |         sampler: sampler
 70 |     )
 71 |     let upstream = generate(input: input, context: context, iterator: iterator)
    |                    `- warning: 'generate(input:context:iterator:wiredMemoryTicket:)' is deprecated: use a higher level generate() call or use generateTask() for fine grained control [#DeprecatedDeclaration]
 72 |
 73 |     return AsyncThrowingStream { continuation in
/Users/admin/builder/spi-builder-workspace/Sources/MLXStructured/Generate.swift:117:18: warning: 'generate(input:context:iterator:didGenerate:)' is deprecated: Use the AsyncStream-based generate(input:cache:parameters:context:) instead for better Swift concurrency support [#DeprecatedDeclaration]
115 |     let processor = try await GrammarMaskedLogitProcessor.from(configuration: context.configuration, grammar: grammar)
116 |     let iterator = try TokenIterator(input: input, model: context.model, processor: processor, sampler: sampler)
117 |     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 [#DeprecatedDeclaration]
118 |     let content = try JSONDecoder().decode(Content.self, from: Data(result.output.utf8))
119 |     return (result, content)
/Users/admin/builder/spi-builder-workspace/Sources/MLXStructured/Generate.swift:139:22: warning: 'generate(input:context:iterator:didGenerate:)' is deprecated: Use the AsyncStream-based generate(input:cache:parameters:context:) instead for better Swift concurrency support [#DeprecatedDeclaration]
137 |         )
138 |         let iterator = try TokenIterator(input: input, model: context.model, processor: processor, sampler: sampler)
139 |         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 [#DeprecatedDeclaration]
140 |         let content = try Content(GeneratedContent(json: result.output))
141 |         return (result, content)
/Users/admin/builder/spi-builder-workspace/Sources/MLXStructured/Generate.swift:159:22: warning: 'generate(input:context:iterator:wiredMemoryTicket:)' is deprecated: use a higher level generate() call or use generateTask() for fine grained control [#DeprecatedDeclaration]
157 |         )
158 |         let iterator = try TokenIterator(input: input, model: context.model, processor: processor, sampler: sampler)
159 |         let stream = generate(input: input, context: context, iterator: iterator)
    |                      `- warning: 'generate(input:context:iterator:wiredMemoryTicket:)' is deprecated: use a higher level generate() call or use generateTask() for fine grained control [#DeprecatedDeclaration]
160 |         return AsyncStream { continuation in
161 |             let task = Task {
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[2254/2364] Compiling MLXLLM Apertus.swift
/Users/admin/builder/spi-builder-workspace/Sources/MLXStructured/Generate.swift:28:12: warning: 'generate(input:context:iterator:didGenerate:)' is deprecated: Use the AsyncStream-based generate(input:cache:parameters:context:) instead for better Swift concurrency support [#DeprecatedDeclaration]
 26 |     let processor = try await GrammarMaskedLogitProcessor.from(configuration: context.configuration, grammar: grammar)
 27 |     let iterator = try TokenIterator(input: input, model: context.model, processor: processor, sampler: sampler)
 28 |     return 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 [#DeprecatedDeclaration]
 29 | }
 30 |
/Users/admin/builder/spi-builder-workspace/Sources/MLXStructured/Generate.swift:71:20: warning: 'generate(input:context:iterator:wiredMemoryTicket:)' is deprecated: use a higher level generate() call or use generateTask() for fine grained control [#DeprecatedDeclaration]
 69 |         sampler: sampler
 70 |     )
 71 |     let upstream = generate(input: input, context: context, iterator: iterator)
    |                    `- warning: 'generate(input:context:iterator:wiredMemoryTicket:)' is deprecated: use a higher level generate() call or use generateTask() for fine grained control [#DeprecatedDeclaration]
 72 |
 73 |     return AsyncThrowingStream { continuation in
/Users/admin/builder/spi-builder-workspace/Sources/MLXStructured/Generate.swift:117:18: warning: 'generate(input:context:iterator:didGenerate:)' is deprecated: Use the AsyncStream-based generate(input:cache:parameters:context:) instead for better Swift concurrency support [#DeprecatedDeclaration]
115 |     let processor = try await GrammarMaskedLogitProcessor.from(configuration: context.configuration, grammar: grammar)
116 |     let iterator = try TokenIterator(input: input, model: context.model, processor: processor, sampler: sampler)
117 |     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 [#DeprecatedDeclaration]
118 |     let content = try JSONDecoder().decode(Content.self, from: Data(result.output.utf8))
119 |     return (result, content)
/Users/admin/builder/spi-builder-workspace/Sources/MLXStructured/Generate.swift:139:22: warning: 'generate(input:context:iterator:didGenerate:)' is deprecated: Use the AsyncStream-based generate(input:cache:parameters:context:) instead for better Swift concurrency support [#DeprecatedDeclaration]
137 |         )
138 |         let iterator = try TokenIterator(input: input, model: context.model, processor: processor, sampler: sampler)
139 |         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 [#DeprecatedDeclaration]
140 |         let content = try Content(GeneratedContent(json: result.output))
141 |         return (result, content)
/Users/admin/builder/spi-builder-workspace/Sources/MLXStructured/Generate.swift:159:22: warning: 'generate(input:context:iterator:wiredMemoryTicket:)' is deprecated: use a higher level generate() call or use generateTask() for fine grained control [#DeprecatedDeclaration]
157 |         )
158 |         let iterator = try TokenIterator(input: input, model: context.model, processor: processor, sampler: sampler)
159 |         let stream = generate(input: input, context: context, iterator: iterator)
    |                      `- warning: 'generate(input:context:iterator:wiredMemoryTicket:)' is deprecated: use a higher level generate() call or use generateTask() for fine grained control [#DeprecatedDeclaration]
160 |         return AsyncStream { continuation in
161 |             let task = Task {
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[2255/2364] 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 [#DeprecatedDeclaration]
 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 [#DeprecatedDeclaration]
 87 |             throw XGrammarError.emptyGrammar
 88 |         case .ebnf(let ebnf):
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
/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 [#DeprecatedDeclaration]
 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 [#DeprecatedDeclaration]
 87 |             throw XGrammarError.emptyGrammar
 88 |         case .ebnf(let ebnf):
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
/Users/admin/builder/spi-builder-workspace/Sources/MLXStructured/Generate.swift:28:12: warning: 'generate(input:context:iterator:didGenerate:)' is deprecated: Use the AsyncStream-based generate(input:cache:parameters:context:) instead for better Swift concurrency support [#DeprecatedDeclaration]
 26 |     let processor = try await GrammarMaskedLogitProcessor.from(configuration: context.configuration, grammar: grammar)
 27 |     let iterator = try TokenIterator(input: input, model: context.model, processor: processor, sampler: sampler)
 28 |     return 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 [#DeprecatedDeclaration]
 29 | }
 30 |
/Users/admin/builder/spi-builder-workspace/Sources/MLXStructured/Generate.swift:71:20: warning: 'generate(input:context:iterator:wiredMemoryTicket:)' is deprecated: use a higher level generate() call or use generateTask() for fine grained control [#DeprecatedDeclaration]
 69 |         sampler: sampler
 70 |     )
 71 |     let upstream = generate(input: input, context: context, iterator: iterator)
    |                    `- warning: 'generate(input:context:iterator:wiredMemoryTicket:)' is deprecated: use a higher level generate() call or use generateTask() for fine grained control [#DeprecatedDeclaration]
 72 |
 73 |     return AsyncThrowingStream { continuation in
/Users/admin/builder/spi-builder-workspace/Sources/MLXStructured/Generate.swift:117:18: warning: 'generate(input:context:iterator:didGenerate:)' is deprecated: Use the AsyncStream-based generate(input:cache:parameters:context:) instead for better Swift concurrency support [#DeprecatedDeclaration]
115 |     let processor = try await GrammarMaskedLogitProcessor.from(configuration: context.configuration, grammar: grammar)
116 |     let iterator = try TokenIterator(input: input, model: context.model, processor: processor, sampler: sampler)
117 |     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 [#DeprecatedDeclaration]
118 |     let content = try JSONDecoder().decode(Content.self, from: Data(result.output.utf8))
119 |     return (result, content)
/Users/admin/builder/spi-builder-workspace/Sources/MLXStructured/Generate.swift:139:22: warning: 'generate(input:context:iterator:didGenerate:)' is deprecated: Use the AsyncStream-based generate(input:cache:parameters:context:) instead for better Swift concurrency support [#DeprecatedDeclaration]
137 |         )
138 |         let iterator = try TokenIterator(input: input, model: context.model, processor: processor, sampler: sampler)
139 |         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 [#DeprecatedDeclaration]
140 |         let content = try Content(GeneratedContent(json: result.output))
141 |         return (result, content)
/Users/admin/builder/spi-builder-workspace/Sources/MLXStructured/Generate.swift:159:22: warning: 'generate(input:context:iterator:wiredMemoryTicket:)' is deprecated: use a higher level generate() call or use generateTask() for fine grained control [#DeprecatedDeclaration]
157 |         )
158 |         let iterator = try TokenIterator(input: input, model: context.model, processor: processor, sampler: sampler)
159 |         let stream = generate(input: input, context: context, iterator: iterator)
    |                      `- warning: 'generate(input:context:iterator:wiredMemoryTicket:)' is deprecated: use a higher level generate() call or use generateTask() for fine grained control [#DeprecatedDeclaration]
160 |         return AsyncStream { continuation in
161 |             let task = Task {
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
/Users/admin/builder/spi-builder-workspace/Sources/MLXStructured/Generate.swift:28:12: warning: 'generate(input:context:iterator:didGenerate:)' is deprecated: Use the AsyncStream-based generate(input:cache:parameters:context:) instead for better Swift concurrency support [#DeprecatedDeclaration]
 26 |     let processor = try await GrammarMaskedLogitProcessor.from(configuration: context.configuration, grammar: grammar)
 27 |     let iterator = try TokenIterator(input: input, model: context.model, processor: processor, sampler: sampler)
 28 |     return 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 [#DeprecatedDeclaration]
 29 | }
 30 |
/Users/admin/builder/spi-builder-workspace/Sources/MLXStructured/Generate.swift:71:20: warning: 'generate(input:context:iterator:wiredMemoryTicket:)' is deprecated: use a higher level generate() call or use generateTask() for fine grained control [#DeprecatedDeclaration]
 69 |         sampler: sampler
 70 |     )
 71 |     let upstream = generate(input: input, context: context, iterator: iterator)
    |                    `- warning: 'generate(input:context:iterator:wiredMemoryTicket:)' is deprecated: use a higher level generate() call or use generateTask() for fine grained control [#DeprecatedDeclaration]
 72 |
 73 |     return AsyncThrowingStream { continuation in
/Users/admin/builder/spi-builder-workspace/Sources/MLXStructured/Generate.swift:117:18: warning: 'generate(input:context:iterator:didGenerate:)' is deprecated: Use the AsyncStream-based generate(input:cache:parameters:context:) instead for better Swift concurrency support [#DeprecatedDeclaration]
115 |     let processor = try await GrammarMaskedLogitProcessor.from(configuration: context.configuration, grammar: grammar)
116 |     let iterator = try TokenIterator(input: input, model: context.model, processor: processor, sampler: sampler)
117 |     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 [#DeprecatedDeclaration]
118 |     let content = try JSONDecoder().decode(Content.self, from: Data(result.output.utf8))
119 |     return (result, content)
/Users/admin/builder/spi-builder-workspace/Sources/MLXStructured/Generate.swift:139:22: warning: 'generate(input:context:iterator:didGenerate:)' is deprecated: Use the AsyncStream-based generate(input:cache:parameters:context:) instead for better Swift concurrency support [#DeprecatedDeclaration]
137 |         )
138 |         let iterator = try TokenIterator(input: input, model: context.model, processor: processor, sampler: sampler)
139 |         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 [#DeprecatedDeclaration]
140 |         let content = try Content(GeneratedContent(json: result.output))
141 |         return (result, content)
/Users/admin/builder/spi-builder-workspace/Sources/MLXStructured/Generate.swift:159:22: warning: 'generate(input:context:iterator:wiredMemoryTicket:)' is deprecated: use a higher level generate() call or use generateTask() for fine grained control [#DeprecatedDeclaration]
157 |         )
158 |         let iterator = try TokenIterator(input: input, model: context.model, processor: processor, sampler: sampler)
159 |         let stream = generate(input: input, context: context, iterator: iterator)
    |                      `- warning: 'generate(input:context:iterator:wiredMemoryTicket:)' is deprecated: use a higher level generate() call or use generateTask() for fine grained control [#DeprecatedDeclaration]
160 |         return AsyncStream { continuation in
161 |             let task = Task {
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
/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 [#DeprecatedDeclaration]
 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 [#DeprecatedDeclaration]
 87 |             throw XGrammarError.emptyGrammar
 88 |         case .ebnf(let ebnf):
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
/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 [#DeprecatedDeclaration]
 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 [#DeprecatedDeclaration]
 87 |             throw XGrammarError.emptyGrammar
 88 |         case .ebnf(let ebnf):
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[2263/2364] Compiling MLXStructured StructuralTag.swift
[2265/2364] Compiling MLXLLM PhiMoE.swift
[2266/2364] Compiling MLXLLM Qwen2.swift
[2267/2364] Compiling MLXLLM Qwen3.swift
[2268/2364] Compiling MLXLLM Qwen35.swift
[2269/2364] Compiling MLXLLM Qwen35MoE.swift
[2270/2369] Compiling MLXLLM Olmo3.swift
[2271/2369] Compiling MLXLLM OlmoE.swift
[2272/2369] Compiling MLXLLM OpenELM.swift
[2273/2369] Compiling MLXLLM Phi.swift
[2274/2369] Compiling MLXLLM Phi3.swift
[2285/2374] Emitting module MLXLLM
[2286/2374] Compiling MLXLLM Lille130m.swift
[2287/2374] Compiling MLXLLM Llama.swift
[2288/2374] Compiling MLXLLM MiMo.swift
[2289/2374] Compiling MLXLLM MiMoV2Flash.swift
[2290/2374] Compiling MLXLLM MiniCPM.swift
[2291/2374] Compiling MLXLLM MiniMax.swift
[2292/2374] Compiling MLXLLM Mistral3Text.swift
[2293/2374] Compiling MLXLLM NanoChat.swift
[2294/2374] Compiling MLXLLM NemotronH.swift
[2295/2374] Compiling MLXLLM Olmo2.swift
[2296/2374] Emitting module MLXLLM
[2303/2374] Compiling MLXLLM GatedDelta.swift
[2304/2374] Compiling MLXLLM Gemma.swift
[2305/2374] Compiling MLXLLM Gemma2.swift
[2306/2374] Compiling MLXLLM Gemma3Text.swift
[2307/2374] Compiling MLXLLM Gemma3nText.swift
[2308/2374] Compiling MLXLLM Granite.swift
[2309/2374] Compiling MLXLLM GraniteMoeHybrid.swift
[2310/2374] Compiling MLXLLM Internlm2.swift
[2311/2374] Compiling MLXLLM Jamba.swift
[2312/2374] Compiling MLXLLM LFM2.swift
[2313/2374] Compiling MLXLLM LFM2MoE.swift
[2335/2374] Compiling MLXLLM Exaone4.swift
[2336/2374] Compiling MLXLLM FalconH1.swift
[2337/2374] Compiling MLXLLM GLM4.swift
[2338/2374] Compiling MLXLLM GLM4MOE.swift
[2339/2374] Compiling MLXLLM GLM4MOELite.swift
[2340/2374] Compiling MLXLLM GPTOSS.swift
[2353/2374] Compiling MLXLLM BaichuanM1.swift
[2354/2374] Compiling MLXLLM BailingMoe.swift
[2355/2374] Compiling MLXLLM Bitnet.swift
[2356/2374] Compiling MLXLLM Cohere.swift
[2358/2374] Compiling MLXLLM DeepseekV3.swift
[2359/2374] Compiling MLXLLM Ernie4_5.swift
[2365/2374] Compiling MLXLLM Qwen3MoE.swift
[2366/2374] Compiling MLXLLM Qwen3Next.swift
[2367/2374] Compiling MLXLLM SSM.swift
[2368/2374] Compiling MLXLLM SmolLM3.swift
[2369/2374] Compiling MLXLLM Starcoder2.swift
[2375/2422] Compiling Cast CastConfiguration.swift
[2376/2422] Compiling Cast CastEnum.swift
[2377/2422] Compiling Cast CastError.swift
[2378/2424] Compiling Cast Instrumentation.swift
/Users/admin/builder/spi-builder-workspace/Sources/Cast/Bench/Instrumentation.swift:99:38: warning: type 'GenerateResult' does not conform to the 'Sendable' protocol
 97 |         let result: GenerateResult
 98 |         do {
 99 |             result = try await model.withInFlightRegistration {
    |                                      `- warning: type 'GenerateResult' does not conform to the 'Sendable' protocol
100 |                 try await withGenerationTimeout(config.timeout) {
101 |                     try await container.perform { context in
/Users/admin/builder/spi-builder-workspace/.build/checkouts/mlx-swift-lm/Libraries/MLXLMCommon/Evaluate.swift:703:15: note: struct 'GenerateResult' does not conform to the 'Sendable' protocol
 701 |
 702 | /// Result of a call to a deprecated callback-based generate function.
 703 | public struct GenerateResult {
     |               `- note: struct 'GenerateResult' does not conform to the 'Sendable' protocol
 704 |
 705 |     /// Initializes a new `GenerateResult` instance.
/Users/admin/builder/spi-builder-workspace/Sources/Cast/Bench/Instrumentation.swift:100:27: warning: type 'GenerateResult' does not conform to the 'Sendable' protocol
 98 |         do {
 99 |             result = try await model.withInFlightRegistration {
100 |                 try await withGenerationTimeout(config.timeout) {
    |                           `- warning: type 'GenerateResult' does not conform to the 'Sendable' protocol
101 |                     try await container.perform { context in
102 |                         let userInput = UserInput(prompt: fullPrompt)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/mlx-swift-lm/Libraries/MLXLMCommon/Evaluate.swift:703:15: note: struct 'GenerateResult' does not conform to the 'Sendable' protocol
 701 |
 702 | /// Result of a call to a deprecated callback-based generate function.
 703 | public struct GenerateResult {
     |               `- note: struct 'GenerateResult' does not conform to the 'Sendable' protocol
 704 |
 705 |     /// Initializes a new `GenerateResult` instance.
/Users/admin/builder/spi-builder-workspace/Sources/Cast/Bench/Instrumentation.swift:101:41: warning: type 'GenerateResult' does not conform to the 'Sendable' protocol
 99 |             result = try await model.withInFlightRegistration {
100 |                 try await withGenerationTimeout(config.timeout) {
101 |                     try await container.perform { context in
    |                                         `- warning: type 'GenerateResult' does not conform to the 'Sendable' protocol
102 |                         let userInput = UserInput(prompt: fullPrompt)
103 |                         let lmInput = try await context.processor.prepare(input: userInput)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/mlx-swift-lm/Libraries/MLXLMCommon/Evaluate.swift:703:15: note: struct 'GenerateResult' does not conform to the 'Sendable' protocol
 701 |
 702 | /// Result of a call to a deprecated callback-based generate function.
 703 | public struct GenerateResult {
     |               `- note: struct 'GenerateResult' does not conform to the 'Sendable' protocol
 704 |
 705 |     /// Initializes a new `GenerateResult` instance.
/Users/admin/builder/spi-builder-workspace/Sources/Cast/Bench/Instrumentation.swift:109:44: warning: 'generate(input:context:iterator:didGenerate:)' is deprecated: Use the AsyncStream-based generate(input:cache:parameters:context:) instead for better Swift concurrency support [#DeprecatedDeclaration]
107 |                             parameters: parameters
108 |                         )
109 |                         return MLXLMCommon.generate(
    |                                            `- warning: 'generate(input:context:iterator:didGenerate:)' is deprecated: Use the AsyncStream-based generate(input:cache:parameters:context:) instead for better Swift concurrency support [#DeprecatedDeclaration]
110 |                             input: lmInput,
111 |                             context: context,
/Users/admin/builder/spi-builder-workspace/Sources/Cast/Bench/Instrumentation.swift:109:32: warning: returning a task-isolated 'GenerateResult' value as a 'sending' result risks causing data races
107 |                             parameters: parameters
108 |                         )
109 |                         return MLXLMCommon.generate(
    |                                |- warning: returning a task-isolated 'GenerateResult' value as a 'sending' result risks causing data races
    |                                |- note: returning a task-isolated 'GenerateResult' value risks causing races since the caller assumes the value can be safely sent to other isolation domains
    |                                `- note: 'GenerateResult' is a non-Sendable type
110 |                             input: lmInput,
111 |                             context: context,
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[2379/2424] Compiling Cast Cast.swift
/Users/admin/builder/spi-builder-workspace/Sources/Cast/Bench/Instrumentation.swift:99:38: warning: type 'GenerateResult' does not conform to the 'Sendable' protocol
 97 |         let result: GenerateResult
 98 |         do {
 99 |             result = try await model.withInFlightRegistration {
    |                                      `- warning: type 'GenerateResult' does not conform to the 'Sendable' protocol
100 |                 try await withGenerationTimeout(config.timeout) {
101 |                     try await container.perform { context in
/Users/admin/builder/spi-builder-workspace/.build/checkouts/mlx-swift-lm/Libraries/MLXLMCommon/Evaluate.swift:703:15: note: struct 'GenerateResult' does not conform to the 'Sendable' protocol
 701 |
 702 | /// Result of a call to a deprecated callback-based generate function.
 703 | public struct GenerateResult {
     |               `- note: struct 'GenerateResult' does not conform to the 'Sendable' protocol
 704 |
 705 |     /// Initializes a new `GenerateResult` instance.
/Users/admin/builder/spi-builder-workspace/Sources/Cast/Bench/Instrumentation.swift:100:27: warning: type 'GenerateResult' does not conform to the 'Sendable' protocol
 98 |         do {
 99 |             result = try await model.withInFlightRegistration {
100 |                 try await withGenerationTimeout(config.timeout) {
    |                           `- warning: type 'GenerateResult' does not conform to the 'Sendable' protocol
101 |                     try await container.perform { context in
102 |                         let userInput = UserInput(prompt: fullPrompt)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/mlx-swift-lm/Libraries/MLXLMCommon/Evaluate.swift:703:15: note: struct 'GenerateResult' does not conform to the 'Sendable' protocol
 701 |
 702 | /// Result of a call to a deprecated callback-based generate function.
 703 | public struct GenerateResult {
     |               `- note: struct 'GenerateResult' does not conform to the 'Sendable' protocol
 704 |
 705 |     /// Initializes a new `GenerateResult` instance.
/Users/admin/builder/spi-builder-workspace/Sources/Cast/Bench/Instrumentation.swift:101:41: warning: type 'GenerateResult' does not conform to the 'Sendable' protocol
 99 |             result = try await model.withInFlightRegistration {
100 |                 try await withGenerationTimeout(config.timeout) {
101 |                     try await container.perform { context in
    |                                         `- warning: type 'GenerateResult' does not conform to the 'Sendable' protocol
102 |                         let userInput = UserInput(prompt: fullPrompt)
103 |                         let lmInput = try await context.processor.prepare(input: userInput)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/mlx-swift-lm/Libraries/MLXLMCommon/Evaluate.swift:703:15: note: struct 'GenerateResult' does not conform to the 'Sendable' protocol
 701 |
 702 | /// Result of a call to a deprecated callback-based generate function.
 703 | public struct GenerateResult {
     |               `- note: struct 'GenerateResult' does not conform to the 'Sendable' protocol
 704 |
 705 |     /// Initializes a new `GenerateResult` instance.
/Users/admin/builder/spi-builder-workspace/Sources/Cast/Bench/Instrumentation.swift:109:44: warning: 'generate(input:context:iterator:didGenerate:)' is deprecated: Use the AsyncStream-based generate(input:cache:parameters:context:) instead for better Swift concurrency support [#DeprecatedDeclaration]
107 |                             parameters: parameters
108 |                         )
109 |                         return MLXLMCommon.generate(
    |                                            `- warning: 'generate(input:context:iterator:didGenerate:)' is deprecated: Use the AsyncStream-based generate(input:cache:parameters:context:) instead for better Swift concurrency support [#DeprecatedDeclaration]
110 |                             input: lmInput,
111 |                             context: context,
/Users/admin/builder/spi-builder-workspace/Sources/Cast/Bench/Instrumentation.swift:109:32: warning: returning a task-isolated 'GenerateResult' value as a 'sending' result risks causing data races
107 |                             parameters: parameters
108 |                         )
109 |                         return MLXLMCommon.generate(
    |                                |- warning: returning a task-isolated 'GenerateResult' value as a 'sending' result risks causing data races
    |                                |- note: returning a task-isolated 'GenerateResult' value risks causing races since the caller assumes the value can be safely sent to other isolation domains
    |                                `- note: 'GenerateResult' is a non-Sendable type
110 |                             input: lmInput,
111 |                             context: context,
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[2380/2424] Compiling Cast PromptEngine.swift
/Users/admin/builder/spi-builder-workspace/Sources/Cast/API/CastModel+Stream.swift:123:38: warning: capture of 'grammar' with non-Sendable type 'Grammar' in a '@Sendable' closure [#SendableClosureCaptures]
121 |                             parameters: parameters,
122 |                             context: context,
123 |                             grammar: grammar
    |                                      `- warning: capture of 'grammar' with non-Sendable type 'Grammar' in a '@Sendable' closure [#SendableClosureCaptures]
124 |                         )
125 |
/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+Stream.swift:123:38: warning: capture of 'grammar' with non-Sendable type 'Grammar' in a '@Sendable' closure [#SendableClosureCaptures]
121 |                             parameters: parameters,
122 |                             context: context,
123 |                             grammar: grammar
    |                                      `- warning: capture of 'grammar' with non-Sendable type 'Grammar' in a '@Sendable' closure [#SendableClosureCaptures]
124 |                         )
125 |
/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+Stream.swift:123:38: warning: capture of 'grammar' with non-Sendable type 'Grammar' in a '@Sendable' closure [#SendableClosureCaptures]
121 |                             parameters: parameters,
122 |                             context: context,
123 |                             grammar: grammar
    |                                      `- warning: capture of 'grammar' with non-Sendable type 'Grammar' in a '@Sendable' closure [#SendableClosureCaptures]
124 |                         )
125 |
/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)
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[2381/2424] Compiling Cast JSONRepair.swift
/Users/admin/builder/spi-builder-workspace/Sources/Cast/API/CastModel+Stream.swift:123:38: warning: capture of 'grammar' with non-Sendable type 'Grammar' in a '@Sendable' closure [#SendableClosureCaptures]
121 |                             parameters: parameters,
122 |                             context: context,
123 |                             grammar: grammar
    |                                      `- warning: capture of 'grammar' with non-Sendable type 'Grammar' in a '@Sendable' closure [#SendableClosureCaptures]
124 |                         )
125 |
/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+Stream.swift:123:38: warning: capture of 'grammar' with non-Sendable type 'Grammar' in a '@Sendable' closure [#SendableClosureCaptures]
121 |                             parameters: parameters,
122 |                             context: context,
123 |                             grammar: grammar
    |                                      `- warning: capture of 'grammar' with non-Sendable type 'Grammar' in a '@Sendable' closure [#SendableClosureCaptures]
124 |                         )
125 |
/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+Stream.swift:123:38: warning: capture of 'grammar' with non-Sendable type 'Grammar' in a '@Sendable' closure [#SendableClosureCaptures]
121 |                             parameters: parameters,
122 |                             context: context,
123 |                             grammar: grammar
    |                                      `- warning: capture of 'grammar' with non-Sendable type 'Grammar' in a '@Sendable' closure [#SendableClosureCaptures]
124 |                         )
125 |
/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)
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[2382/2424] Compiling Cast CastBench.swift
/Users/admin/builder/spi-builder-workspace/Sources/Cast/API/CastModel+Stream.swift:123:38: warning: capture of 'grammar' with non-Sendable type 'Grammar' in a '@Sendable' closure [#SendableClosureCaptures]
121 |                             parameters: parameters,
122 |                             context: context,
123 |                             grammar: grammar
    |                                      `- warning: capture of 'grammar' with non-Sendable type 'Grammar' in a '@Sendable' closure [#SendableClosureCaptures]
124 |                         )
125 |
/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+Stream.swift:123:38: warning: capture of 'grammar' with non-Sendable type 'Grammar' in a '@Sendable' closure [#SendableClosureCaptures]
121 |                             parameters: parameters,
122 |                             context: context,
123 |                             grammar: grammar
    |                                      `- warning: capture of 'grammar' with non-Sendable type 'Grammar' in a '@Sendable' closure [#SendableClosureCaptures]
124 |                         )
125 |
/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+Stream.swift:123:38: warning: capture of 'grammar' with non-Sendable type 'Grammar' in a '@Sendable' closure [#SendableClosureCaptures]
121 |                             parameters: parameters,
122 |                             context: context,
123 |                             grammar: grammar
    |                                      `- warning: capture of 'grammar' with non-Sendable type 'Grammar' in a '@Sendable' closure [#SendableClosureCaptures]
124 |                         )
125 |
/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)
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[2386/2426] Compiling Cast JSONSchema+Excluding.swift
[2387/2426] Compiling Cast SchemaGenerator.swift
[2389/2426] Compiling Cast Formatters.swift
[2394/2426] Compiling Cast Castable.swift
[2395/2426] Compiling Cast GrammarProcessorCache.swift
[2396/2426] Compiling Cast ModelSource.swift
[2397/2426] Compiling Cast CastModel+Generation.swift
/Users/admin/builder/spi-builder-workspace/Sources/Cast/Bench/Instrumentation.swift:99:38: warning: type 'GenerateResult' does not conform to the 'Sendable' protocol
 97 |         let result: GenerateResult
 98 |         do {
 99 |             result = try await model.withInFlightRegistration {
    |                                      `- warning: type 'GenerateResult' does not conform to the 'Sendable' protocol
100 |                 try await withGenerationTimeout(config.timeout) {
101 |                     try await container.perform { context in
/Users/admin/builder/spi-builder-workspace/.build/checkouts/mlx-swift-lm/Libraries/MLXLMCommon/Evaluate.swift:703:15: note: struct 'GenerateResult' does not conform to the 'Sendable' protocol
 701 |
 702 | /// Result of a call to a deprecated callback-based generate function.
 703 | public struct GenerateResult {
     |               `- note: struct 'GenerateResult' does not conform to the 'Sendable' protocol
 704 |
 705 |     /// Initializes a new `GenerateResult` instance.
/Users/admin/builder/spi-builder-workspace/Sources/Cast/Bench/Instrumentation.swift:100:27: warning: type 'GenerateResult' does not conform to the 'Sendable' protocol
 98 |         do {
 99 |             result = try await model.withInFlightRegistration {
100 |                 try await withGenerationTimeout(config.timeout) {
    |                           `- warning: type 'GenerateResult' does not conform to the 'Sendable' protocol
101 |                     try await container.perform { context in
102 |                         let userInput = UserInput(prompt: fullPrompt)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/mlx-swift-lm/Libraries/MLXLMCommon/Evaluate.swift:703:15: note: struct 'GenerateResult' does not conform to the 'Sendable' protocol
 701 |
 702 | /// Result of a call to a deprecated callback-based generate function.
 703 | public struct GenerateResult {
     |               `- note: struct 'GenerateResult' does not conform to the 'Sendable' protocol
 704 |
 705 |     /// Initializes a new `GenerateResult` instance.
/Users/admin/builder/spi-builder-workspace/Sources/Cast/Bench/Instrumentation.swift:101:41: warning: type 'GenerateResult' does not conform to the 'Sendable' protocol
 99 |             result = try await model.withInFlightRegistration {
100 |                 try await withGenerationTimeout(config.timeout) {
101 |                     try await container.perform { context in
    |                                         `- warning: type 'GenerateResult' does not conform to the 'Sendable' protocol
102 |                         let userInput = UserInput(prompt: fullPrompt)
103 |                         let lmInput = try await context.processor.prepare(input: userInput)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/mlx-swift-lm/Libraries/MLXLMCommon/Evaluate.swift:703:15: note: struct 'GenerateResult' does not conform to the 'Sendable' protocol
 701 |
 702 | /// Result of a call to a deprecated callback-based generate function.
 703 | public struct GenerateResult {
     |               `- note: struct 'GenerateResult' does not conform to the 'Sendable' protocol
 704 |
 705 |     /// Initializes a new `GenerateResult` instance.
/Users/admin/builder/spi-builder-workspace/Sources/Cast/Bench/Instrumentation.swift:109:44: warning: 'generate(input:context:iterator:didGenerate:)' is deprecated: Use the AsyncStream-based generate(input:cache:parameters:context:) instead for better Swift concurrency support [#DeprecatedDeclaration]
107 |                             parameters: parameters
108 |                         )
109 |                         return MLXLMCommon.generate(
    |                                            `- warning: 'generate(input:context:iterator:didGenerate:)' is deprecated: Use the AsyncStream-based generate(input:cache:parameters:context:) instead for better Swift concurrency support [#DeprecatedDeclaration]
110 |                             input: lmInput,
111 |                             context: context,
/Users/admin/builder/spi-builder-workspace/Sources/Cast/Bench/Instrumentation.swift:109:32: warning: returning a task-isolated 'GenerateResult' value as a 'sending' result risks causing data races
107 |                             parameters: parameters
108 |                         )
109 |                         return MLXLMCommon.generate(
    |                                |- warning: returning a task-isolated 'GenerateResult' value as a 'sending' result risks causing data races
    |                                |- note: returning a task-isolated 'GenerateResult' value risks causing races since the caller assumes the value can be safely sent to other isolation domains
    |                                `- note: 'GenerateResult' is a non-Sendable type
110 |                             input: lmInput,
111 |                             context: context,
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[2398/2426] Compiling Cast CastModel.swift
/Users/admin/builder/spi-builder-workspace/Sources/Cast/Bench/Instrumentation.swift:99:38: warning: type 'GenerateResult' does not conform to the 'Sendable' protocol
 97 |         let result: GenerateResult
 98 |         do {
 99 |             result = try await model.withInFlightRegistration {
    |                                      `- warning: type 'GenerateResult' does not conform to the 'Sendable' protocol
100 |                 try await withGenerationTimeout(config.timeout) {
101 |                     try await container.perform { context in
/Users/admin/builder/spi-builder-workspace/.build/checkouts/mlx-swift-lm/Libraries/MLXLMCommon/Evaluate.swift:703:15: note: struct 'GenerateResult' does not conform to the 'Sendable' protocol
 701 |
 702 | /// Result of a call to a deprecated callback-based generate function.
 703 | public struct GenerateResult {
     |               `- note: struct 'GenerateResult' does not conform to the 'Sendable' protocol
 704 |
 705 |     /// Initializes a new `GenerateResult` instance.
/Users/admin/builder/spi-builder-workspace/Sources/Cast/Bench/Instrumentation.swift:100:27: warning: type 'GenerateResult' does not conform to the 'Sendable' protocol
 98 |         do {
 99 |             result = try await model.withInFlightRegistration {
100 |                 try await withGenerationTimeout(config.timeout) {
    |                           `- warning: type 'GenerateResult' does not conform to the 'Sendable' protocol
101 |                     try await container.perform { context in
102 |                         let userInput = UserInput(prompt: fullPrompt)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/mlx-swift-lm/Libraries/MLXLMCommon/Evaluate.swift:703:15: note: struct 'GenerateResult' does not conform to the 'Sendable' protocol
 701 |
 702 | /// Result of a call to a deprecated callback-based generate function.
 703 | public struct GenerateResult {
     |               `- note: struct 'GenerateResult' does not conform to the 'Sendable' protocol
 704 |
 705 |     /// Initializes a new `GenerateResult` instance.
/Users/admin/builder/spi-builder-workspace/Sources/Cast/Bench/Instrumentation.swift:101:41: warning: type 'GenerateResult' does not conform to the 'Sendable' protocol
 99 |             result = try await model.withInFlightRegistration {
100 |                 try await withGenerationTimeout(config.timeout) {
101 |                     try await container.perform { context in
    |                                         `- warning: type 'GenerateResult' does not conform to the 'Sendable' protocol
102 |                         let userInput = UserInput(prompt: fullPrompt)
103 |                         let lmInput = try await context.processor.prepare(input: userInput)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/mlx-swift-lm/Libraries/MLXLMCommon/Evaluate.swift:703:15: note: struct 'GenerateResult' does not conform to the 'Sendable' protocol
 701 |
 702 | /// Result of a call to a deprecated callback-based generate function.
 703 | public struct GenerateResult {
     |               `- note: struct 'GenerateResult' does not conform to the 'Sendable' protocol
 704 |
 705 |     /// Initializes a new `GenerateResult` instance.
/Users/admin/builder/spi-builder-workspace/Sources/Cast/Bench/Instrumentation.swift:109:44: warning: 'generate(input:context:iterator:didGenerate:)' is deprecated: Use the AsyncStream-based generate(input:cache:parameters:context:) instead for better Swift concurrency support [#DeprecatedDeclaration]
107 |                             parameters: parameters
108 |                         )
109 |                         return MLXLMCommon.generate(
    |                                            `- warning: 'generate(input:context:iterator:didGenerate:)' is deprecated: Use the AsyncStream-based generate(input:cache:parameters:context:) instead for better Swift concurrency support [#DeprecatedDeclaration]
110 |                             input: lmInput,
111 |                             context: context,
/Users/admin/builder/spi-builder-workspace/Sources/Cast/Bench/Instrumentation.swift:109:32: warning: returning a task-isolated 'GenerateResult' value as a 'sending' result risks causing data races
107 |                             parameters: parameters
108 |                         )
109 |                         return MLXLMCommon.generate(
    |                                |- warning: returning a task-isolated 'GenerateResult' value as a 'sending' result risks causing data races
    |                                |- note: returning a task-isolated 'GenerateResult' value risks causing races since the caller assumes the value can be safely sent to other isolation domains
    |                                `- note: 'GenerateResult' is a non-Sendable type
110 |                             input: lmInput,
111 |                             context: context,
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[2399/2426] Compiling Cast PartialResult.swift
[2400/2426] Compiling Cast PropertyWrappers.swift
[2401/2426] Compiling Cast CastModel+Timeout.swift
/Users/admin/builder/spi-builder-workspace/Sources/Cast/API/CastModel+GPUSafety.swift:24:5: warning: 'setErrorHandler(_:data:dtor:)' is deprecated: please use withErrorHandler() or withError() [#DeprecatedDeclaration]
22 |
23 | private let _setupGlobalErrorHandler: Void = {
24 |     setErrorHandler(globalMLXErrorHandler)
   |     `- warning: 'setErrorHandler(_:data:dtor:)' is deprecated: please use withErrorHandler() or withError() [#DeprecatedDeclaration]
25 | }()
26 |
/Users/admin/builder/spi-builder-workspace/Sources/Cast/API/CastModel+Generation.swift:137:32: warning: type 'GenerateResult' does not conform to the 'Sendable' protocol
135 |         let result: GenerateResult
136 |         do {
137 |             result = try await withInFlightRegistration {
    |                                `- warning: type 'GenerateResult' does not conform to the 'Sendable' protocol
138 |                 try await withGenerationTimeout(config.timeout) {
139 |                     try await container.perform { context in
/Users/admin/builder/spi-builder-workspace/.build/checkouts/mlx-swift-lm/Libraries/MLXLMCommon/Evaluate.swift:703:15: note: struct 'GenerateResult' does not conform to the 'Sendable' protocol
 701 |
 702 | /// Result of a call to a deprecated callback-based generate function.
 703 | public struct GenerateResult {
     |               `- note: struct 'GenerateResult' does not conform to the 'Sendable' protocol
 704 |
 705 |     /// Initializes a new `GenerateResult` instance.
/Users/admin/builder/spi-builder-workspace/Sources/Cast/API/CastModel+Generation.swift:138:27: warning: type 'GenerateResult' does not conform to the 'Sendable' protocol
136 |         do {
137 |             result = try await withInFlightRegistration {
138 |                 try await withGenerationTimeout(config.timeout) {
    |                           `- warning: type 'GenerateResult' does not conform to the 'Sendable' protocol
139 |                     try await container.perform { context in
140 |                         let userInput = UserInput(prompt: fullPrompt)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/mlx-swift-lm/Libraries/MLXLMCommon/Evaluate.swift:703:15: note: struct 'GenerateResult' does not conform to the 'Sendable' protocol
 701 |
 702 | /// Result of a call to a deprecated callback-based generate function.
 703 | public struct GenerateResult {
     |               `- note: struct 'GenerateResult' does not conform to the 'Sendable' protocol
 704 |
 705 |     /// Initializes a new `GenerateResult` instance.
/Users/admin/builder/spi-builder-workspace/Sources/Cast/API/CastModel+Generation.swift:139:41: warning: type 'GenerateResult' does not conform to the 'Sendable' protocol
137 |             result = try await withInFlightRegistration {
138 |                 try await withGenerationTimeout(config.timeout) {
139 |                     try await container.perform { context in
    |                                         `- warning: type 'GenerateResult' does not conform to the 'Sendable' protocol
140 |                         let userInput = UserInput(prompt: fullPrompt)
141 |                         let lmInput = try await context.processor.prepare(input: userInput)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/mlx-swift-lm/Libraries/MLXLMCommon/Evaluate.swift:703:15: note: struct 'GenerateResult' does not conform to the 'Sendable' protocol
 701 |
 702 | /// Result of a call to a deprecated callback-based generate function.
 703 | public struct GenerateResult {
     |               `- note: struct 'GenerateResult' does not conform to the 'Sendable' protocol
 704 |
 705 |     /// Initializes a new `GenerateResult` instance.
/Users/admin/builder/spi-builder-workspace/Sources/Cast/API/CastModel+Generation.swift:147:38: warning: capture of 'grammar' with non-Sendable type 'Grammar' in a '@Sendable' closure [#SendableClosureCaptures]
145 |                             parameters: parameters,
146 |                             context: context,
147 |                             grammar: grammar,
    |                                      `- warning: capture of 'grammar' with non-Sendable type 'Grammar' in a '@Sendable' closure [#SendableClosureCaptures]
148 |                             didGenerate: { tokens in
149 |                                 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:147:38: warning: capture of 'grammar' with non-Sendable type 'Grammar' in a '@Sendable' closure [#SendableClosureCaptures]
145 |                             parameters: parameters,
146 |                             context: context,
147 |                             grammar: grammar,
    |                                      `- warning: capture of 'grammar' with non-Sendable type 'Grammar' in a '@Sendable' closure [#SendableClosureCaptures]
148 |                             didGenerate: { tokens in
149 |                                 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:147:38: warning: capture of 'grammar' with non-Sendable type 'Grammar' in a '@Sendable' closure [#SendableClosureCaptures]
145 |                             parameters: parameters,
146 |                             context: context,
147 |                             grammar: grammar,
    |                                      `- warning: capture of 'grammar' with non-Sendable type 'Grammar' in a '@Sendable' closure [#SendableClosureCaptures]
148 |                             didGenerate: { tokens in
149 |                                 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:216:32: warning: type 'GenerateResult' does not conform to the 'Sendable' protocol
214 |         let result: GenerateResult
215 |         do {
216 |             result = try await withInFlightRegistration {
    |                                `- warning: type 'GenerateResult' does not conform to the 'Sendable' protocol
217 |                 try await withGenerationTimeout(config.timeout) {
218 |                     try await container.perform { context in
/Users/admin/builder/spi-builder-workspace/.build/checkouts/mlx-swift-lm/Libraries/MLXLMCommon/Evaluate.swift:703:15: note: struct 'GenerateResult' does not conform to the 'Sendable' protocol
 701 |
 702 | /// Result of a call to a deprecated callback-based generate function.
 703 | public struct GenerateResult {
     |               `- note: struct 'GenerateResult' does not conform to the 'Sendable' protocol
 704 |
 705 |     /// Initializes a new `GenerateResult` instance.
/Users/admin/builder/spi-builder-workspace/Sources/Cast/API/CastModel+Generation.swift:217:27: warning: type 'GenerateResult' does not conform to the 'Sendable' protocol
215 |         do {
216 |             result = try await withInFlightRegistration {
217 |                 try await withGenerationTimeout(config.timeout) {
    |                           `- warning: type 'GenerateResult' does not conform to the 'Sendable' protocol
218 |                     try await container.perform { context in
219 |                         let userInput = UserInput(prompt: fullPrompt)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/mlx-swift-lm/Libraries/MLXLMCommon/Evaluate.swift:703:15: note: struct 'GenerateResult' does not conform to the 'Sendable' protocol
 701 |
 702 | /// Result of a call to a deprecated callback-based generate function.
 703 | public struct GenerateResult {
     |               `- note: struct 'GenerateResult' does not conform to the 'Sendable' protocol
 704 |
 705 |     /// Initializes a new `GenerateResult` instance.
/Users/admin/builder/spi-builder-workspace/Sources/Cast/API/CastModel+Generation.swift:218:41: warning: type 'GenerateResult' does not conform to the 'Sendable' protocol
216 |             result = try await withInFlightRegistration {
217 |                 try await withGenerationTimeout(config.timeout) {
218 |                     try await container.perform { context in
    |                                         `- warning: type 'GenerateResult' does not conform to the 'Sendable' protocol
219 |                         let userInput = UserInput(prompt: fullPrompt)
220 |                         let lmInput = try await context.processor.prepare(input: userInput)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/mlx-swift-lm/Libraries/MLXLMCommon/Evaluate.swift:703:15: note: struct 'GenerateResult' does not conform to the 'Sendable' protocol
 701 |
 702 | /// Result of a call to a deprecated callback-based generate function.
 703 | public struct GenerateResult {
     |               `- note: struct 'GenerateResult' does not conform to the 'Sendable' protocol
 704 |
 705 |     /// Initializes a new `GenerateResult` instance.
/Users/admin/builder/spi-builder-workspace/Sources/Cast/API/CastModel+Generation.swift:226:38: warning: capture of 'grammar' with non-Sendable type 'Grammar' in a '@Sendable' closure [#SendableClosureCaptures]
224 |                             parameters: parameters,
225 |                             context: context,
226 |                             grammar: grammar,
    |                                      `- warning: capture of 'grammar' with non-Sendable type 'Grammar' in a '@Sendable' closure [#SendableClosureCaptures]
227 |                             didGenerate: { tokens in
228 |                                 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:226:38: warning: capture of 'grammar' with non-Sendable type 'Grammar' in a '@Sendable' closure [#SendableClosureCaptures]
224 |                             parameters: parameters,
225 |                             context: context,
226 |                             grammar: grammar,
    |                                      `- warning: capture of 'grammar' with non-Sendable type 'Grammar' in a '@Sendable' closure [#SendableClosureCaptures]
227 |                             didGenerate: { tokens in
228 |                                 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:226:38: warning: capture of 'grammar' with non-Sendable type 'Grammar' in a '@Sendable' closure [#SendableClosureCaptures]
224 |                             parameters: parameters,
225 |                             context: context,
226 |                             grammar: grammar,
    |                                      `- warning: capture of 'grammar' with non-Sendable type 'Grammar' in a '@Sendable' closure [#SendableClosureCaptures]
227 |                             didGenerate: { tokens in
228 |                                 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:143:42: warning: returning a task-isolated 'GenerateResult' value as a 'sending' result risks causing data races
141 |                         let lmInput = try await context.processor.prepare(input: userInput)
142 |
143 |                         return try await MLXStructured.generate(
    |                                          |- warning: returning a task-isolated 'GenerateResult' value as a 'sending' result risks causing data races
    |                                          |- note: returning a task-isolated 'GenerateResult' value risks causing races since the caller assumes the value can be safely sent to other isolation domains
    |                                          `- note: 'GenerateResult' is a non-Sendable type
144 |                             input: lmInput,
145 |                             parameters: parameters,
/Users/admin/builder/spi-builder-workspace/Sources/Cast/API/CastModel+Generation.swift:222:42: warning: returning a task-isolated 'GenerateResult' value as a 'sending' result risks causing data races
220 |                         let lmInput = try await context.processor.prepare(input: userInput)
221 |
222 |                         return try await MLXStructured.generate(
    |                                          |- warning: returning a task-isolated 'GenerateResult' value as a 'sending' result risks causing data races
    |                                          |- note: returning a task-isolated 'GenerateResult' value risks causing races since the caller assumes the value can be safely sent to other isolation domains
    |                                          `- note: 'GenerateResult' is a non-Sendable type
223 |                             input: lmInput,
224 |                             parameters: parameters,
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[2402/2426] Compiling Cast CastModel+Extract.swift
/Users/admin/builder/spi-builder-workspace/Sources/Cast/API/CastModel+GPUSafety.swift:24:5: warning: 'setErrorHandler(_:data:dtor:)' is deprecated: please use withErrorHandler() or withError() [#DeprecatedDeclaration]
22 |
23 | private let _setupGlobalErrorHandler: Void = {
24 |     setErrorHandler(globalMLXErrorHandler)
   |     `- warning: 'setErrorHandler(_:data:dtor:)' is deprecated: please use withErrorHandler() or withError() [#DeprecatedDeclaration]
25 | }()
26 |
/Users/admin/builder/spi-builder-workspace/Sources/Cast/API/CastModel+Generation.swift:137:32: warning: type 'GenerateResult' does not conform to the 'Sendable' protocol
135 |         let result: GenerateResult
136 |         do {
137 |             result = try await withInFlightRegistration {
    |                                `- warning: type 'GenerateResult' does not conform to the 'Sendable' protocol
138 |                 try await withGenerationTimeout(config.timeout) {
139 |                     try await container.perform { context in
/Users/admin/builder/spi-builder-workspace/.build/checkouts/mlx-swift-lm/Libraries/MLXLMCommon/Evaluate.swift:703:15: note: struct 'GenerateResult' does not conform to the 'Sendable' protocol
 701 |
 702 | /// Result of a call to a deprecated callback-based generate function.
 703 | public struct GenerateResult {
     |               `- note: struct 'GenerateResult' does not conform to the 'Sendable' protocol
 704 |
 705 |     /// Initializes a new `GenerateResult` instance.
/Users/admin/builder/spi-builder-workspace/Sources/Cast/API/CastModel+Generation.swift:138:27: warning: type 'GenerateResult' does not conform to the 'Sendable' protocol
136 |         do {
137 |             result = try await withInFlightRegistration {
138 |                 try await withGenerationTimeout(config.timeout) {
    |                           `- warning: type 'GenerateResult' does not conform to the 'Sendable' protocol
139 |                     try await container.perform { context in
140 |                         let userInput = UserInput(prompt: fullPrompt)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/mlx-swift-lm/Libraries/MLXLMCommon/Evaluate.swift:703:15: note: struct 'GenerateResult' does not conform to the 'Sendable' protocol
 701 |
 702 | /// Result of a call to a deprecated callback-based generate function.
 703 | public struct GenerateResult {
     |               `- note: struct 'GenerateResult' does not conform to the 'Sendable' protocol
 704 |
 705 |     /// Initializes a new `GenerateResult` instance.
/Users/admin/builder/spi-builder-workspace/Sources/Cast/API/CastModel+Generation.swift:139:41: warning: type 'GenerateResult' does not conform to the 'Sendable' protocol
137 |             result = try await withInFlightRegistration {
138 |                 try await withGenerationTimeout(config.timeout) {
139 |                     try await container.perform { context in
    |                                         `- warning: type 'GenerateResult' does not conform to the 'Sendable' protocol
140 |                         let userInput = UserInput(prompt: fullPrompt)
141 |                         let lmInput = try await context.processor.prepare(input: userInput)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/mlx-swift-lm/Libraries/MLXLMCommon/Evaluate.swift:703:15: note: struct 'GenerateResult' does not conform to the 'Sendable' protocol
 701 |
 702 | /// Result of a call to a deprecated callback-based generate function.
 703 | public struct GenerateResult {
     |               `- note: struct 'GenerateResult' does not conform to the 'Sendable' protocol
 704 |
 705 |     /// Initializes a new `GenerateResult` instance.
/Users/admin/builder/spi-builder-workspace/Sources/Cast/API/CastModel+Generation.swift:147:38: warning: capture of 'grammar' with non-Sendable type 'Grammar' in a '@Sendable' closure [#SendableClosureCaptures]
145 |                             parameters: parameters,
146 |                             context: context,
147 |                             grammar: grammar,
    |                                      `- warning: capture of 'grammar' with non-Sendable type 'Grammar' in a '@Sendable' closure [#SendableClosureCaptures]
148 |                             didGenerate: { tokens in
149 |                                 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:147:38: warning: capture of 'grammar' with non-Sendable type 'Grammar' in a '@Sendable' closure [#SendableClosureCaptures]
145 |                             parameters: parameters,
146 |                             context: context,
147 |                             grammar: grammar,
    |                                      `- warning: capture of 'grammar' with non-Sendable type 'Grammar' in a '@Sendable' closure [#SendableClosureCaptures]
148 |                             didGenerate: { tokens in
149 |                                 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:147:38: warning: capture of 'grammar' with non-Sendable type 'Grammar' in a '@Sendable' closure [#SendableClosureCaptures]
145 |                             parameters: parameters,
146 |                             context: context,
147 |                             grammar: grammar,
    |                                      `- warning: capture of 'grammar' with non-Sendable type 'Grammar' in a '@Sendable' closure [#SendableClosureCaptures]
148 |                             didGenerate: { tokens in
149 |                                 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:216:32: warning: type 'GenerateResult' does not conform to the 'Sendable' protocol
214 |         let result: GenerateResult
215 |         do {
216 |             result = try await withInFlightRegistration {
    |                                `- warning: type 'GenerateResult' does not conform to the 'Sendable' protocol
217 |                 try await withGenerationTimeout(config.timeout) {
218 |                     try await container.perform { context in
/Users/admin/builder/spi-builder-workspace/.build/checkouts/mlx-swift-lm/Libraries/MLXLMCommon/Evaluate.swift:703:15: note: struct 'GenerateResult' does not conform to the 'Sendable' protocol
 701 |
 702 | /// Result of a call to a deprecated callback-based generate function.
 703 | public struct GenerateResult {
     |               `- note: struct 'GenerateResult' does not conform to the 'Sendable' protocol
 704 |
 705 |     /// Initializes a new `GenerateResult` instance.
/Users/admin/builder/spi-builder-workspace/Sources/Cast/API/CastModel+Generation.swift:217:27: warning: type 'GenerateResult' does not conform to the 'Sendable' protocol
215 |         do {
216 |             result = try await withInFlightRegistration {
217 |                 try await withGenerationTimeout(config.timeout) {
    |                           `- warning: type 'GenerateResult' does not conform to the 'Sendable' protocol
218 |                     try await container.perform { context in
219 |                         let userInput = UserInput(prompt: fullPrompt)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/mlx-swift-lm/Libraries/MLXLMCommon/Evaluate.swift:703:15: note: struct 'GenerateResult' does not conform to the 'Sendable' protocol
 701 |
 702 | /// Result of a call to a deprecated callback-based generate function.
 703 | public struct GenerateResult {
     |               `- note: struct 'GenerateResult' does not conform to the 'Sendable' protocol
 704 |
 705 |     /// Initializes a new `GenerateResult` instance.
/Users/admin/builder/spi-builder-workspace/Sources/Cast/API/CastModel+Generation.swift:218:41: warning: type 'GenerateResult' does not conform to the 'Sendable' protocol
216 |             result = try await withInFlightRegistration {
217 |                 try await withGenerationTimeout(config.timeout) {
218 |                     try await container.perform { context in
    |                                         `- warning: type 'GenerateResult' does not conform to the 'Sendable' protocol
219 |                         let userInput = UserInput(prompt: fullPrompt)
220 |                         let lmInput = try await context.processor.prepare(input: userInput)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/mlx-swift-lm/Libraries/MLXLMCommon/Evaluate.swift:703:15: note: struct 'GenerateResult' does not conform to the 'Sendable' protocol
 701 |
 702 | /// Result of a call to a deprecated callback-based generate function.
 703 | public struct GenerateResult {
     |               `- note: struct 'GenerateResult' does not conform to the 'Sendable' protocol
 704 |
 705 |     /// Initializes a new `GenerateResult` instance.
/Users/admin/builder/spi-builder-workspace/Sources/Cast/API/CastModel+Generation.swift:226:38: warning: capture of 'grammar' with non-Sendable type 'Grammar' in a '@Sendable' closure [#SendableClosureCaptures]
224 |                             parameters: parameters,
225 |                             context: context,
226 |                             grammar: grammar,
    |                                      `- warning: capture of 'grammar' with non-Sendable type 'Grammar' in a '@Sendable' closure [#SendableClosureCaptures]
227 |                             didGenerate: { tokens in
228 |                                 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:226:38: warning: capture of 'grammar' with non-Sendable type 'Grammar' in a '@Sendable' closure [#SendableClosureCaptures]
224 |                             parameters: parameters,
225 |                             context: context,
226 |                             grammar: grammar,
    |                                      `- warning: capture of 'grammar' with non-Sendable type 'Grammar' in a '@Sendable' closure [#SendableClosureCaptures]
227 |                             didGenerate: { tokens in
228 |                                 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:226:38: warning: capture of 'grammar' with non-Sendable type 'Grammar' in a '@Sendable' closure [#SendableClosureCaptures]
224 |                             parameters: parameters,
225 |                             context: context,
226 |                             grammar: grammar,
    |                                      `- warning: capture of 'grammar' with non-Sendable type 'Grammar' in a '@Sendable' closure [#SendableClosureCaptures]
227 |                             didGenerate: { tokens in
228 |                                 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:143:42: warning: returning a task-isolated 'GenerateResult' value as a 'sending' result risks causing data races
141 |                         let lmInput = try await context.processor.prepare(input: userInput)
142 |
143 |                         return try await MLXStructured.generate(
    |                                          |- warning: returning a task-isolated 'GenerateResult' value as a 'sending' result risks causing data races
    |                                          |- note: returning a task-isolated 'GenerateResult' value risks causing races since the caller assumes the value can be safely sent to other isolation domains
    |                                          `- note: 'GenerateResult' is a non-Sendable type
144 |                             input: lmInput,
145 |                             parameters: parameters,
/Users/admin/builder/spi-builder-workspace/Sources/Cast/API/CastModel+Generation.swift:222:42: warning: returning a task-isolated 'GenerateResult' value as a 'sending' result risks causing data races
220 |                         let lmInput = try await context.processor.prepare(input: userInput)
221 |
222 |                         return try await MLXStructured.generate(
    |                                          |- warning: returning a task-isolated 'GenerateResult' value as a 'sending' result risks causing data races
    |                                          |- note: returning a task-isolated 'GenerateResult' value risks causing races since the caller assumes the value can be safely sent to other isolation domains
    |                                          `- note: 'GenerateResult' is a non-Sendable type
223 |                             input: lmInput,
224 |                             parameters: parameters,
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[2403/2426] Compiling Cast CastModel+GPUSafety.swift
/Users/admin/builder/spi-builder-workspace/Sources/Cast/API/CastModel+GPUSafety.swift:24:5: warning: 'setErrorHandler(_:data:dtor:)' is deprecated: please use withErrorHandler() or withError() [#DeprecatedDeclaration]
22 |
23 | private let _setupGlobalErrorHandler: Void = {
24 |     setErrorHandler(globalMLXErrorHandler)
   |     `- warning: 'setErrorHandler(_:data:dtor:)' is deprecated: please use withErrorHandler() or withError() [#DeprecatedDeclaration]
25 | }()
26 |
/Users/admin/builder/spi-builder-workspace/Sources/Cast/API/CastModel+Generation.swift:137:32: warning: type 'GenerateResult' does not conform to the 'Sendable' protocol
135 |         let result: GenerateResult
136 |         do {
137 |             result = try await withInFlightRegistration {
    |                                `- warning: type 'GenerateResult' does not conform to the 'Sendable' protocol
138 |                 try await withGenerationTimeout(config.timeout) {
139 |                     try await container.perform { context in
/Users/admin/builder/spi-builder-workspace/.build/checkouts/mlx-swift-lm/Libraries/MLXLMCommon/Evaluate.swift:703:15: note: struct 'GenerateResult' does not conform to the 'Sendable' protocol
 701 |
 702 | /// Result of a call to a deprecated callback-based generate function.
 703 | public struct GenerateResult {
     |               `- note: struct 'GenerateResult' does not conform to the 'Sendable' protocol
 704 |
 705 |     /// Initializes a new `GenerateResult` instance.
/Users/admin/builder/spi-builder-workspace/Sources/Cast/API/CastModel+Generation.swift:138:27: warning: type 'GenerateResult' does not conform to the 'Sendable' protocol
136 |         do {
137 |             result = try await withInFlightRegistration {
138 |                 try await withGenerationTimeout(config.timeout) {
    |                           `- warning: type 'GenerateResult' does not conform to the 'Sendable' protocol
139 |                     try await container.perform { context in
140 |                         let userInput = UserInput(prompt: fullPrompt)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/mlx-swift-lm/Libraries/MLXLMCommon/Evaluate.swift:703:15: note: struct 'GenerateResult' does not conform to the 'Sendable' protocol
 701 |
 702 | /// Result of a call to a deprecated callback-based generate function.
 703 | public struct GenerateResult {
     |               `- note: struct 'GenerateResult' does not conform to the 'Sendable' protocol
 704 |
 705 |     /// Initializes a new `GenerateResult` instance.
/Users/admin/builder/spi-builder-workspace/Sources/Cast/API/CastModel+Generation.swift:139:41: warning: type 'GenerateResult' does not conform to the 'Sendable' protocol
137 |             result = try await withInFlightRegistration {
138 |                 try await withGenerationTimeout(config.timeout) {
139 |                     try await container.perform { context in
    |                                         `- warning: type 'GenerateResult' does not conform to the 'Sendable' protocol
140 |                         let userInput = UserInput(prompt: fullPrompt)
141 |                         let lmInput = try await context.processor.prepare(input: userInput)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/mlx-swift-lm/Libraries/MLXLMCommon/Evaluate.swift:703:15: note: struct 'GenerateResult' does not conform to the 'Sendable' protocol
 701 |
 702 | /// Result of a call to a deprecated callback-based generate function.
 703 | public struct GenerateResult {
     |               `- note: struct 'GenerateResult' does not conform to the 'Sendable' protocol
 704 |
 705 |     /// Initializes a new `GenerateResult` instance.
/Users/admin/builder/spi-builder-workspace/Sources/Cast/API/CastModel+Generation.swift:147:38: warning: capture of 'grammar' with non-Sendable type 'Grammar' in a '@Sendable' closure [#SendableClosureCaptures]
145 |                             parameters: parameters,
146 |                             context: context,
147 |                             grammar: grammar,
    |                                      `- warning: capture of 'grammar' with non-Sendable type 'Grammar' in a '@Sendable' closure [#SendableClosureCaptures]
148 |                             didGenerate: { tokens in
149 |                                 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:147:38: warning: capture of 'grammar' with non-Sendable type 'Grammar' in a '@Sendable' closure [#SendableClosureCaptures]
145 |                             parameters: parameters,
146 |                             context: context,
147 |                             grammar: grammar,
    |                                      `- warning: capture of 'grammar' with non-Sendable type 'Grammar' in a '@Sendable' closure [#SendableClosureCaptures]
148 |                             didGenerate: { tokens in
149 |                                 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:147:38: warning: capture of 'grammar' with non-Sendable type 'Grammar' in a '@Sendable' closure [#SendableClosureCaptures]
145 |                             parameters: parameters,
146 |                             context: context,
147 |                             grammar: grammar,
    |                                      `- warning: capture of 'grammar' with non-Sendable type 'Grammar' in a '@Sendable' closure [#SendableClosureCaptures]
148 |                             didGenerate: { tokens in
149 |                                 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:216:32: warning: type 'GenerateResult' does not conform to the 'Sendable' protocol
214 |         let result: GenerateResult
215 |         do {
216 |             result = try await withInFlightRegistration {
    |                                `- warning: type 'GenerateResult' does not conform to the 'Sendable' protocol
217 |                 try await withGenerationTimeout(config.timeout) {
218 |                     try await container.perform { context in
/Users/admin/builder/spi-builder-workspace/.build/checkouts/mlx-swift-lm/Libraries/MLXLMCommon/Evaluate.swift:703:15: note: struct 'GenerateResult' does not conform to the 'Sendable' protocol
 701 |
 702 | /// Result of a call to a deprecated callback-based generate function.
 703 | public struct GenerateResult {
     |               `- note: struct 'GenerateResult' does not conform to the 'Sendable' protocol
 704 |
 705 |     /// Initializes a new `GenerateResult` instance.
/Users/admin/builder/spi-builder-workspace/Sources/Cast/API/CastModel+Generation.swift:217:27: warning: type 'GenerateResult' does not conform to the 'Sendable' protocol
215 |         do {
216 |             result = try await withInFlightRegistration {
217 |                 try await withGenerationTimeout(config.timeout) {
    |                           `- warning: type 'GenerateResult' does not conform to the 'Sendable' protocol
218 |                     try await container.perform { context in
219 |                         let userInput = UserInput(prompt: fullPrompt)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/mlx-swift-lm/Libraries/MLXLMCommon/Evaluate.swift:703:15: note: struct 'GenerateResult' does not conform to the 'Sendable' protocol
 701 |
 702 | /// Result of a call to a deprecated callback-based generate function.
 703 | public struct GenerateResult {
     |               `- note: struct 'GenerateResult' does not conform to the 'Sendable' protocol
 704 |
 705 |     /// Initializes a new `GenerateResult` instance.
/Users/admin/builder/spi-builder-workspace/Sources/Cast/API/CastModel+Generation.swift:218:41: warning: type 'GenerateResult' does not conform to the 'Sendable' protocol
216 |             result = try await withInFlightRegistration {
217 |                 try await withGenerationTimeout(config.timeout) {
218 |                     try await container.perform { context in
    |                                         `- warning: type 'GenerateResult' does not conform to the 'Sendable' protocol
219 |                         let userInput = UserInput(prompt: fullPrompt)
220 |                         let lmInput = try await context.processor.prepare(input: userInput)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/mlx-swift-lm/Libraries/MLXLMCommon/Evaluate.swift:703:15: note: struct 'GenerateResult' does not conform to the 'Sendable' protocol
 701 |
 702 | /// Result of a call to a deprecated callback-based generate function.
 703 | public struct GenerateResult {
     |               `- note: struct 'GenerateResult' does not conform to the 'Sendable' protocol
 704 |
 705 |     /// Initializes a new `GenerateResult` instance.
/Users/admin/builder/spi-builder-workspace/Sources/Cast/API/CastModel+Generation.swift:226:38: warning: capture of 'grammar' with non-Sendable type 'Grammar' in a '@Sendable' closure [#SendableClosureCaptures]
224 |                             parameters: parameters,
225 |                             context: context,
226 |                             grammar: grammar,
    |                                      `- warning: capture of 'grammar' with non-Sendable type 'Grammar' in a '@Sendable' closure [#SendableClosureCaptures]
227 |                             didGenerate: { tokens in
228 |                                 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:226:38: warning: capture of 'grammar' with non-Sendable type 'Grammar' in a '@Sendable' closure [#SendableClosureCaptures]
224 |                             parameters: parameters,
225 |                             context: context,
226 |                             grammar: grammar,
    |                                      `- warning: capture of 'grammar' with non-Sendable type 'Grammar' in a '@Sendable' closure [#SendableClosureCaptures]
227 |                             didGenerate: { tokens in
228 |                                 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:226:38: warning: capture of 'grammar' with non-Sendable type 'Grammar' in a '@Sendable' closure [#SendableClosureCaptures]
224 |                             parameters: parameters,
225 |                             context: context,
226 |                             grammar: grammar,
    |                                      `- warning: capture of 'grammar' with non-Sendable type 'Grammar' in a '@Sendable' closure [#SendableClosureCaptures]
227 |                             didGenerate: { tokens in
228 |                                 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:143:42: warning: returning a task-isolated 'GenerateResult' value as a 'sending' result risks causing data races
141 |                         let lmInput = try await context.processor.prepare(input: userInput)
142 |
143 |                         return try await MLXStructured.generate(
    |                                          |- warning: returning a task-isolated 'GenerateResult' value as a 'sending' result risks causing data races
    |                                          |- note: returning a task-isolated 'GenerateResult' value risks causing races since the caller assumes the value can be safely sent to other isolation domains
    |                                          `- note: 'GenerateResult' is a non-Sendable type
144 |                             input: lmInput,
145 |                             parameters: parameters,
/Users/admin/builder/spi-builder-workspace/Sources/Cast/API/CastModel+Generation.swift:222:42: warning: returning a task-isolated 'GenerateResult' value as a 'sending' result risks causing data races
220 |                         let lmInput = try await context.processor.prepare(input: userInput)
221 |
222 |                         return try await MLXStructured.generate(
    |                                          |- warning: returning a task-isolated 'GenerateResult' value as a 'sending' result risks causing data races
    |                                          |- note: returning a task-isolated 'GenerateResult' value risks causing races since the caller assumes the value can be safely sent to other isolation domains
    |                                          `- note: 'GenerateResult' is a non-Sendable type
223 |                             input: lmInput,
224 |                             parameters: parameters,
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
/Users/admin/builder/spi-builder-workspace/Sources/Cast/API/CastModel+GPUSafety.swift:24:5: warning: 'setErrorHandler(_:data:dtor:)' is deprecated: please use withErrorHandler() or withError() [#DeprecatedDeclaration]
22 |
23 | private let _setupGlobalErrorHandler: Void = {
24 |     setErrorHandler(globalMLXErrorHandler)
   |     `- warning: 'setErrorHandler(_:data:dtor:)' is deprecated: please use withErrorHandler() or withError() [#DeprecatedDeclaration]
25 | }()
26 |
/Users/admin/builder/spi-builder-workspace/Sources/Cast/API/CastModel+Generation.swift:137:32: warning: type 'GenerateResult' does not conform to the 'Sendable' protocol
135 |         let result: GenerateResult
136 |         do {
137 |             result = try await withInFlightRegistration {
    |                                `- warning: type 'GenerateResult' does not conform to the 'Sendable' protocol
138 |                 try await withGenerationTimeout(config.timeout) {
139 |                     try await container.perform { context in
/Users/admin/builder/spi-builder-workspace/.build/checkouts/mlx-swift-lm/Libraries/MLXLMCommon/Evaluate.swift:703:15: note: struct 'GenerateResult' does not conform to the 'Sendable' protocol
 701 |
 702 | /// Result of a call to a deprecated callback-based generate function.
 703 | public struct GenerateResult {
     |               `- note: struct 'GenerateResult' does not conform to the 'Sendable' protocol
 704 |
 705 |     /// Initializes a new `GenerateResult` instance.
/Users/admin/builder/spi-builder-workspace/Sources/Cast/API/CastModel+Generation.swift:138:27: warning: type 'GenerateResult' does not conform to the 'Sendable' protocol
136 |         do {
137 |             result = try await withInFlightRegistration {
138 |                 try await withGenerationTimeout(config.timeout) {
    |                           `- warning: type 'GenerateResult' does not conform to the 'Sendable' protocol
139 |                     try await container.perform { context in
140 |                         let userInput = UserInput(prompt: fullPrompt)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/mlx-swift-lm/Libraries/MLXLMCommon/Evaluate.swift:703:15: note: struct 'GenerateResult' does not conform to the 'Sendable' protocol
 701 |
 702 | /// Result of a call to a deprecated callback-based generate function.
 703 | public struct GenerateResult {
     |               `- note: struct 'GenerateResult' does not conform to the 'Sendable' protocol
 704 |
 705 |     /// Initializes a new `GenerateResult` instance.
/Users/admin/builder/spi-builder-workspace/Sources/Cast/API/CastModel+Generation.swift:139:41: warning: type 'GenerateResult' does not conform to the 'Sendable' protocol
137 |             result = try await withInFlightRegistration {
138 |                 try await withGenerationTimeout(config.timeout) {
139 |                     try await container.perform { context in
    |                                         `- warning: type 'GenerateResult' does not conform to the 'Sendable' protocol
140 |                         let userInput = UserInput(prompt: fullPrompt)
141 |                         let lmInput = try await context.processor.prepare(input: userInput)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/mlx-swift-lm/Libraries/MLXLMCommon/Evaluate.swift:703:15: note: struct 'GenerateResult' does not conform to the 'Sendable' protocol
 701 |
 702 | /// Result of a call to a deprecated callback-based generate function.
 703 | public struct GenerateResult {
     |               `- note: struct 'GenerateResult' does not conform to the 'Sendable' protocol
 704 |
 705 |     /// Initializes a new `GenerateResult` instance.
/Users/admin/builder/spi-builder-workspace/Sources/Cast/API/CastModel+Generation.swift:147:38: warning: capture of 'grammar' with non-Sendable type 'Grammar' in a '@Sendable' closure [#SendableClosureCaptures]
145 |                             parameters: parameters,
146 |                             context: context,
147 |                             grammar: grammar,
    |                                      `- warning: capture of 'grammar' with non-Sendable type 'Grammar' in a '@Sendable' closure [#SendableClosureCaptures]
148 |                             didGenerate: { tokens in
149 |                                 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:147:38: warning: capture of 'grammar' with non-Sendable type 'Grammar' in a '@Sendable' closure [#SendableClosureCaptures]
145 |                             parameters: parameters,
146 |                             context: context,
147 |                             grammar: grammar,
    |                                      `- warning: capture of 'grammar' with non-Sendable type 'Grammar' in a '@Sendable' closure [#SendableClosureCaptures]
148 |                             didGenerate: { tokens in
149 |                                 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:147:38: warning: capture of 'grammar' with non-Sendable type 'Grammar' in a '@Sendable' closure [#SendableClosureCaptures]
145 |                             parameters: parameters,
146 |                             context: context,
147 |                             grammar: grammar,
    |                                      `- warning: capture of 'grammar' with non-Sendable type 'Grammar' in a '@Sendable' closure [#SendableClosureCaptures]
148 |                             didGenerate: { tokens in
149 |                                 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:216:32: warning: type 'GenerateResult' does not conform to the 'Sendable' protocol
214 |         let result: GenerateResult
215 |         do {
216 |             result = try await withInFlightRegistration {
    |                                `- warning: type 'GenerateResult' does not conform to the 'Sendable' protocol
217 |                 try await withGenerationTimeout(config.timeout) {
218 |                     try await container.perform { context in
/Users/admin/builder/spi-builder-workspace/.build/checkouts/mlx-swift-lm/Libraries/MLXLMCommon/Evaluate.swift:703:15: note: struct 'GenerateResult' does not conform to the 'Sendable' protocol
 701 |
 702 | /// Result of a call to a deprecated callback-based generate function.
 703 | public struct GenerateResult {
     |               `- note: struct 'GenerateResult' does not conform to the 'Sendable' protocol
 704 |
 705 |     /// Initializes a new `GenerateResult` instance.
/Users/admin/builder/spi-builder-workspace/Sources/Cast/API/CastModel+Generation.swift:217:27: warning: type 'GenerateResult' does not conform to the 'Sendable' protocol
215 |         do {
216 |             result = try await withInFlightRegistration {
217 |                 try await withGenerationTimeout(config.timeout) {
    |                           `- warning: type 'GenerateResult' does not conform to the 'Sendable' protocol
218 |                     try await container.perform { context in
219 |                         let userInput = UserInput(prompt: fullPrompt)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/mlx-swift-lm/Libraries/MLXLMCommon/Evaluate.swift:703:15: note: struct 'GenerateResult' does not conform to the 'Sendable' protocol
 701 |
 702 | /// Result of a call to a deprecated callback-based generate function.
 703 | public struct GenerateResult {
     |               `- note: struct 'GenerateResult' does not conform to the 'Sendable' protocol
 704 |
 705 |     /// Initializes a new `GenerateResult` instance.
/Users/admin/builder/spi-builder-workspace/Sources/Cast/API/CastModel+Generation.swift:218:41: warning: type 'GenerateResult' does not conform to the 'Sendable' protocol
216 |             result = try await withInFlightRegistration {
217 |                 try await withGenerationTimeout(config.timeout) {
218 |                     try await container.perform { context in
    |                                         `- warning: type 'GenerateResult' does not conform to the 'Sendable' protocol
219 |                         let userInput = UserInput(prompt: fullPrompt)
220 |                         let lmInput = try await context.processor.prepare(input: userInput)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/mlx-swift-lm/Libraries/MLXLMCommon/Evaluate.swift:703:15: note: struct 'GenerateResult' does not conform to the 'Sendable' protocol
 701 |
 702 | /// Result of a call to a deprecated callback-based generate function.
 703 | public struct GenerateResult {
     |               `- note: struct 'GenerateResult' does not conform to the 'Sendable' protocol
 704 |
 705 |     /// Initializes a new `GenerateResult` instance.
/Users/admin/builder/spi-builder-workspace/Sources/Cast/API/CastModel+Generation.swift:226:38: warning: capture of 'grammar' with non-Sendable type 'Grammar' in a '@Sendable' closure [#SendableClosureCaptures]
224 |                             parameters: parameters,
225 |                             context: context,
226 |                             grammar: grammar,
    |                                      `- warning: capture of 'grammar' with non-Sendable type 'Grammar' in a '@Sendable' closure [#SendableClosureCaptures]
227 |                             didGenerate: { tokens in
228 |                                 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:226:38: warning: capture of 'grammar' with non-Sendable type 'Grammar' in a '@Sendable' closure [#SendableClosureCaptures]
224 |                             parameters: parameters,
225 |                             context: context,
226 |                             grammar: grammar,
    |                                      `- warning: capture of 'grammar' with non-Sendable type 'Grammar' in a '@Sendable' closure [#SendableClosureCaptures]
227 |                             didGenerate: { tokens in
228 |                                 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:226:38: warning: capture of 'grammar' with non-Sendable type 'Grammar' in a '@Sendable' closure [#SendableClosureCaptures]
224 |                             parameters: parameters,
225 |                             context: context,
226 |                             grammar: grammar,
    |                                      `- warning: capture of 'grammar' with non-Sendable type 'Grammar' in a '@Sendable' closure [#SendableClosureCaptures]
227 |                             didGenerate: { tokens in
228 |                                 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:143:42: warning: returning a task-isolated 'GenerateResult' value as a 'sending' result risks causing data races
141 |                         let lmInput = try await context.processor.prepare(input: userInput)
142 |
143 |                         return try await MLXStructured.generate(
    |                                          |- warning: returning a task-isolated 'GenerateResult' value as a 'sending' result risks causing data races
    |                                          |- note: returning a task-isolated 'GenerateResult' value risks causing races since the caller assumes the value can be safely sent to other isolation domains
    |                                          `- note: 'GenerateResult' is a non-Sendable type
144 |                             input: lmInput,
145 |                             parameters: parameters,
/Users/admin/builder/spi-builder-workspace/Sources/Cast/API/CastModel+Generation.swift:222:42: warning: returning a task-isolated 'GenerateResult' value as a 'sending' result risks causing data races
220 |                         let lmInput = try await context.processor.prepare(input: userInput)
221 |
222 |                         return try await MLXStructured.generate(
    |                                          |- warning: returning a task-isolated 'GenerateResult' value as a 'sending' result risks causing data races
    |                                          |- note: returning a task-isolated 'GenerateResult' value risks causing races since the caller assumes the value can be safely sent to other isolation domains
    |                                          `- note: 'GenerateResult' is a non-Sendable type
223 |                             input: lmInput,
224 |                             parameters: parameters,
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
/Users/admin/builder/spi-builder-workspace/Sources/Cast/API/CastModel+GPUSafety.swift:24:5: warning: 'setErrorHandler(_:data:dtor:)' is deprecated: please use withErrorHandler() or withError() [#DeprecatedDeclaration]
22 |
23 | private let _setupGlobalErrorHandler: Void = {
24 |     setErrorHandler(globalMLXErrorHandler)
   |     `- warning: 'setErrorHandler(_:data:dtor:)' is deprecated: please use withErrorHandler() or withError() [#DeprecatedDeclaration]
25 | }()
26 |
/Users/admin/builder/spi-builder-workspace/Sources/Cast/API/CastModel+Generation.swift:137:32: warning: type 'GenerateResult' does not conform to the 'Sendable' protocol
135 |         let result: GenerateResult
136 |         do {
137 |             result = try await withInFlightRegistration {
    |                                `- warning: type 'GenerateResult' does not conform to the 'Sendable' protocol
138 |                 try await withGenerationTimeout(config.timeout) {
139 |                     try await container.perform { context in
/Users/admin/builder/spi-builder-workspace/.build/checkouts/mlx-swift-lm/Libraries/MLXLMCommon/Evaluate.swift:703:15: note: struct 'GenerateResult' does not conform to the 'Sendable' protocol
 701 |
 702 | /// Result of a call to a deprecated callback-based generate function.
 703 | public struct GenerateResult {
     |               `- note: struct 'GenerateResult' does not conform to the 'Sendable' protocol
 704 |
 705 |     /// Initializes a new `GenerateResult` instance.
/Users/admin/builder/spi-builder-workspace/Sources/Cast/API/CastModel+Generation.swift:138:27: warning: type 'GenerateResult' does not conform to the 'Sendable' protocol
136 |         do {
137 |             result = try await withInFlightRegistration {
138 |                 try await withGenerationTimeout(config.timeout) {
    |                           `- warning: type 'GenerateResult' does not conform to the 'Sendable' protocol
139 |                     try await container.perform { context in
140 |                         let userInput = UserInput(prompt: fullPrompt)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/mlx-swift-lm/Libraries/MLXLMCommon/Evaluate.swift:703:15: note: struct 'GenerateResult' does not conform to the 'Sendable' protocol
 701 |
 702 | /// Result of a call to a deprecated callback-based generate function.
 703 | public struct GenerateResult {
     |               `- note: struct 'GenerateResult' does not conform to the 'Sendable' protocol
 704 |
 705 |     /// Initializes a new `GenerateResult` instance.
/Users/admin/builder/spi-builder-workspace/Sources/Cast/API/CastModel+Generation.swift:139:41: warning: type 'GenerateResult' does not conform to the 'Sendable' protocol
137 |             result = try await withInFlightRegistration {
138 |                 try await withGenerationTimeout(config.timeout) {
139 |                     try await container.perform { context in
    |                                         `- warning: type 'GenerateResult' does not conform to the 'Sendable' protocol
140 |                         let userInput = UserInput(prompt: fullPrompt)
141 |                         let lmInput = try await context.processor.prepare(input: userInput)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/mlx-swift-lm/Libraries/MLXLMCommon/Evaluate.swift:703:15: note: struct 'GenerateResult' does not conform to the 'Sendable' protocol
 701 |
 702 | /// Result of a call to a deprecated callback-based generate function.
 703 | public struct GenerateResult {
     |               `- note: struct 'GenerateResult' does not conform to the 'Sendable' protocol
 704 |
 705 |     /// Initializes a new `GenerateResult` instance.
/Users/admin/builder/spi-builder-workspace/Sources/Cast/API/CastModel+Generation.swift:147:38: warning: capture of 'grammar' with non-Sendable type 'Grammar' in a '@Sendable' closure [#SendableClosureCaptures]
145 |                             parameters: parameters,
146 |                             context: context,
147 |                             grammar: grammar,
    |                                      `- warning: capture of 'grammar' with non-Sendable type 'Grammar' in a '@Sendable' closure [#SendableClosureCaptures]
148 |                             didGenerate: { tokens in
149 |                                 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:147:38: warning: capture of 'grammar' with non-Sendable type 'Grammar' in a '@Sendable' closure [#SendableClosureCaptures]
145 |                             parameters: parameters,
146 |                             context: context,
147 |                             grammar: grammar,
    |                                      `- warning: capture of 'grammar' with non-Sendable type 'Grammar' in a '@Sendable' closure [#SendableClosureCaptures]
148 |                             didGenerate: { tokens in
149 |                                 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:147:38: warning: capture of 'grammar' with non-Sendable type 'Grammar' in a '@Sendable' closure [#SendableClosureCaptures]
145 |                             parameters: parameters,
146 |                             context: context,
147 |                             grammar: grammar,
    |                                      `- warning: capture of 'grammar' with non-Sendable type 'Grammar' in a '@Sendable' closure [#SendableClosureCaptures]
148 |                             didGenerate: { tokens in
149 |                                 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:216:32: warning: type 'GenerateResult' does not conform to the 'Sendable' protocol
214 |         let result: GenerateResult
215 |         do {
216 |             result = try await withInFlightRegistration {
    |                                `- warning: type 'GenerateResult' does not conform to the 'Sendable' protocol
217 |                 try await withGenerationTimeout(config.timeout) {
218 |                     try await container.perform { context in
/Users/admin/builder/spi-builder-workspace/.build/checkouts/mlx-swift-lm/Libraries/MLXLMCommon/Evaluate.swift:703:15: note: struct 'GenerateResult' does not conform to the 'Sendable' protocol
 701 |
 702 | /// Result of a call to a deprecated callback-based generate function.
 703 | public struct GenerateResult {
     |               `- note: struct 'GenerateResult' does not conform to the 'Sendable' protocol
 704 |
 705 |     /// Initializes a new `GenerateResult` instance.
/Users/admin/builder/spi-builder-workspace/Sources/Cast/API/CastModel+Generation.swift:217:27: warning: type 'GenerateResult' does not conform to the 'Sendable' protocol
215 |         do {
216 |             result = try await withInFlightRegistration {
217 |                 try await withGenerationTimeout(config.timeout) {
    |                           `- warning: type 'GenerateResult' does not conform to the 'Sendable' protocol
218 |                     try await container.perform { context in
219 |                         let userInput = UserInput(prompt: fullPrompt)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/mlx-swift-lm/Libraries/MLXLMCommon/Evaluate.swift:703:15: note: struct 'GenerateResult' does not conform to the 'Sendable' protocol
 701 |
 702 | /// Result of a call to a deprecated callback-based generate function.
 703 | public struct GenerateResult {
     |               `- note: struct 'GenerateResult' does not conform to the 'Sendable' protocol
 704 |
 705 |     /// Initializes a new `GenerateResult` instance.
/Users/admin/builder/spi-builder-workspace/Sources/Cast/API/CastModel+Generation.swift:218:41: warning: type 'GenerateResult' does not conform to the 'Sendable' protocol
216 |             result = try await withInFlightRegistration {
217 |                 try await withGenerationTimeout(config.timeout) {
218 |                     try await container.perform { context in
    |                                         `- warning: type 'GenerateResult' does not conform to the 'Sendable' protocol
219 |                         let userInput = UserInput(prompt: fullPrompt)
220 |                         let lmInput = try await context.processor.prepare(input: userInput)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/mlx-swift-lm/Libraries/MLXLMCommon/Evaluate.swift:703:15: note: struct 'GenerateResult' does not conform to the 'Sendable' protocol
 701 |
 702 | /// Result of a call to a deprecated callback-based generate function.
 703 | public struct GenerateResult {
     |               `- note: struct 'GenerateResult' does not conform to the 'Sendable' protocol
 704 |
 705 |     /// Initializes a new `GenerateResult` instance.
/Users/admin/builder/spi-builder-workspace/Sources/Cast/API/CastModel+Generation.swift:226:38: warning: capture of 'grammar' with non-Sendable type 'Grammar' in a '@Sendable' closure [#SendableClosureCaptures]
224 |                             parameters: parameters,
225 |                             context: context,
226 |                             grammar: grammar,
    |                                      `- warning: capture of 'grammar' with non-Sendable type 'Grammar' in a '@Sendable' closure [#SendableClosureCaptures]
227 |                             didGenerate: { tokens in
228 |                                 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:226:38: warning: capture of 'grammar' with non-Sendable type 'Grammar' in a '@Sendable' closure [#SendableClosureCaptures]
224 |                             parameters: parameters,
225 |                             context: context,
226 |                             grammar: grammar,
    |                                      `- warning: capture of 'grammar' with non-Sendable type 'Grammar' in a '@Sendable' closure [#SendableClosureCaptures]
227 |                             didGenerate: { tokens in
228 |                                 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:226:38: warning: capture of 'grammar' with non-Sendable type 'Grammar' in a '@Sendable' closure [#SendableClosureCaptures]
224 |                             parameters: parameters,
225 |                             context: context,
226 |                             grammar: grammar,
    |                                      `- warning: capture of 'grammar' with non-Sendable type 'Grammar' in a '@Sendable' closure [#SendableClosureCaptures]
227 |                             didGenerate: { tokens in
228 |                                 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:143:42: warning: returning a task-isolated 'GenerateResult' value as a 'sending' result risks causing data races
141 |                         let lmInput = try await context.processor.prepare(input: userInput)
142 |
143 |                         return try await MLXStructured.generate(
    |                                          |- warning: returning a task-isolated 'GenerateResult' value as a 'sending' result risks causing data races
    |                                          |- note: returning a task-isolated 'GenerateResult' value risks causing races since the caller assumes the value can be safely sent to other isolation domains
    |                                          `- note: 'GenerateResult' is a non-Sendable type
144 |                             input: lmInput,
145 |                             parameters: parameters,
/Users/admin/builder/spi-builder-workspace/Sources/Cast/API/CastModel+Generation.swift:222:42: warning: returning a task-isolated 'GenerateResult' value as a 'sending' result risks causing data races
220 |                         let lmInput = try await context.processor.prepare(input: userInput)
221 |
222 |                         return try await MLXStructured.generate(
    |                                          |- warning: returning a task-isolated 'GenerateResult' value as a 'sending' result risks causing data races
    |                                          |- note: returning a task-isolated 'GenerateResult' value risks causing races since the caller assumes the value can be safely sent to other isolation domains
    |                                          `- note: 'GenerateResult' is a non-Sendable type
223 |                             input: lmInput,
224 |                             parameters: parameters,
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
/Users/admin/builder/spi-builder-workspace/Sources/Cast/API/CastModel+GPUSafety.swift:24:5: warning: 'setErrorHandler(_:data:dtor:)' is deprecated: please use withErrorHandler() or withError() [#DeprecatedDeclaration]
22 |
23 | private let _setupGlobalErrorHandler: Void = {
24 |     setErrorHandler(globalMLXErrorHandler)
   |     `- warning: 'setErrorHandler(_:data:dtor:)' is deprecated: please use withErrorHandler() or withError() [#DeprecatedDeclaration]
25 | }()
26 |
/Users/admin/builder/spi-builder-workspace/Sources/Cast/API/CastModel+Generation.swift:137:32: warning: type 'GenerateResult' does not conform to the 'Sendable' protocol
135 |         let result: GenerateResult
136 |         do {
137 |             result = try await withInFlightRegistration {
    |                                `- warning: type 'GenerateResult' does not conform to the 'Sendable' protocol
138 |                 try await withGenerationTimeout(config.timeout) {
139 |                     try await container.perform { context in
/Users/admin/builder/spi-builder-workspace/.build/checkouts/mlx-swift-lm/Libraries/MLXLMCommon/Evaluate.swift:703:15: note: struct 'GenerateResult' does not conform to the 'Sendable' protocol
 701 |
 702 | /// Result of a call to a deprecated callback-based generate function.
 703 | public struct GenerateResult {
     |               `- note: struct 'GenerateResult' does not conform to the 'Sendable' protocol
 704 |
 705 |     /// Initializes a new `GenerateResult` instance.
/Users/admin/builder/spi-builder-workspace/Sources/Cast/API/CastModel+Generation.swift:138:27: warning: type 'GenerateResult' does not conform to the 'Sendable' protocol
136 |         do {
137 |             result = try await withInFlightRegistration {
138 |                 try await withGenerationTimeout(config.timeout) {
    |                           `- warning: type 'GenerateResult' does not conform to the 'Sendable' protocol
139 |                     try await container.perform { context in
140 |                         let userInput = UserInput(prompt: fullPrompt)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/mlx-swift-lm/Libraries/MLXLMCommon/Evaluate.swift:703:15: note: struct 'GenerateResult' does not conform to the 'Sendable' protocol
 701 |
 702 | /// Result of a call to a deprecated callback-based generate function.
 703 | public struct GenerateResult {
     |               `- note: struct 'GenerateResult' does not conform to the 'Sendable' protocol
 704 |
 705 |     /// Initializes a new `GenerateResult` instance.
/Users/admin/builder/spi-builder-workspace/Sources/Cast/API/CastModel+Generation.swift:139:41: warning: type 'GenerateResult' does not conform to the 'Sendable' protocol
137 |             result = try await withInFlightRegistration {
138 |                 try await withGenerationTimeout(config.timeout) {
139 |                     try await container.perform { context in
    |                                         `- warning: type 'GenerateResult' does not conform to the 'Sendable' protocol
140 |                         let userInput = UserInput(prompt: fullPrompt)
141 |                         let lmInput = try await context.processor.prepare(input: userInput)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/mlx-swift-lm/Libraries/MLXLMCommon/Evaluate.swift:703:15: note: struct 'GenerateResult' does not conform to the 'Sendable' protocol
 701 |
 702 | /// Result of a call to a deprecated callback-based generate function.
 703 | public struct GenerateResult {
     |               `- note: struct 'GenerateResult' does not conform to the 'Sendable' protocol
 704 |
 705 |     /// Initializes a new `GenerateResult` instance.
/Users/admin/builder/spi-builder-workspace/Sources/Cast/API/CastModel+Generation.swift:147:38: warning: capture of 'grammar' with non-Sendable type 'Grammar' in a '@Sendable' closure [#SendableClosureCaptures]
145 |                             parameters: parameters,
146 |                             context: context,
147 |                             grammar: grammar,
    |                                      `- warning: capture of 'grammar' with non-Sendable type 'Grammar' in a '@Sendable' closure [#SendableClosureCaptures]
148 |                             didGenerate: { tokens in
149 |                                 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:147:38: warning: capture of 'grammar' with non-Sendable type 'Grammar' in a '@Sendable' closure [#SendableClosureCaptures]
145 |                             parameters: parameters,
146 |                             context: context,
147 |                             grammar: grammar,
    |                                      `- warning: capture of 'grammar' with non-Sendable type 'Grammar' in a '@Sendable' closure [#SendableClosureCaptures]
148 |                             didGenerate: { tokens in
149 |                                 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:147:38: warning: capture of 'grammar' with non-Sendable type 'Grammar' in a '@Sendable' closure [#SendableClosureCaptures]
145 |                             parameters: parameters,
146 |                             context: context,
147 |                             grammar: grammar,
    |                                      `- warning: capture of 'grammar' with non-Sendable type 'Grammar' in a '@Sendable' closure [#SendableClosureCaptures]
148 |                             didGenerate: { tokens in
149 |                                 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:216:32: warning: type 'GenerateResult' does not conform to the 'Sendable' protocol
214 |         let result: GenerateResult
215 |         do {
216 |             result = try await withInFlightRegistration {
    |                                `- warning: type 'GenerateResult' does not conform to the 'Sendable' protocol
217 |                 try await withGenerationTimeout(config.timeout) {
218 |                     try await container.perform { context in
/Users/admin/builder/spi-builder-workspace/.build/checkouts/mlx-swift-lm/Libraries/MLXLMCommon/Evaluate.swift:703:15: note: struct 'GenerateResult' does not conform to the 'Sendable' protocol
 701 |
 702 | /// Result of a call to a deprecated callback-based generate function.
 703 | public struct GenerateResult {
     |               `- note: struct 'GenerateResult' does not conform to the 'Sendable' protocol
 704 |
 705 |     /// Initializes a new `GenerateResult` instance.
/Users/admin/builder/spi-builder-workspace/Sources/Cast/API/CastModel+Generation.swift:217:27: warning: type 'GenerateResult' does not conform to the 'Sendable' protocol
215 |         do {
216 |             result = try await withInFlightRegistration {
217 |                 try await withGenerationTimeout(config.timeout) {
    |                           `- warning: type 'GenerateResult' does not conform to the 'Sendable' protocol
218 |                     try await container.perform { context in
219 |                         let userInput = UserInput(prompt: fullPrompt)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/mlx-swift-lm/Libraries/MLXLMCommon/Evaluate.swift:703:15: note: struct 'GenerateResult' does not conform to the 'Sendable' protocol
 701 |
 702 | /// Result of a call to a deprecated callback-based generate function.
 703 | public struct GenerateResult {
     |               `- note: struct 'GenerateResult' does not conform to the 'Sendable' protocol
 704 |
 705 |     /// Initializes a new `GenerateResult` instance.
/Users/admin/builder/spi-builder-workspace/Sources/Cast/API/CastModel+Generation.swift:218:41: warning: type 'GenerateResult' does not conform to the 'Sendable' protocol
216 |             result = try await withInFlightRegistration {
217 |                 try await withGenerationTimeout(config.timeout) {
218 |                     try await container.perform { context in
    |                                         `- warning: type 'GenerateResult' does not conform to the 'Sendable' protocol
219 |                         let userInput = UserInput(prompt: fullPrompt)
220 |                         let lmInput = try await context.processor.prepare(input: userInput)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/mlx-swift-lm/Libraries/MLXLMCommon/Evaluate.swift:703:15: note: struct 'GenerateResult' does not conform to the 'Sendable' protocol
 701 |
 702 | /// Result of a call to a deprecated callback-based generate function.
 703 | public struct GenerateResult {
     |               `- note: struct 'GenerateResult' does not conform to the 'Sendable' protocol
 704 |
 705 |     /// Initializes a new `GenerateResult` instance.
/Users/admin/builder/spi-builder-workspace/Sources/Cast/API/CastModel+Generation.swift:226:38: warning: capture of 'grammar' with non-Sendable type 'Grammar' in a '@Sendable' closure [#SendableClosureCaptures]
224 |                             parameters: parameters,
225 |                             context: context,
226 |                             grammar: grammar,
    |                                      `- warning: capture of 'grammar' with non-Sendable type 'Grammar' in a '@Sendable' closure [#SendableClosureCaptures]
227 |                             didGenerate: { tokens in
228 |                                 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:226:38: warning: capture of 'grammar' with non-Sendable type 'Grammar' in a '@Sendable' closure [#SendableClosureCaptures]
224 |                             parameters: parameters,
225 |                             context: context,
226 |                             grammar: grammar,
    |                                      `- warning: capture of 'grammar' with non-Sendable type 'Grammar' in a '@Sendable' closure [#SendableClosureCaptures]
227 |                             didGenerate: { tokens in
228 |                                 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:226:38: warning: capture of 'grammar' with non-Sendable type 'Grammar' in a '@Sendable' closure [#SendableClosureCaptures]
224 |                             parameters: parameters,
225 |                             context: context,
226 |                             grammar: grammar,
    |                                      `- warning: capture of 'grammar' with non-Sendable type 'Grammar' in a '@Sendable' closure [#SendableClosureCaptures]
227 |                             didGenerate: { tokens in
228 |                                 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:143:42: warning: returning a task-isolated 'GenerateResult' value as a 'sending' result risks causing data races
141 |                         let lmInput = try await context.processor.prepare(input: userInput)
142 |
143 |                         return try await MLXStructured.generate(
    |                                          |- warning: returning a task-isolated 'GenerateResult' value as a 'sending' result risks causing data races
    |                                          |- note: returning a task-isolated 'GenerateResult' value risks causing races since the caller assumes the value can be safely sent to other isolation domains
    |                                          `- note: 'GenerateResult' is a non-Sendable type
144 |                             input: lmInput,
145 |                             parameters: parameters,
/Users/admin/builder/spi-builder-workspace/Sources/Cast/API/CastModel+Generation.swift:222:42: warning: returning a task-isolated 'GenerateResult' value as a 'sending' result risks causing data races
220 |                         let lmInput = try await context.processor.prepare(input: userInput)
221 |
222 |                         return try await MLXStructured.generate(
    |                                          |- warning: returning a task-isolated 'GenerateResult' value as a 'sending' result risks causing data races
    |                                          |- note: returning a task-isolated 'GenerateResult' value risks causing races since the caller assumes the value can be safely sent to other isolation domains
    |                                          `- note: 'GenerateResult' is a non-Sendable type
223 |                             input: lmInput,
224 |                             parameters: parameters,
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[2412/2426] Compiling Cast CastModel+Lifecycle.swift
/Users/admin/builder/spi-builder-workspace/Sources/Cast/API/CastModel+Stream.swift:123:38: warning: capture of 'grammar' with non-Sendable type 'Grammar' in a '@Sendable' closure [#SendableClosureCaptures]
121 |                             parameters: parameters,
122 |                             context: context,
123 |                             grammar: grammar
    |                                      `- warning: capture of 'grammar' with non-Sendable type 'Grammar' in a '@Sendable' closure [#SendableClosureCaptures]
124 |                         )
125 |
/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+Stream.swift:123:38: warning: capture of 'grammar' with non-Sendable type 'Grammar' in a '@Sendable' closure [#SendableClosureCaptures]
121 |                             parameters: parameters,
122 |                             context: context,
123 |                             grammar: grammar
    |                                      `- warning: capture of 'grammar' with non-Sendable type 'Grammar' in a '@Sendable' closure [#SendableClosureCaptures]
124 |                         )
125 |
/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+Stream.swift:123:38: warning: capture of 'grammar' with non-Sendable type 'Grammar' in a '@Sendable' closure [#SendableClosureCaptures]
121 |                             parameters: parameters,
122 |                             context: context,
123 |                             grammar: grammar
    |                                      `- warning: capture of 'grammar' with non-Sendable type 'Grammar' in a '@Sendable' closure [#SendableClosureCaptures]
124 |                         )
125 |
/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)
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[2413/2426] Compiling Cast CastModel+Stream.swift
/Users/admin/builder/spi-builder-workspace/Sources/Cast/API/CastModel+Stream.swift:123:38: warning: capture of 'grammar' with non-Sendable type 'Grammar' in a '@Sendable' closure [#SendableClosureCaptures]
121 |                             parameters: parameters,
122 |                             context: context,
123 |                             grammar: grammar
    |                                      `- warning: capture of 'grammar' with non-Sendable type 'Grammar' in a '@Sendable' closure [#SendableClosureCaptures]
124 |                         )
125 |
/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+Stream.swift:123:38: warning: capture of 'grammar' with non-Sendable type 'Grammar' in a '@Sendable' closure [#SendableClosureCaptures]
121 |                             parameters: parameters,
122 |                             context: context,
123 |                             grammar: grammar
    |                                      `- warning: capture of 'grammar' with non-Sendable type 'Grammar' in a '@Sendable' closure [#SendableClosureCaptures]
124 |                         )
125 |
/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+Stream.swift:123:38: warning: capture of 'grammar' with non-Sendable type 'Grammar' in a '@Sendable' closure [#SendableClosureCaptures]
121 |                             parameters: parameters,
122 |                             context: context,
123 |                             grammar: grammar
    |                                      `- warning: capture of 'grammar' with non-Sendable type 'Grammar' in a '@Sendable' closure [#SendableClosureCaptures]
124 |                         )
125 |
/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)
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
/Users/admin/builder/spi-builder-workspace/Sources/Cast/API/CastModel+Stream.swift:123:38: warning: capture of 'grammar' with non-Sendable type 'Grammar' in a '@Sendable' closure [#SendableClosureCaptures]
121 |                             parameters: parameters,
122 |                             context: context,
123 |                             grammar: grammar
    |                                      `- warning: capture of 'grammar' with non-Sendable type 'Grammar' in a '@Sendable' closure [#SendableClosureCaptures]
124 |                         )
125 |
/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+Stream.swift:123:38: warning: capture of 'grammar' with non-Sendable type 'Grammar' in a '@Sendable' closure [#SendableClosureCaptures]
121 |                             parameters: parameters,
122 |                             context: context,
123 |                             grammar: grammar
    |                                      `- warning: capture of 'grammar' with non-Sendable type 'Grammar' in a '@Sendable' closure [#SendableClosureCaptures]
124 |                         )
125 |
/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+Stream.swift:123:38: warning: capture of 'grammar' with non-Sendable type 'Grammar' in a '@Sendable' closure [#SendableClosureCaptures]
121 |                             parameters: parameters,
122 |                             context: context,
123 |                             grammar: grammar
    |                                      `- warning: capture of 'grammar' with non-Sendable type 'Grammar' in a '@Sendable' closure [#SendableClosureCaptures]
124 |                         )
125 |
/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)
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[2421/2426] Emitting module Cast
/Users/admin/builder/spi-builder-workspace/Sources/Cast/API/CastModel+GPUSafety.swift:24:5: warning: 'setErrorHandler(_:data:dtor:)' is deprecated: please use withErrorHandler() or withError() [#DeprecatedDeclaration]
22 |
23 | private let _setupGlobalErrorHandler: Void = {
24 |     setErrorHandler(globalMLXErrorHandler)
   |     `- warning: 'setErrorHandler(_:data:dtor:)' is deprecated: please use withErrorHandler() or withError() [#DeprecatedDeclaration]
25 | }()
26 |
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
/Users/admin/builder/spi-builder-workspace/Sources/Cast/API/CastModel+GPUSafety.swift:24:5: warning: 'setErrorHandler(_:data:dtor:)' is deprecated: please use withErrorHandler() or withError() [#DeprecatedDeclaration]
22 |
23 | private let _setupGlobalErrorHandler: Void = {
24 |     setErrorHandler(globalMLXErrorHandler)
   |     `- warning: 'setErrorHandler(_:data:dtor:)' is deprecated: please use withErrorHandler() or withError() [#DeprecatedDeclaration]
25 | }()
26 |
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[2423/2426] Compiling Cast ValidatorSupport.swift
[2424/2426] Compiling Cast ZeroSchemaDecoder.swift
Build complete! (173.53s)
Fetching https://github.com/huggingface/swift-transformers.git
Fetching https://github.com/swiftlang/swift-syntax.git
Fetching https://github.com/swiftlang/swift-docc-plugin
Fetching https://github.com/petrukha-ivan/swift-json-schema.git
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/ml-explore/mlx-swift-lm.git
Fetching https://github.com/ml-explore/mlx-swift.git
[1/2287] Fetching swift-docc-plugin
[116/26224] Fetching swift-docc-plugin, swift-collections
[1667/34031] Fetching swift-docc-plugin, swift-collections, mlx-swift-lm
[2063/40336] Fetching swift-docc-plugin, swift-collections, mlx-swift-lm, swift-transformers
[2369/54578] Fetching swift-docc-plugin, swift-collections, mlx-swift-lm, swift-transformers, mlx-swift
[2496/54710] Fetching swift-docc-plugin, swift-collections, mlx-swift-lm, swift-transformers, mlx-swift, swift-json-schema
Fetched https://github.com/petrukha-ivan/swift-json-schema.git from cache (1.50s)
[5173/54578] Fetching swift-docc-plugin, swift-collections, mlx-swift-lm, swift-transformers, mlx-swift
[54579/129616] Fetching swift-docc-plugin, swift-collections, mlx-swift-lm, swift-transformers, mlx-swift, swift-syntax
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (4.51s)
Fetched https://github.com/apple/swift-collections.git from cache (4.52s)
Fetched https://github.com/swiftlang/swift-syntax.git from cache (4.52s)
Fetched https://github.com/huggingface/swift-transformers.git from cache (4.52s)
Fetched https://github.com/ml-explore/mlx-swift-lm.git from cache (4.52s)
Fetched https://github.com/ml-explore/mlx-swift.git from cache (4.52s)
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 (5.12s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 600.0.1 (2.84s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.4.1 (0.71s)
Computing version for https://github.com/ml-explore/mlx-swift-lm.git
Computed https://github.com/ml-explore/mlx-swift-lm.git at 2.31.3 (0.58s)
Computing version for https://github.com/ml-explore/mlx-swift.git
Computed https://github.com/ml-explore/mlx-swift.git at 0.31.3 (0.57s)
Fetching https://github.com/apple/swift-numerics
[1/6416] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics from cache (1.04s)
Computing version for https://github.com/huggingface/swift-transformers.git
Computed https://github.com/huggingface/swift-transformers.git at 1.2.1 (1.62s)
Fetching https://github.com/apple/swift-crypto.git
Fetching https://github.com/huggingface/swift-huggingface.git
Fetching https://github.com/huggingface/swift-jinja.git
Fetching https://github.com/ibireme/yyjson.git
[1/2340] Fetching swift-huggingface
[48/3403] Fetching swift-huggingface, swift-jinja
[796/7846] Fetching swift-huggingface, swift-jinja, yyjson
[3366/25303] Fetching swift-huggingface, swift-jinja, yyjson, swift-crypto
Fetched https://github.com/apple/swift-crypto.git from cache (2.24s)
Fetched https://github.com/ibireme/yyjson.git from cache (2.24s)
Fetched https://github.com/huggingface/swift-jinja.git from cache (2.24s)
Fetched https://github.com/huggingface/swift-huggingface.git from cache (2.24s)
Computing version for https://github.com/ibireme/yyjson.git
Computed https://github.com/ibireme/yyjson.git at 0.12.0 (2.94s)
Computing version for https://github.com/huggingface/swift-huggingface.git
Computed https://github.com/huggingface/swift-huggingface.git at 0.9.0 (0.61s)
Fetching https://github.com/mattt/EventSource.git
[1/271] Fetching eventsource
Fetched https://github.com/mattt/EventSource.git from cache (0.74s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 1.1.1 (1.34s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.5.0 (0.69s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3709] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (1.24s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.99s)
Computing version for https://github.com/mattt/EventSource.git
Computed https://github.com/mattt/EventSource.git at 1.4.1 (0.57s)
Fetching https://github.com/apple/swift-nio.git
[1/83230] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (6.12s)
Computing version for https://github.com/huggingface/swift-jinja.git
Computed https://github.com/huggingface/swift-jinja.git at 2.3.5 (6.68s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.99.0 (0.72s)
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-system.git
[1/1820] Fetching swift-atomics
[74/7421] Fetching swift-atomics, swift-system
Fetched https://github.com/apple/swift-atomics.git from cache (1.18s)
Fetched https://github.com/apple/swift-system.git from cache (1.18s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (1.76s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.4 (0.57s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 4.5.0 (2.37s)
Fetching https://github.com/apple/swift-asn1.git
[1/1813] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git from cache (0.99s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.0 (1.66s)
Creating working copy for https://github.com/huggingface/swift-jinja.git
Working copy of https://github.com/huggingface/swift-jinja.git resolved at 2.3.5
Creating working copy for https://github.com/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.7.0
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/mattt/EventSource.git
Working copy of https://github.com/mattt/EventSource.git resolved at 1.4.1
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.99.0
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 4.5.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/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/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-docc-plugin
Working copy of https://github.com/swiftlang/swift-docc-plugin resolved at 1.5.0
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-huggingface.git
Working copy of https://github.com/huggingface/swift-huggingface.git resolved at 0.9.0
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.31.3
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.4.1
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.0
Creating working copy for https://github.com/huggingface/swift-transformers.git
Working copy of https://github.com/huggingface/swift-transformers.git resolved at 1.2.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.31.3
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.6.4
Downloading package prebuilt https://download.swift.org/prebuilts/swift-syntax/600.0.1/swiftlang-6.2.4.1.4-MacroSupport-macos_aarch64.zip
Downloaded https://download.swift.org/prebuilts/swift-syntax/600.0.1/swiftlang-6.2.4.1.4-MacroSupport-macos_aarch64.zip (0.15s)
warning: 'spi-builder-workspace': Invalid Exclude '/Users/admin/builder/spi-builder-workspace/Sources/CMLXStructured/xgrammar/cpp/nanobind': File not found.
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
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",
      "product_dependencies" : [
        "MLXLMCommon",
        "Hub",
        "JSONSchema",
        "Collections"
      ],
      "sources" : [
        "CacheTests.swift",
        "CastBenchE2ETests.swift",
        "CastBenchTests.swift",
        "CastConfigurationTests.swift",
        "CastEnumTests.swift",
        "CastErrorTests.swift",
        "CastModelGenerationTests.swift",
        "CastModelTests.swift",
        "CastStreamTests.swift",
        "CastTests.swift",
        "CastTimeoutTests.swift",
        "ChatTemplateTests.swift",
        "ClassifyTests.swift",
        "ExtractTests.swift",
        "GPUSafetyTests.swift",
        "JSONRepairTests.swift",
        "LifecycleTests.swift",
        "ModelSourceTests.swift",
        "NewWrapperTests.swift",
        "PartialResultDecodeTests.swift",
        "PromptEngineTests.swift",
        "PromptEngineThrowsTests.swift",
        "PropertyWrapperTests.swift",
        "ReExportsTest.swift",
        "SchemaExcludingTests.swift",
        "SchemaGeneratorTests.swift",
        "TestHelpers.swift",
        "ValidatorTests.swift",
        "ZeroSchemaDecoderTests.swift"
      ],
      "target_dependencies" : [
        "Cast",
        "MLXStructured"
      ],
      "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",
        "PartiallyGeneratedTests.swift"
      ],
      "target_dependencies" : [
        "CastMacros"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Cast",
      "module_type" : "SwiftTarget",
      "name" : "Cast",
      "path" : "Sources/Cast",
      "product_dependencies" : [
        "MLX",
        "MLXNN",
        "MLXLLM",
        "MLXLMCommon",
        "Hub",
        "JSONSchema",
        "Collections"
      ],
      "product_memberships" : [
        "Cast"
      ],
      "sources" : [
        "API/CastConfiguration.swift",
        "API/CastEnum.swift",
        "API/CastError.swift",
        "API/CastModel+Extract.swift",
        "API/CastModel+GPUSafety.swift",
        "API/CastModel+Generation.swift",
        "API/CastModel+Lifecycle.swift",
        "API/CastModel+Stream.swift",
        "API/CastModel+Timeout.swift",
        "API/CastModel.swift",
        "API/Castable.swift",
        "API/GrammarProcessorCache.swift",
        "API/ModelSource.swift",
        "API/PartialResult.swift",
        "API/PropertyWrappers.swift",
        "Bench/CastBench.swift",
        "Bench/Formatters.swift",
        "Bench/Instrumentation.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.