The Swift Package Index logo.Swift Package Index

Build Information

Successful build of Cast, reference stage (9c5ac3), with Swift 6.3 for macOS (SPM) on 27 Jun 2026 01:17:16 UTC.

Swift 6 data race errors: 0

Build Command

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

Build Log

[1471/1758] Compiling no_gguf.cpp
[1472/1758] Compiling random.cpp
[1473/1758] Compiling linalg.cpp
[1474/1758] Compiling transforms.cpp
[1475/1758] Compiling load.cpp
[1476/1758] Compiling graph_utils.cpp
[1477/1758] Compiling fft.cpp
[1478/1758] Compiling primitives.cpp
[1479/1758] Compiling dtype_utils.cpp
[1480/1758] Compiling dtype.cpp
[1481/1758] Compiling safetensors.cpp
[1482/1758] Compiling fast.cpp
[1483/1758] Compiling utils.cpp
[1484/1758] Compiling no_ring.cpp
[1485/1758] Compiling einsum.cpp
[1486/1758] Compiling no_nccl.cpp
[1487/1758] Compiling primitives.cpp
[1488/1758] Compiling device.cpp
[1489/1758] Compiling ops.cpp
[1492/1758] Compiling MLX Transforms+CompileOverloads.swift
[1493/1758] Compiling MLX Transforms+Eval.swift
[1494/1758] Compiling MLX Transforms+Grad.swift
[1495/1758] Compiling MLX Transforms+Internal.swift
[1495/1761] Compiling no_mpi.cpp
[1496/1761] Compiling no_jaccl.cpp
[1497/1761] Compiling distributed.cpp
[1499/1761] Compiling MLX MLXFast.swift
[1500/1761] Compiling MLX MLXFastKernel.swift
[1501/1761] Compiling MLX Memory.swift
[1502/1761] Compiling MLX Nested.swift
[1503/1761] Compiling MLX Random.swift
[1504/1761] Compiling MLX State.swift
[1505/1761] Compiling MLX Stream.swift
[1506/1761] Compiling MLX Transforms+Compile.swift
[1507/1761] Compiling MLX MLXArray+Normalizer.swift
[1508/1761] Compiling MLX MLXArray+Ops.swift
[1509/1761] Compiling MLX MLXArray.swift
[1510/1761] Compiling MLX MLXCustomFunction.swift
[1511/1761] Compiling MLX ArrayAt.swift
[1512/1761] Compiling MLX Cmlx+Util.swift
[1513/1761] Compiling MLX DType.swift
[1514/1761] Compiling MLX Device.swift
[1515/1761] Compiling MLX Ops+Array.swift
[1516/1761] Compiling MLX Ops.swift
[1517/1761] Compiling MLX ParameterTypes.swift
[1518/1761] Compiling MLX Protocols.swift
[1519/1761] Emitting module MLX
[1520/1761] Compiling MLX ErrorHandler.swift
[1521/1761] Compiling MLX Export.swift
[1522/1761] Compiling MLX FFT.swift
[1523/1761] Compiling MLX Factory.swift
[1524/1761] Compiling MLX Transforms+Vmap.swift
[1525/1761] Compiling MLX Transforms.swift
[1526/1761] Compiling MLX WiredMemory.swift
[1527/1761] Compiling MLX Foundation+Util.swift
[1528/1761] Compiling MLX GPU+Metal.swift
[1529/1761] Compiling MLX IO.swift
[1530/1761] Compiling MLX Linalg.swift
[1531/1761] Compiling MLX MLXArray+Bytes.swift
[1532/1761] Compiling MLX MLXArray+Indexing.swift
[1533/1761] Compiling MLX MLXArray+Init.swift
[1534/1761] Compiling MLX MLXArray+Metal.swift
[1534/1761] Compiling utils.cpp
[1535/1779] Compiling unary.cpp
[1536/1779] Compiling compile.cpp
[1537/1779] Compiling ternary.cpp
[1538/1779] Compiling sort.cpp
[1539/1779] Compiling softmax.cpp
[1540/1779] Compiling slicing.cpp
[1541/1779] Compiling scan.cpp
[1543/1779] Compiling MLXNN Containers.swift
[1544/1779] Compiling MLXNN Convolution.swift
[1545/1779] Compiling MLXNN ConvolutionTransposed.swift
[1546/1779] Compiling MLXNN Dropout.swift
[1547/1779] Compiling MLXNN Activations.swift
[1548/1779] Compiling MLXNN Cache.swift
[1549/1779] Compiling MLXNN Embedding.swift
[1550/1779] Compiling MLXNN Linear.swift
[1551/1779] Compiling MLXNN Upsample.swift
[1552/1779] Emitting module MLXNN
[1553/1779] Compiling MLXNN Normalization.swift
[1554/1779] Compiling MLXNN Pooling.swift
[1555/1779] Compiling MLXNN PositionalEncoding.swift
[1556/1779] Compiling MLXNN Quantized.swift
[1557/1779] Compiling MLXNN Losses.swift
[1558/1779] Compiling MLXNN Module.swift
[1559/1779] Compiling MLXNN Recurrent.swift
[1560/1779] Compiling MLXNN Transformer.swift
[1560/1780] Compiling resident.cpp
[1562/1780] Compiling MLXNN ValueAndGrad.swift
[1562/1780] Compiling scaled_dot_product_attention.cpp
[1563/1780] Compiling rope.cpp
[1564/1782] Compiling metal.cpp
[1565/1782] Compiling reduce.cpp
[1566/1782] Compiling primitives.cpp
[1567/1782] Compiling export.cpp
[1568/1782] Compiling normalization.cpp
[1569/1782] Compiling quantized.cpp
[1571/1782] Emitting module MLXOptimizers
[1572/1782] Compiling MLXOptimizers Optimizers.swift
[1572/1782] Compiling logsumexp.cpp
[1573/1782] Compiling fence.cpp
[1574/1782] Compiling event.cpp
[1575/1782] Compiling matmul.cpp
[1576/1782] Compiling jit_kernels.cpp
[1577/1782] Compiling hadamard.cpp
[1578/1782] Compiling eval.cpp
[1579/1782] Compiling indexing.cpp
[1580/1782] Compiling distributed.cpp
[1581/1782] Compiling device_info.cpp
[1582/1782] Compiling fft.cpp
[1583/1782] Compiling slicing.cpp
[1584/1782] Compiling allocator.cpp
[1585/1782] Compiling copy.cpp
[1586/1782] Compiling threefry.cpp
[1587/1782] Compiling no_cuda.cpp
[1588/1782] Compiling compiled.cpp
[1589/1782] Compiling binary.cpp
[1590/1782] Compiling conv.cpp
[1591/1782] Compiling primitives.cpp
[1592/1782] Compiling device.cpp
[1593/1782] Compiling copy.cpp
[1594/1782] Compiling custom_kernel.cpp
[1595/1782] Compiling select.cpp
[1596/1782] Compiling softmax.cpp
[1597/1782] Compiling primitives.cpp
[1598/1782] Compiling svd.cpp
[1599/1782] Compiling scan.cpp
[1600/1782] Compiling quantized.cpp
[1601/1782] Compiling qrf.cpp
[1602/1782] Compiling sort.cpp
[1603/1782] Compiling unary.cpp
[1604/1782] Compiling jit_compiler.cpp
[1605/1782] Compiling reduce.cpp
[1606/1782] Compiling matmul.cpp
[1607/1782] Compiling logsumexp.cpp
[1608/1782] Compiling masked_mm.cpp
[1609/1782] Compiling hadamard.cpp
[1610/1782] Compiling luf.cpp
[1611/1782] Compiling inverse.cpp
[1612/1782] Compiling cblas.cpp
[1613/1782] Compiling encoder.cpp
[1614/1782] Compiling bnns.cpp
[1615/1782] Compiling fft.cpp
[1616/1782] Compiling device_info.cpp
[1617/1782] Compiling eval.cpp
[1618/1782] Compiling distributed.cpp
[1619/1782] Compiling indexing.cpp
[1620/1782] Compiling utils.cpp
[1621/1782] Compiling eigh.cpp
[1622/1782] Compiling arg_reduce.cpp
[1623/1782] Compiling eig.cpp
[1624/1782] Compiling slicing.cpp
[1625/1782] Compiling reduce.cpp
[1626/1782] Compiling utils.cpp
[1627/1782] Compiling unary_ops.cpp
[1628/1782] Compiling unary.cpp
[1629/1782] Compiling ternary_ops.cpp
[1630/1782] Compiling ternary.cpp
[1631/1782] Compiling steel_gemm_splitk_nax.cpp
[1632/1782] Compiling steel_gemm_splitk.cpp
[1633/1782] Compiling steel_gemm_segmented.cpp
[1634/1782] Compiling steel_gemm_masked.cpp
[1635/1782] Compiling steel_gemm_gather_nax.cpp
[1636/1782] Compiling steel_gemm_gather.cpp
[1637/1782] Compiling steel_gemm_fused_nax.cpp
[1638/1782] Compiling steel_gemm_fused.cpp
[1639/1782] Compiling cholesky.cpp
[1640/1782] Compiling steel_conv_general.cpp
[1641/1782] Compiling steel_conv_3d.cpp
[1642/1782] Compiling steel_conv.cpp
[1643/1782] Compiling steel_attention.cpp
[1644/1782] Compiling steel_attention_nax.cpp
[1645/1782] Compiling sort.cpp
[1646/1782] Compiling softmax.cpp
[1647/1782] Compiling scatter.cpp
[1648/1782] Compiling scatter_axis.cpp
[1649/1782] Compiling scan.cpp
[1650/1782] Compiling reduce_utils.cpp
[1651/1782] Compiling quantized_utils.cpp
[1652/1782] Compiling reduce.cpp
[1653/1782] Compiling load.cpp
[1654/1782] Compiling quantized_nax.cpp
[1655/1782] Compiling quantized.cpp
[1656/1782] Compiling masked_scatter.cpp
[1657/1782] Compiling logsumexp.cpp
[1658/1782] Compiling hadamard.cpp
[1659/1782] Compiling gemv_masked.cpp
[1660/1782] Compiling gemm_nax.cpp
[1661/1782] Compiling gemm.cpp
[1662/1782] Compiling gather_front.cpp
[1663/1782] Compiling gather_axis.cpp
[1664/1782] Compiling gather.cpp
[1665/1782] Compiling fp_quantized_nax.cpp
[1666/1782] Compiling fp_quantized.cpp
[1667/1782] Compiling fft.cpp
[1668/1782] Compiling copy.cpp
[1669/1782] Compiling compiled_preamble.cpp
[1670/1782] Compiling conv.cpp
[1671/1782] Compiling binary.cpp
[1671/1782] Compiling binary_two.cpp
[1671/1782] Compiling binary_ops.cpp
[1674/1782] Compiling arange.cpp
[1675/1782] Compiling conv.cpp
[1676/1782] Compiling broadcasting.cpp
[1677/1782] Compiling compiled.cpp
[1678/1782] Compiling common.cpp
[1679/1782] Compiling copy.cpp
[1680/1782] Compiling array.cpp
[1681/1782] Compiling version.cpp
[1682/1782] Compiling transforms_impl.cpp
[1683/1782] Compiling transforms.cpp
[1684/1782] Compiling vector.cpp
[1685/1782] Compiling string.cpp
[1686/1782] Compiling stream.cpp
[1687/1782] Compiling compiled_conditional.cpp
[1688/1782] Compiling random.cpp
[1689/1782] Compiling ops.cpp
[1690/1782] Compiling metal.cpp
[1691/1782] Compiling memory.cpp
[1692/1782] Compiling map.cpp
[1693/1782] Compiling linalg.cpp
[1694/1782] Compiling io_types.cpp
[1695/1782] Compiling io.cpp
[1696/1782] Compiling error.cpp
[1697/1782] Compiling Cmlx.m
[1698/1782] Compiling fft.cpp
[1699/1782] Write sources
[1701/1786] Compiling fast.cpp
[1702/1786] Write sources
[1703/1786] Compiling CNIOWindows shim.c
[1704/1786] Compiling export.cpp
[1705/1786] Compiling CNIOWindows WSAStartup.c
[1706/1786] Compiling CNIOWindows shim.c
[1707/1786] Compiling CNIOWindows WSAStartup.c
[1708/1786] Compiling CNIOWASI CNIOWASI.c
[1710/1786] Compiling CNIOOpenBSD shim.c
[1712/1786] Compiling CNIOLinux shim.c
[1713/1786] Compiling CNIOLinux liburing_shims.c
[1714/1786] Compiling CNIOLinux shim.c
[1715/1786] Compiling CNIOLinux liburing_shims.c
[1716/1786] Compiling CNIOFreeBSD shim.c
[1718/1786] Compiling device.cpp
[1719/1786] Compiling cuda.cpp
[1720/1786] Compiling compile.cpp
[1721/1786] Compiling CNIODarwin shim.c
[1722/1786] Compiling format.cc
[1723/1786] Compiling CNIODarwin shim.c
[1724/1786] Compiling closure.cpp
[1725/1786] Compiling binary.cpp
[1726/1786] Compiling array.cpp
[1727/1786] Compiling recursion_guard.cc
[1728/1786] Compiling logging.cc
[1729/1823] Compiling testing.cc
[1730/1823] Compiling tokenizer_info.cc
[1732/1823] Compiling MLX Random.swift
[1733/1823] Compiling MLX State.swift
[1734/1823] Compiling MLX Stream.swift
[1735/1823] Compiling MLX Transforms+Compile.swift
[1736/1826] Emitting module CastMacros
[1737/1826] Compiling CastMacros CastableDiagnostic.swift
[1738/1826] Compiling CastMacros CastableMacro.swift
[1739/1826] Compiling CastMacros CastMacroPlugin.swift
[1739/1826] Compiling regex_converter.cc
[1740/1826] Write Objects.LinkFileList
[1742/1826] Compiling MLX ErrorHandler.swift
[1743/1826] Compiling MLX Export.swift
[1744/1826] Compiling MLX FFT.swift
[1745/1826] Compiling MLX Factory.swift
[1746/1826] Compiling MLX Transforms+CompileOverloads.swift
[1747/1826] Compiling MLX Transforms+Eval.swift
[1748/1826] Compiling MLX Transforms+Grad.swift
[1749/1826] Compiling MLX Transforms+Internal.swift
[1750/1826] Emitting module MLX
[1751/1826] Compiling MLX Transforms+Vmap.swift
[1752/1826] Compiling MLX Transforms.swift
[1753/1826] Compiling MLX WiredMemory.swift
[1754/1826] Compiling MLX MLXArray+Normalizer.swift
[1755/1826] Compiling MLX MLXArray+Ops.swift
[1756/1826] Compiling MLX MLXArray.swift
[1757/1826] Compiling MLX MLXCustomFunction.swift
[1758/1826] Compiling MLX Ops+Array.swift
[1759/1826] Compiling MLX Ops.swift
[1760/1826] Compiling MLX ParameterTypes.swift
[1761/1826] Compiling MLX Protocols.swift
[1762/1826] Compiling MLX MLXFast.swift
[1763/1826] Compiling MLX MLXFastKernel.swift
[1764/1826] Compiling MLX Memory.swift
[1765/1826] Compiling MLX Nested.swift
[1765/1826] Compiling json_schema_converter_ext.cc
[1766/1826] Compiling grammar_printer.cc
[1768/1826] Compiling MLX Foundation+Util.swift
[1769/1826] Compiling MLX GPU+Metal.swift
[1770/1826] Compiling MLX IO.swift
[1771/1826] Compiling MLX Linalg.swift
[1772/1826] Compiling MLX ArrayAt.swift
[1773/1826] Compiling MLX Cmlx+Util.swift
[1774/1826] Compiling MLX DType.swift
[1775/1826] Compiling MLX Device.swift
[1776/1826] Compiling MLX MLXArray+Bytes.swift
[1777/1826] Compiling MLX MLXArray+Indexing.swift
[1778/1826] Compiling MLX MLXArray+Init.swift
[1779/1826] Compiling MLX MLXArray+Metal.swift
[1779/1826] Compiling grammar_parser.cc
[1780/1844] Linking CastMacros-tool
[1781/1844] Compiling json_schema_converter.cc
[1782/1844] Compiling c-nioatomics.c
[1783/1844] Compiling grammar_matcher.cc
[1785/1844] Compiling MLXNN Losses.swift
[1786/1844] Compiling MLXNN Module.swift
[1787/1844] Compiling MLXNN Embedding.swift
[1788/1844] Compiling MLXNN Linear.swift
[1789/1844] Compiling MLXNN ConvolutionTransposed.swift
[1790/1844] Compiling MLXNN Dropout.swift
[1791/1844] Compiling MLXNN Containers.swift
[1792/1844] Compiling MLXNN Convolution.swift
[1793/1844] Emitting module MLXNN
[1794/1844] Compiling MLXNN Activations.swift
[1795/1844] Compiling MLXNN Cache.swift
[1796/1844] Compiling MLXNN PositionalEncoding.swift
[1797/1844] Compiling MLXNN Quantized.swift
[1798/1844] Compiling MLXNN Normalization.swift
[1799/1844] Compiling MLXNN Pooling.swift
[1800/1844] Compiling MLXNN Recurrent.swift
[1801/1844] Compiling MLXNN Transformer.swift
[1802/1844] Compiling MLXNN Upsample.swift
[1802/1845] Compiling structural_tag.cc
[1803/1845] Compiling c-nioatomics.c
[1804/1845] Compiling grammar_builder.cc
[1806/1845] Compiling MLXNN ValueAndGrad.swift
[1806/1845] Compiling grammar_functor.cc
[1807/1847] Compiling config.cc
[1808/1847] Compiling CMLXStructured error_handler.cpp
[1809/1847] Compiling grammar_compiler.cc
[1810/1847] Compiling c-atomics.c
[1812/1847] Emitting module MLXOptimizers
[1813/1847] Compiling MLXOptimizers Optimizers.swift
[1813/1847] Compiling c-atomics.c
[1814/1847] Compiling earley_parser.cc
[1815/1847] Compiling fsm_builder.cc
[1817/1861] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[1818/1861] Compiling NIOConcurrencyHelpers NIOLock.swift
[1819/1861] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[1819/1861] Compiling grammar.cc
[1821/1861] Compiling NIOConcurrencyHelpers NIOThreadPoolWorkAvailable.swift
[1822/1861] Emitting module NIOConcurrencyHelpers
[1823/1861] Compiling NIOConcurrencyHelpers NIOLock.swift
[1824/1861] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[1825/1861] Emitting module NIOConcurrencyHelpers
[1826/1861] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[1827/1861] Compiling NIOConcurrencyHelpers lock.swift
[1828/1861] Compiling NIOConcurrencyHelpers atomics.swift
[1829/1861] Compiling NIOConcurrencyHelpers NIOThreadPoolWorkAvailable.swift
[1829/1861] Compiling recursion_guard.cc
[1831/1861] Compiling NIOConcurrencyHelpers atomics.swift
[1832/1861] Compiling NIOConcurrencyHelpers lock.swift
[1832/1861] Compiling logging.cc
[1833/1861] Compiling fsm.cc
[1834/1861] Compiling compiled_grammar.cc
[1835/1861] Compiling testing.cc
[1836/1861] Compiling tokenizer_info.cc
[1837/1861] Compiling regex_converter.cc
[1838/1861] Compiling json_schema_converter_ext.cc
[1839/1861] Compiling grammar_printer.cc
[1840/1861] Compiling grammar_parser.cc
[1841/1861] Compiling grammar_builder.cc
[1842/1861] Compiling json_schema_converter.cc
[1843/1861] Compiling grammar_matcher.cc
[1844/1861] Compiling fsm_builder.cc
[1845/1861] Compiling config.cc
[1846/1861] Compiling grammar.cc
[1847/1861] Compiling CMLXStructured error_handler.cpp
[1848/1861] Write sources
[1850/1898] Compiling grammar_compiler.cc
[1851/1904] Compiling CMLXStructured tokenizer_info.cpp
[1852/1907] Write sources
[1854/1916] Compiling grammar_functor.cc
[1856/2009] Compiling BitCollections BitArray+RangeReplaceableCollection.swift
[1857/2009] Compiling BitCollections BitArray+Shifts.swift
[1858/2009] Compiling BitCollections BitArray+Testing.swift
[1859/2009] Compiling BitCollections BitArray._UnsafeHandle.swift
[1860/2009] Compiling BitCollections BitArray.swift
[1861/2009] Compiling BitCollections BitSet+BidirectionalCollection.swift
[1862/2009] Compiling BitCollections BitSet+SetAlgebra isEqualSet.swift
[1863/2009] Compiling BitCollections BitSet+SetAlgebra isStrictSubset.swift
[1864/2009] Compiling BitCollections BitSet+SetAlgebra isStrictSuperset.swift
[1865/2009] Compiling BitCollections BitSet+SetAlgebra isSubset.swift
[1866/2009] Compiling BitCollections BitSet+SetAlgebra isSuperset.swift
[1867/2009] Compiling BitCollections BitSet+SetAlgebra subtract.swift
[1867/2015] Compiling earley_parser.cc
[1868/2015] Compiling CMLXStructured grammar_matcher.cpp
[1869/2015] Compiling CMLXStructured grammar_compiler.cpp
[1871/2015] Compiling BitCollections BitSet+SetAlgebra union.swift
[1872/2015] Compiling BitCollections BitSet+Sorted Collection APIs.swift
[1875/2015] Compiling BitCollections BitSet.Counted.swift
[1876/2015] Compiling BitCollections BitSet.Index.swift
[1877/2015] Compiling BitCollections BitSet+SetAlgebra subtracting.swift
[1878/2015] Compiling BitCollections BitSet+SetAlgebra symmetricDifference.swift
[1891/2017] Compiling BitCollections BitArray+Fill.swift
[1892/2017] Compiling BitCollections BitArray+Hashable.swift
[1893/2017] Compiling BitCollections BitArray+Initializers.swift
[1894/2017] Compiling BitCollections BitArray+Invariants.swift
[1895/2017] Compiling BitCollections BitArray+LosslessStringConvertible.swift
[1896/2017] Compiling BitCollections BitArray+RandomBits.swift
[1897/2017] Compiling BitCollections BitSet+Extras.swift
[1898/2017] Compiling BitCollections BitSet+Hashable.swift
[1899/2017] Compiling BitCollections BitSet+Initializers.swift
[1900/2017] Compiling BitCollections BitSet+Invariants.swift
[1901/2017] Compiling BitCollections BitSet+Random.swift
[1902/2017] Compiling BitCollections BitSet+SetAlgebra basics.swift
[1903/2017] Compiling Atomics Unmanaged extensions.swift
[1911/2017] Compiling BitCollections BitSet+SetAlgebra conformance.swift
[1912/2017] Compiling BitCollections BitSet+SetAlgebra formIntersection.swift
[1913/2017] Compiling BitCollections BitSet+SetAlgebra formSymmetricDifference.swift
[1914/2017] Compiling BitCollections BitSet+SetAlgebra formUnion.swift
[1915/2017] Compiling BitCollections BitSet+SetAlgebra intersection.swift
[1916/2017] Compiling BitCollections BitSet+SetAlgebra isDisjoint.swift
[1917/2017] Compiling BitCollections BitSet+Codable.swift
[1918/2017] Compiling BitCollections BitSet+CustomDebugStringConvertible.swift
[1919/2017] Compiling BitCollections BitSet+CustomReflectable.swift
[1920/2017] Compiling BitCollections BitSet+CustomStringConvertible.swift
[1921/2017] Compiling BitCollections BitSet+Equatable.swift
[1922/2017] Compiling BitCollections BitSet+ExpressibleByArrayLiteral.swift
[1923/2017] Emitting module BitCollections
[1936/2023] Compiling BitCollections BitArray+CustomReflectable.swift
[1937/2023] Compiling BitCollections BitArray+Descriptions.swift
[1938/2023] Compiling BitCollections BitArray+Equatable.swift
[1939/2023] Compiling BitCollections BitArray+ExpressibleByArrayLiteral.swift
[1940/2023] Compiling BitCollections BitArray+ExpressibleByStringLiteral.swift
[1941/2023] Compiling BitCollections BitArray+Extras.swift
[1960/2023] Emitting module BitCollections
[1961/2023] Compiling BitCollections BinaryInteger extensions.swift
[1962/2023] Compiling BitCollections BitArray+BitwiseOperations.swift
[1963/2023] Compiling BitCollections BitArray+ChunkedBitsIterators.swift
[1964/2023] Compiling BitCollections BitArray+Codable.swift
[1965/2023] Compiling BitCollections BitArray+Collection.swift
[1966/2023] Compiling BitCollections BitArray+Copy.swift
[1972/2023] Compiling fsm.cc
[1974/2023] Compiling BitCollections BitSet._UnsafeHandle.swift
[1975/2023] Compiling BitCollections BitSet.swift
[1976/2023] Compiling BitCollections Range+Utilities.swift
[1977/2023] Compiling BitCollections Slice+Utilities.swift
[1978/2023] Compiling BitCollections UInt+Tricks.swift
[1979/2023] Compiling BitCollections _Word.swift
[1991/2023] Compiling structural_tag.cc
[2013/2029] Compiling Collections HashTreeCollections reexports.swift
[2014/2029] Compiling Collections HeapModule reexports.swift
[2015/2029] Compiling Collections OrderedCollections reexports.swift
[2016/2029] Compiling Collections DequeModule reexports.swift
[2017/2029] Emitting module Collections
[2018/2029] Compiling Collections BitCollections reexports.swift
[2025/2029] Emitting module Atomics
[2029/2045] Compiling Collections DequeModule reexports.swift
[2030/2045] Compiling Collections HeapModule reexports.swift
[2031/2045] Compiling Collections OrderedCollections reexports.swift
[2032/2045] Compiling Collections HashTreeCollections reexports.swift
[2033/2045] Emitting module Collections
[2034/2045] Compiling Collections BitCollections reexports.swift
[2035/2185] Compiling NIOCore NIOPooledRecvBufferAllocator.swift
[2036/2185] Compiling NIOCore NIOScheduledCallback.swift
[2037/2185] Compiling NIOCore NIOSendable.swift
[2038/2185] Compiling NIOCore NIOSplitLinesMessageDecoder.swift
[2039/2185] Compiling NIOCore NIOTransportAccessibleChannelCore.swift
[2040/2185] Compiling NIOCore RecvByteBufferAllocator.swift
[2041/2185] Compiling NIOCore SingleStepByteToMessageDecoder.swift
[2049/2192] Compiling NIOCore IO.swift
[2050/2192] Compiling NIOCore IOData.swift
[2051/2192] Compiling NIOCore IPProtocol.swift
[2052/2192] Compiling NIOCore IntegerBitPacking.swift
[2053/2192] Compiling NIOCore IntegerTypes.swift
[2054/2192] Compiling NIOCore Interfaces.swift
[2055/2192] Compiling NIOCore NIOLoopBound.swift
[2055/2199] Compiling compiled_grammar.cc
[2064/2199] Compiling NIOCore ConvenienceOptionSupport.swift
[2065/2199] Compiling NIOCore DeadChannel.swift
[2066/2199] Compiling NIOCore DispatchQueue+WithFuture.swift
[2067/2199] Compiling NIOCore EventLoop+Deprecated.swift
[2068/2199] Compiling NIOCore EventLoop+SerialExecutor.swift
[2069/2199] Compiling NIOCore EventLoop.swift
[2070/2199] Compiling NIOCore EventLoopFuture+AssumeIsolated.swift
[2071/2199] Compiling NIOCore MarkedCircularBuffer.swift
[2072/2199] Compiling NIOCore MulticastChannel.swift
[2073/2199] Compiling NIOCore NIOAny.swift
[2074/2199] Compiling NIOCore NIOCloseOnErrorHandler.swift
[2075/2199] Compiling NIOCore NIOCoreSendableMetatype.swift
[2076/2199] Compiling NIOCore NIODecodedAsyncSequence.swift
[2077/2199] Compiling NIOCore NIOLoopBound.swift
[2085/2199] Compiling NIOCore Codec.swift
[2086/2199] Compiling NIOCore EventLoopFuture+Deprecated.swift
[2087/2199] Compiling NIOCore EventLoopFuture+WithEventLoop.swift
[2088/2199] Compiling NIOCore EventLoopFuture.swift
[2089/2199] Compiling NIOCore FileDescriptor.swift
[2090/2199] Compiling NIOCore FileHandle.swift
[2091/2199] Compiling NIOCore FileRegion.swift
[2092/2199] Compiling NIOCore GlobalSingletons.swift
[2100/2199] Compiling NIOCore ByteBuffer-hex.swift
[2101/2199] Compiling NIOCore ByteBuffer-int.swift
[2102/2199] Compiling NIOCore ByteBuffer-lengthPrefix.swift
[2103/2199] Compiling NIOCore ByteBuffer-multi-int.swift
[2104/2199] Compiling NIOCore ByteBuffer-quicBinaryEncodingStrategy.swift
[2105/2199] Compiling NIOCore ByteBuffer-views.swift
[2106/2199] Compiling NIOCore Channel.swift
[2107/2199] Compiling JSONSchema JSONSchema+String.swift
[2108/2200] Compiling JSONSchema JSONSchema+Integer.swift
[2109/2201] Compiling JSONSchema JSONSchema+Boolean.swift
[2110/2201] Compiling JSONSchema JSONSchema+Enum.swift
[2111/2201] Emitting module JSONSchema
[2112/2201] Compiling JSONSchema JSONSchema+Array.swift
[2113/2201] Compiling JSONSchema JSONSchema+Object.swift
[2114/2201] Compiling JSONSchema JSONSchema+ObjectProperties.swift
[2115/2201] Compiling JSONSchema JSONSchema+Number.swift
[2116/2201] Compiling JSONSchema JSONSchema+String.swift
[2117/2201] Compiling JSONSchema JSONSchema+Number.swift
[2118/2201] Compiling JSONSchema JSONSchema+Null.swift
[2119/2201] Compiling JSONSchema JSONSchema+Object.swift
[2120/2201] Compiling JSONSchema JSONSchema+ObjectProperties.swift
[2121/2201] Compiling JSONSchema JSONSchema.swift
[2123/2201] Compiling JSONSchema JSONSchema+Enum.swift
[2124/2201] Compiling JSONSchema JSONSchema+Integer.swift
[2125/2201] Compiling JSONSchema JSONSchema+Array.swift
[2126/2201] Compiling JSONSchema JSONSchema+Boolean.swift
[2127/2201] Emitting module JSONSchema
[2128/2201] Compiling JSONSchema JSONSchema+Null.swift
[2129/2201] Compiling NIOCore SocketAddresses.swift
[2130/2201] Compiling NIOCore SocketOptionProvider.swift
[2131/2201] Compiling NIOCore SystemCallHelpers.swift
[2132/2201] Compiling NIOCore TimeAmount+Duration.swift
[2133/2201] Compiling NIOCore TypeAssistedChannelHandler.swift
[2134/2201] Compiling NIOCore UniversalBootstrapSupport.swift
[2135/2201] Compiling NIOCore Utilities.swift
[2143/2201] Compiling NIOCore AddressedEnvelope.swift
[2144/2201] Compiling NIOCore AsyncAwaitSupport.swift
[2145/2201] Compiling NIOCore AsyncChannel.swift
[2146/2201] Compiling NIOCore AsyncChannelHandler.swift
[2147/2201] Compiling NIOCore AsyncChannelInboundStream.swift
[2148/2201] Compiling NIOCore AsyncChannelOutboundWriter.swift
[2149/2201] Compiling NIOCore NIOAsyncSequenceProducer.swift
[2150/2201] Compiling NIOCore NIOAsyncSequenceProducerStrategies.swift
[2151/2201] Compiling NIOCore NIOAsyncWriter.swift
[2152/2201] Compiling NIOCore NIOThrowingAsyncSequenceProducer.swift
[2153/2201] Compiling NIOCore BSDSocketAPI.swift
[2154/2201] Compiling NIOCore ByteBuffer-aux.swift
[2155/2201] Compiling NIOCore ByteBuffer-binaryEncodedLengthPrefix.swift
[2156/2201] Compiling NIOCore ByteBuffer-conversions.swift
[2157/2201] Compiling NIOCore ByteBuffer-core.swift
[2159/2201] Compiling NIOCore ChannelHandler.swift
[2160/2201] Compiling NIOCore ChannelHandlers.swift
[2161/2201] Compiling NIOCore ChannelInvoker.swift
[2162/2201] Compiling NIOCore ChannelOption.swift
[2163/2201] Compiling NIOCore ChannelPipeline.swift
[2164/2201] Compiling NIOCore CircularBuffer.swift
[2200/2201] Emitting module NIOCore
[2202/2211] Compiling EventSource EventSource+AsyncHTTPClient.swift
[2203/2211] Compiling EventSource AsyncEventsSequence.swift
[2204/2211] Compiling EventSource AsyncSequence+Events.swift
[2205/2211] Compiling EventSource EventSource.swift
[2206/2211] Emitting module EventSource
[2207/2211] Compiling EventSource EventSource+AsyncHTTPClient.swift
[2208/2261] Compiling EventSource AsyncEventsSequence.swift
[2209/2261] Compiling EventSource AsyncSequence+Events.swift
[2210/2261] Emitting module EventSource
[2211/2261] Compiling EventSource EventSource.swift
[2212/2311] Compiling HuggingFace HubClient+Discussions.swift
[2213/2311] Compiling HuggingFace FeatureExtraction.swift
[2214/2311] Compiling HuggingFace InferenceClient.swift
[2215/2311] Compiling HuggingFace Message.swift
[2216/2311] Compiling HuggingFace Provider.swift
[2221/2316] Compiling HuggingFace SpeechToText.swift
[2222/2321] Compiling HuggingFace OAuth.swift
[2223/2321] Compiling HuggingFace Organization.swift
[2224/2321] Compiling HuggingFace Pagination.swift
[2225/2321] Compiling HuggingFace Paper.swift
[2226/2321] Compiling HuggingFace Repo.swift
[2227/2321] Compiling HuggingFace File.swift
[2228/2321] Compiling HuggingFace Git.swift
[2229/2321] Compiling HuggingFace HubCache.swift
[2230/2321] Compiling HuggingFace HubClient+Collections.swift
[2231/2321] Compiling HuggingFace HubClient+Datasets.swift
[2233/2321] Compiling HuggingFace ResourceGroup.swift
[2234/2321] Compiling HuggingFace Space.swift
[2235/2321] Compiling HuggingFace Tags.swift
[2236/2321] Compiling HuggingFace User.swift
[2237/2321] Compiling HuggingFace ChatCompletion.swift
[2238/2321] Compiling HuggingFace HubClient+Papers.swift
[2239/2321] Compiling HuggingFace HubClient+Repos.swift
[2240/2321] Compiling HuggingFace HubClient+Spaces.swift
[2241/2321] Compiling HuggingFace HubClient+User.swift
[2242/2321] Compiling HuggingFace HubClient.swift
[2243/2321] Compiling HuggingFace Model.swift
[2244/2321] Compiling HuggingFace CacheLocationProvider.swift
[2245/2321] Compiling HuggingFace Data+Extensions.swift
[2246/2321] Compiling HuggingFace JSONDecoder+Extensions.swift
[2247/2321] Compiling HuggingFace URL+Extensions.swift
[2248/2321] Compiling HuggingFace URLSession+Linux.swift
[2249/2321] Compiling HuggingFace Billing.swift
[2250/2321] Compiling HuggingFace Collection.swift
[2251/2321] Compiling HuggingFace CommaSeparatedList.swift
[2252/2321] Compiling HuggingFace Dataset.swift
[2253/2321] Compiling HuggingFace Discussion.swift
[2254/2321] Compiling HuggingFace TextToImage.swift
[2255/2321] Compiling HuggingFace TextToVideo.swift
[2256/2321] Compiling HuggingFace HuggingFaceAuthenticationManager.swift
[2257/2321] Compiling HuggingFace OAuthClient.swift
[2258/2321] Compiling HuggingFace TokenStorage.swift
[2259/2321] Compiling HuggingFace AccessRequest.swift
[2272/2321] Compiling HuggingFace FileLock.swift
[2273/2321] Compiling HuggingFace HTTPClient.swift
[2274/2321] Compiling HuggingFace MultipartBuilder.swift
[2275/2321] Compiling HuggingFace TokenProvider.swift
[2276/2321] Compiling HuggingFace Value.swift
[2282/2321] Emitting module HuggingFace
[2284/2321] Compiling HuggingFace HubClient+Files.swift
[2285/2321] Compiling HuggingFace HubClient+Git.swift
[2286/2321] Compiling HuggingFace HubClient+Models.swift
[2287/2321] Compiling HuggingFace HubClient+OAuth.swift
[2288/2321] Compiling HuggingFace HubClient+Organizations.swift
[2289/2321] Compiling HuggingFace HubClient+Pagination.swift
[2322/2335] Compiling Hub resource_bundle_accessor.swift
[2324/2335] Compiling Hub BinaryDistinct.swift
[2325/2335] Compiling Hub YYJSONParser.swift
[2326/2335] Compiling Hub Config.swift
[2327/2335] Compiling Hub HubApi.swift
[2328/2335] Compiling Hub Hub.swift
[2329/2335] Emitting module Hub
[2330/2335] Compiling Hub YYJSONParser.swift
[2331/2335] Compiling Hub Hub.swift
[2332/2335] Compiling Hub Config.swift
[2333/2335] Compiling Hub BinaryDistinct.swift
[2334/2335] Emitting module Hub
[2335/2335] Compiling Hub HubApi.swift
[2336/2359] Compiling Tokenizers Trie.swift
[2338/2361] Compiling Tokenizers PostProcessor.swift
[2339/2361] Compiling Tokenizers PreTokenizer.swift
[2340/2361] Compiling Tokenizers Normalizer.swift
[2341/2361] Compiling Tokenizers UnigramTokenizer.swift
[2343/2361] Compiling Tokenizers ByteEncoder.swift
[2344/2361] Compiling Tokenizers Decoder.swift
[2345/2361] Compiling Tokenizers String+PreTokenization.swift
[2346/2361] Compiling Tokenizers TokenLattice.swift
[2347/2361] Compiling Tokenizers PreTokenizer.swift
[2348/2361] Compiling Tokenizers Tokenizer.swift
[2349/2361] Compiling Tokenizers PostProcessor.swift
[2350/2361] Compiling Tokenizers Normalizer.swift
[2351/2361] Compiling Tokenizers BPETokenizer.swift
[2352/2361] Compiling Tokenizers BertTokenizer.swift
[2353/2361] Emitting module Tokenizers
[2359/2361] Compiling Tokenizers Tokenizer.swift
[2360/2361] Compiling Tokenizers TokenLattice.swift
[2361/2361] Compiling Tokenizers String+PreTokenization.swift
[2362/2381] Compiling Generation TemperatureLogitsWarper.swift
[2363/2381] Compiling Generation TopPLogitsWarper.swift
[2365/2381] Compiling Generation RepetitionPenaltyLogitsProcessor.swift
[2366/2381] Compiling Generation TopKLogitsWarper.swift
[2367/2381] Compiling Generation TemperatureLogitsWarper.swift
[2368/2381] Compiling Generation LogitsProcessor.swift
[2369/2381] Compiling Generation GenerationConfig.swift
[2370/2381] Compiling Generation RepetitionPenaltyLogitsProcessor.swift
[2371/2381] Compiling Generation MinPLogitsWarper.swift
[2373/2381] Compiling Generation LogitsProcessor.swift
[2374/2381] Compiling Generation GenerationConfig.swift
[2375/2381] Compiling Generation TopKLogitsWarper.swift
[2376/2381] Compiling Generation Decoders.swift
[2377/2381] Emitting module Generation
[2378/2381] Compiling Generation Generation.swift
[2379/2381] Compiling Generation Decoders.swift
[2380/2381] Emitting module Generation
[2381/2381] Compiling Generation Generation.swift
[2382/2389] Compiling Models Weights.swift
[2383/2389] Compiling Models LanguageModelTypes.swift
[2385/2389] Compiling Models Weights.swift
[2386/2389] Emitting module Models
[2387/2389] Compiling Models LanguageModel.swift
[2388/2389] Emitting module Models
[2389/2389] Compiling Models LanguageModel.swift
[2390/2483] Compiling MLXLMCommon ModelContainer.swift
[2391/2483] Compiling MLXLMCommon ModelFactory.swift
[2392/2483] Compiling MLXLMCommon Gemma.swift
[2393/2483] Compiling MLXLMCommon Module+Extensions.swift
[2394/2483] Compiling MLXLMCommon AbstractModelRegistry.swift
[2395/2488] Compiling MLXLMCommon DoRA+Layers.swift
[2396/2488] Compiling MLXLMCommon LoRA+Layers.swift
[2397/2488] Compiling MLXLMCommon LoRAContainer.swift
[2398/2488] Compiling MLXLMCommon LoRAModel.swift
[2399/2488] Compiling MLXLMCommon ModelAdapter.swift
[2400/2493] Emitting module MLXLMCommon
[2401/2493] Compiling MLXLMCommon Tool.swift
[2402/2493] Compiling MLXLMCommon ToolCall.swift
[2403/2493] Compiling MLXLMCommon ToolCallFormat.swift
[2404/2493] Compiling MLXLMCommon ToolCallProcessor.swift
[2405/2493] Compiling MLXLMCommon ToolParameter.swift
[2406/2493] Compiling MLXLMCommon MiniMaxM2ToolCallParser.swift
[2407/2493] Compiling MLXLMCommon MistralToolCallParser.swift
[2408/2493] Compiling MLXLMCommon ParserUtilities.swift
[2409/2493] Compiling MLXLMCommon PythonicToolCallParser.swift
[2410/2493] Compiling MLXLMCommon XMLFunctionParser.swift
[2411/2493] Compiling MLXLMCommon Tokenizer.swift
[2412/2493] Compiling MLXLMCommon GLM4ToolCallParser.swift
[2413/2493] Compiling MLXLMCommon GemmaFunctionParser.swift
[2414/2493] Compiling MLXLMCommon JSONToolCallParser.swift
[2415/2493] Compiling MLXLMCommon KimiK2ToolCallParser.swift
[2416/2493] Compiling MLXLMCommon Evaluate.swift
[2417/2493] Compiling MLXLMCommon Encodable+toolResult.swift
[2418/2493] Compiling MLXLMCommon JSONDecoder+JSON5.swift
[2419/2493] Compiling MLXLMCommon GenerationConfigFile.swift
[2420/2493] Compiling MLXLMCommon InterpolationUtils.swift
[2421/2493] Compiling MLXLMCommon ModelAdapterFactory.swift
[2422/2493] Compiling MLXLMCommon ModelAdapterTypeRegistry.swift
[2423/2493] Compiling MLXLMCommon AttentionUtils.swift
[2424/2493] Compiling MLXLMCommon BaseConfiguration.swift
[2425/2493] Compiling MLXLMCommon Chat.swift
[2426/2493] Compiling MLXLMCommon ChatSession.swift
[2432/2493] Compiling MLXLMCommon ModelTypeRegistry.swift
[2433/2493] Compiling MLXLMCommon ProcessorTypeRegistry.swift
[2434/2493] Compiling MLXLMCommon RoPEUtils.swift
[2435/2493] Compiling MLXLMCommon SuScaledRoPE.swift
[2436/2493] Compiling MLXLMCommon SwitchLayers.swift
[2448/2493] Emitting module MLXLMCommon
[2459/2493] Compiling MLXLMCommon JSONDecodingTypes.swift
[2460/2493] Compiling MLXLMCommon KVCache.swift
[2461/2493] Compiling MLXLMCommon LanguageModel.swift
[2462/2493] Compiling MLXLMCommon Load.swift
[2463/2493] Compiling MLXLMCommon ModelConfiguration.swift
[2484/2493] Compiling MLXLMCommon Value.swift
[2485/2493] Compiling MLXLMCommon UserInput.swift
[2486/2493] Compiling MLXLMCommon SerialAccessContainer.swift
[2487/2493] Compiling MLXLMCommon WiredMemoryPolicies.swift
[2488/2493] Compiling MLXLMCommon WiredMemoryUtils.swift
[2494/2619] Compiling MLXStructured GrammarMaskedLogitProcessor.swift
[2495/2620] Compiling MLXStructured Grammar.swift
[2496/2620] Compiling MLXStructured StructuralTag+Builder.swift
[2497/2620] Compiling MLXStructured Grammar.swift
[2498/2620] Compiling MLXStructured GrammarMatcherFactory.swift
[2499/2621] Compiling MLXStructured GrammarMatcher.swift
[2500/2621] Compiling MLXStructured GrammarMatcherFactory.swift
[2501/2621] Compiling MLXStructured GrammarMatcher.swift
[2502/2621] Compiling MLXStructured GrammarMaskedLogitProcessor.swift
[2503/2621] Compiling MLXStructured StructuralTag+Builder.swift
[2504/2621] Compiling MLXStructured Grammar+Structural.swift
[2505/2621] Compiling MLXLLM AfMoE.swift
[2506/2621] Compiling MLXLLM Apertus.swift
[2507/2621] Compiling MLXStructured Grammar+Structural.swift
[2510/2621] Compiling MLXLLM Lora+Data.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>
[2511/2621] Compiling MLXLLM LoraTrain.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>
[2512/2621] Compiling MLXLLM LLMModel.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>
[2513/2621] Compiling MLXLLM LLMModelFactory.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>
[2514/2621] Compiling MLXStructured StructuralTag.swift
[2515/2621] 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/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>
[2521/2621] Compiling MLXStructured StructuralTag.swift
[2522/2621] Compiling MLXLLM PhiMoE.swift
[2523/2621] Compiling MLXLLM Qwen2.swift
[2524/2621] Compiling MLXLLM Qwen3.swift
[2525/2621] Compiling MLXLLM Qwen35.swift
[2526/2621] Compiling MLXLLM Qwen35MoE.swift
[2527/2626] Emitting module MLXLLM
[2529/2631] Compiling MLXLLM Mistral3Text.swift
[2530/2631] Compiling MLXLLM NanoChat.swift
[2531/2631] Compiling MLXLLM NemotronH.swift
[2532/2631] Compiling MLXLLM Olmo2.swift
[2534/2631] Compiling MLXLLM Llama.swift
[2535/2631] Compiling MLXLLM MiMo.swift
[2536/2631] Compiling MLXLLM MiMoV2Flash.swift
[2537/2631] Compiling MLXLLM MiniCPM.swift
[2538/2631] Compiling MLXLLM MiniMax.swift
[2539/2631] Compiling MLXLLM Lille130m.swift
[2544/2631] Compiling MLXLLM Olmo3.swift
[2545/2631] Compiling MLXLLM OlmoE.swift
[2546/2631] Compiling MLXLLM OpenELM.swift
[2547/2631] Compiling MLXLLM Phi.swift
[2548/2631] Compiling MLXLLM Phi3.swift
[2565/2631] Compiling MLXLLM FalconH1.swift
[2566/2631] Compiling MLXLLM GLM4.swift
[2567/2631] Compiling MLXLLM GLM4MOE.swift
[2568/2631] Compiling MLXLLM GLM4MOELite.swift
[2569/2631] Compiling MLXLLM GPTOSS.swift
[2581/2631] Compiling MLXLLM GatedDelta.swift
[2582/2631] Compiling MLXLLM Gemma.swift
[2583/2631] Compiling MLXLLM Gemma2.swift
[2584/2631] Compiling MLXLLM Gemma3Text.swift
[2585/2631] Compiling MLXLLM Gemma3nText.swift
[2586/2631] Compiling MLXLLM Granite.swift
[2593/2631] Compiling MLXLLM GraniteMoeHybrid.swift
[2594/2631] Compiling MLXLLM Internlm2.swift
[2595/2631] Compiling MLXLLM Jamba.swift
[2596/2631] Compiling MLXLLM LFM2.swift
[2597/2631] Compiling MLXLLM LFM2MoE.swift
[2598/2631] Compiling MLXLLM BaichuanM1.swift
[2599/2631] Compiling MLXLLM BailingMoe.swift
[2600/2631] Compiling MLXLLM Bitnet.swift
[2601/2631] Compiling MLXLLM Cohere.swift
[2602/2631] Compiling MLXLLM DeepseekV3.swift
[2603/2631] Compiling MLXLLM Ernie4_5.swift
[2604/2631] Compiling MLXLLM Exaone4.swift
[2622/2631] Compiling MLXLLM Qwen3MoE.swift
[2623/2631] Compiling MLXLLM Qwen3Next.swift
[2624/2631] Compiling MLXLLM SSM.swift
[2625/2631] Compiling MLXLLM SmolLM3.swift
[2626/2631] Compiling MLXLLM Starcoder2.swift
[2632/2679] Compiling Cast CastConfiguration.swift
[2633/2679] Compiling Cast CastEnum.swift
[2634/2679] Compiling Cast CastError.swift
[2638/2683] 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>
[2639/2683] 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>
[2640/2683] Compiling Cast PromptEngine.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>
[2641/2683] Compiling Cast JSONRepair.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>
[2642/2683] 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>
[2643/2683] 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>
[2644/2683] Compiling Cast CastModel+Timeout.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>
[2645/2683] 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>
[2646/2683] 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>
[2647/2683] Compiling Cast CastModel+Generation.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>
[2648/2683] Compiling Cast PartialResult.swift
[2649/2683] Compiling Cast PropertyWrappers.swift
[2652/2683] Compiling Cast ModelSource.swift
[2655/2683] Compiling Cast CastBench.swift
[2656/2683] Compiling Cast Formatters.swift
[2657/2683] Compiling Cast JSONSchema+Excluding.swift
[2658/2683] Compiling Cast SchemaGenerator.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>
[2667/2683] Compiling Cast CastModel.swift
[2668/2683] Compiling Cast Castable.swift
[2671/2683] Compiling Cast GrammarProcessorCache.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>
/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>
[2678/2683] 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>
[2680/2683] Compiling Cast ValidatorSupport.swift
[2681/2683] Compiling Cast ZeroSchemaDecoder.swift
Build complete! (137.24s)
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.