Build Information
Successful build of coreai-models, reference 0.2.9-zoo (6be53a), with Swift 6.4 for macOS (SPM) on 3 Nov 2026 01:43:20 UTC.
Swift 6 data race errors: 0
Build Command
env DEVELOPER_DIR=/Applications/Xcode-27.0.0.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 5.1.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/john-rocky/coreai-models.git
Reference: 0.2.9-zoo
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/john-rocky/coreai-models
* tag 0.2.9-zoo -> FETCH_HEAD
HEAD is now at 6be53a5 Pipelined engine: a checkpoint inside a generate lands on the chunk grid, padded tail or not
Cloned https://github.com/john-rocky/coreai-models.git
Revision (git rev-parse @):
6be53a54420ead84b35714178cce434a54c5da45
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/john-rocky/coreai-models.git at 0.2.9-zoo
Fetching https://github.com/mlc-ai/xgrammar
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/huggingface/swift-huggingface.git
Fetching https://github.com/huggingface/swift-jinja.git
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/apple/swift-configuration.git
Fetching https://github.com/apple/swift-nio-http2.git
[1/2016] Fetching swift-jinja
[2/6191] Fetching swift-jinja, swift-configuration
[3/9246] Fetching swift-jinja, swift-configuration, swift-huggingface
[919/16640] Fetching swift-jinja, swift-configuration, swift-huggingface, swift-system
[7087/28959] Fetching swift-jinja, swift-configuration, swift-huggingface, swift-system, swift-nio-http2
Fetched https://github.com/huggingface/swift-huggingface.git (1.24s)
Fetched https://github.com/huggingface/swift-jinja.git (1.24s)
[6222/23888] Fetching swift-configuration, swift-system, swift-nio-http2
Fetched https://github.com/apple/swift-configuration.git (1.24s)
[2343/19713] Fetching swift-system, swift-nio-http2
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-nio-transport-services.git
Fetching https://github.com/mattt/EventSource.git
[8431/51822] Fetching swift-system, swift-nio-http2, xgrammar
Fetched https://github.com/apple/swift-system.git (1.60s)
Fetching https://github.com/apple/swift-distributed-tracing.git
[3551/44428] Fetching swift-nio-http2, xgrammar
[8383/46350] Fetching swift-nio-http2, xgrammar, swift-atomics
[8403/46683] Fetching swift-nio-http2, xgrammar, swift-atomics, eventsource
[10463/49556] Fetching swift-nio-http2, xgrammar, swift-atomics, eventsource, swift-nio-transport-services
Fetched https://github.com/apple/swift-nio-http2.git (2.32s)
[4442/37237] Fetching xgrammar, swift-atomics, eventsource, swift-nio-transport-services
Fetching https://github.com/hummingbird-project/hummingbird
[6436/43934] Fetching xgrammar, swift-atomics, eventsource, swift-nio-transport-services, swift-distributed-tracing
Fetched https://github.com/mattt/EventSource.git (1.15s)
Fetched https://github.com/apple/swift-nio-transport-services.git (1.15s)
[4144/40728] Fetching xgrammar, swift-atomics, swift-distributed-tracing
Fetching https://github.com/apple/swift-asn1.git
Fetching https://github.com/apple/swift-nio.git
Fetched https://github.com/apple/swift-atomics.git (1.24s)
[3024/38806] Fetching xgrammar, swift-distributed-tracing
Fetching https://github.com/apple/swift-numerics.git
[6199/44965] Fetching xgrammar, swift-distributed-tracing, swift-algorithms
[13539/47016] Fetching xgrammar, swift-distributed-tracing, swift-algorithms, swift-asn1
Fetched https://github.com/apple/swift-distributed-tracing.git (1.45s)
Fetching https://github.com/apple/swift-collections.git
[6903/40319] Fetching xgrammar, swift-algorithms, swift-asn1
[14114/47085] Fetching xgrammar, swift-algorithms, swift-asn1, swift-numerics
Fetched https://github.com/apple/swift-algorithms.git (3.37s)
[9805/40926] Fetching xgrammar, swift-asn1, swift-numerics
Fetching https://github.com/apple/swift-metrics.git
[15134/69925] Fetching xgrammar, swift-asn1, swift-numerics, hummingbird
Fetched https://github.com/apple/swift-numerics.git (1.24s)
Fetching https://github.com/apple/swift-argument-parser
[18749/63159] Fetching xgrammar, swift-asn1, hummingbird
[19713/149914] Fetching xgrammar, swift-asn1, hummingbird, swift-nio
[23889/153529] Fetching xgrammar, swift-asn1, hummingbird, swift-nio, swift-metrics
[28883/182984] Fetching xgrammar, swift-asn1, hummingbird, swift-nio, swift-metrics, swift-collections
Fetched https://github.com/apple/swift-metrics.git (1.16s)
[43805/179369] Fetching xgrammar, swift-asn1, hummingbird, swift-nio, swift-collections
Fetching https://github.com/swift-server/async-http-client.git
[54122/198699] Fetching xgrammar, swift-asn1, hummingbird, swift-nio, swift-collections, swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser (1.91s)
[108705/195898] Fetching xgrammar, swift-asn1, hummingbird, swift-nio, swift-collections, async-http-client
Fetching https://github.com/apple/swift-async-algorithms.git
Fetched https://github.com/apple/swift-collections.git (3.13s)
[95229/166443] Fetching xgrammar, swift-asn1, hummingbird, swift-nio, async-http-client
Fetching https://github.com/apple/swift-http-types.git
[109783/173268] Fetching xgrammar, swift-asn1, hummingbird, swift-nio, async-http-client, swift-async-algorithms
Fetched https://github.com/swift-server/async-http-client.git (2.03s)
[96235/156739] Fetching xgrammar, swift-asn1, hummingbird, swift-nio, swift-async-algorithms
Fetching https://github.com/swift-server/swift-service-lifecycle.git
[103112/158700] Fetching xgrammar, swift-asn1, hummingbird, swift-nio, swift-async-algorithms, swift-http-types
Fetched https://github.com/apple/swift-async-algorithms.git (1.27s)
[100069/151875] Fetching xgrammar, swift-asn1, hummingbird, swift-nio, swift-http-types
Fetching https://github.com/apple/swift-log.git
Fetched https://github.com/apple/swift-http-types.git (0.97s)
Fetching https://github.com/huggingface/swift-transformers
[104154/149914] Fetching xgrammar, swift-asn1, hummingbird, swift-nio
Fetched https://github.com/mlc-ai/xgrammar (7.32s)
[72046/120697] Fetching swift-asn1, hummingbird, swift-nio, swift-service-lifecycle
Fetching https://github.com/ibireme/yyjson.git
[76939/129012] Fetching swift-asn1, hummingbird, swift-nio, swift-service-lifecycle, swift-log
Fetched https://github.com/swift-server/swift-service-lifecycle.git (1.12s)
Fetching https://github.com/apple/swift-service-context.git
[75026/126120] Fetching swift-asn1, hummingbird, swift-nio, swift-log
[77473/133629] Fetching swift-asn1, hummingbird, swift-nio, swift-log, swift-transformers
[78549/138857] Fetching swift-asn1, hummingbird, swift-nio, swift-log, swift-transformers, yyjson
[86641/140403] Fetching swift-asn1, hummingbird, swift-nio, swift-log, swift-transformers, yyjson, swift-service-context
Fetched https://github.com/apple/swift-log.git (1.41s)
[84140/132088] Fetching swift-asn1, hummingbird, swift-nio, swift-transformers, yyjson, swift-service-context
Fetching https://github.com/apple/swift-http-structured-headers.git
Fetched https://github.com/apple/swift-service-context.git (0.95s)
[93007/130542] Fetching swift-asn1, hummingbird, swift-nio, swift-transformers, yyjson
Fetching https://github.com/apple/swift-nio-ssl.git
Fetched https://github.com/huggingface/swift-transformers (1.60s)
Fetching https://github.com/apple/swift-nio-extras.git
[90920/123033] Fetching swift-asn1, hummingbird, swift-nio, yyjson
[91398/124317] Fetching swift-asn1, hummingbird, swift-nio, yyjson, swift-http-structured-headers
Fetched https://github.com/apple/swift-http-structured-headers.git (0.97s)
Fetching https://github.com/apple/swift-certificates.git
[93588/123033] Fetching swift-asn1, hummingbird, swift-nio, yyjson
[93589/139927] Fetching swift-asn1, hummingbird, swift-nio, yyjson, swift-nio-ssl
[93590/146637] Fetching swift-asn1, hummingbird, swift-nio, yyjson, swift-nio-ssl, swift-nio-extras
Fetched https://github.com/apple/swift-nio-extras.git (1.26s)
Fetching https://github.com/apple/swift-crypto.git
[95317/139927] Fetching swift-asn1, hummingbird, swift-nio, yyjson, swift-nio-ssl
[95370/147534] Fetching swift-asn1, hummingbird, swift-nio, yyjson, swift-nio-ssl, swift-certificates
Fetched https://github.com/apple/swift-asn1.git (8.20s)
Fetched https://github.com/apple/swift-nio.git (8.20s)
[14209/58728] Fetching hummingbird, yyjson, swift-nio-ssl, swift-certificates
[17766/77608] Fetching hummingbird, yyjson, swift-nio-ssl, swift-certificates, swift-crypto
Fetched https://github.com/apple/swift-certificates.git (1.39s)
[10328/70001] Fetching hummingbird, yyjson, swift-nio-ssl, swift-crypto
Fetched https://github.com/apple/swift-nio-ssl.git (3.29s)
[9333/53107] Fetching hummingbird, yyjson, swift-crypto
Fetched https://github.com/apple/swift-crypto.git (3.87s)
[7286/34227] Fetching hummingbird, yyjson
Fetched https://github.com/ibireme/yyjson.git (10.03s)
[6492/28999] Fetching hummingbird
Fetched https://github.com/hummingbird-project/hummingbird (18.80s)
Computing version for https://github.com/hummingbird-project/hummingbird
Computed https://github.com/hummingbird-project/hummingbird at 2.22.0 (21.93s)
Computing version for https://github.com/mlc-ai/xgrammar
Computed https://github.com/mlc-ai/xgrammar at 0.2.2 (0.65s)
Computing version for https://github.com/huggingface/swift-transformers
Computed https://github.com/huggingface/swift-transformers at 1.3.3 (0.70s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.7.0 (0.72s)
Computing version for https://github.com/swift-server/async-http-client.git
Computed https://github.com/swift-server/async-http-client.git at 1.33.1 (0.70s)
Computing version for https://github.com/swift-server/swift-service-lifecycle.git
Computed https://github.com/swift-server/swift-service-lifecycle.git at 2.11.0 (0.66s)
Computing version for https://github.com/apple/swift-nio-transport-services.git
Computed https://github.com/apple/swift-nio-transport-services.git at 1.28.0 (0.67s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.37.0 (0.73s)
Computing version for https://github.com/apple/swift-nio-http2.git
Computed https://github.com/apple/swift-nio-http2.git at 1.45.0 (0.66s)
Computing version for https://github.com/apple/swift-nio-extras.git
Computed https://github.com/apple/swift-nio-extras.git at 1.34.3 (11.10s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.96.0 (0.78s)
Computing version for https://github.com/apple/swift-metrics.git
Computed https://github.com/apple/swift-metrics.git at 2.11.0 (0.65s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.14.0 (0.69s)
Computing version for https://github.com/apple/swift-http-types.git
Computed https://github.com/apple/swift-http-types.git at 1.6.0 (0.67s)
Computing version for https://github.com/apple/swift-distributed-tracing.git
Computed https://github.com/apple/swift-distributed-tracing.git at 1.4.1 (0.66s)
Computing version for https://github.com/apple/swift-configuration.git
Computed https://github.com/apple/swift-configuration.git at 1.2.0 (0.81s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.4.1 (0.77s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (0.66s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.1.3 (0.72s)
Computing version for https://github.com/ibireme/yyjson.git
Computed https://github.com/ibireme/yyjson.git at 0.12.0 (2.35s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 4.3.0 (0.78s)
Computing version for https://github.com/huggingface/swift-huggingface.git
Computed https://github.com/huggingface/swift-huggingface.git at 0.9.0 (0.68s)
Computing version for https://github.com/huggingface/swift-jinja.git
Computed https://github.com/huggingface/swift-jinja.git at 2.3.2 (0.65s)
Computing version for https://github.com/apple/swift-service-context.git
Computed https://github.com/apple/swift-service-context.git at 1.3.0 (0.66s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (0.68s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.6.0 (0.70s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.19.4 (0.81s)
Computing version for https://github.com/apple/swift-http-structured-headers.git
Computed https://github.com/apple/swift-http-structured-headers.git at 1.7.0 (0.62s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.4 (0.63s)
Computing version for https://github.com/mattt/EventSource.git
Computed https://github.com/mattt/EventSource.git at 1.4.1 (0.62s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.1 (0.59s)
Creating working copy for https://github.com/apple/swift-nio-http2.git
Working copy of https://github.com/apple/swift-nio-http2.git resolved at 1.45.0
Creating working copy for https://github.com/apple/swift-certificates.git
Working copy of https://github.com/apple/swift-certificates.git resolved at 1.19.4
Creating working copy for https://github.com/apple/swift-async-algorithms.git
Working copy of https://github.com/apple/swift-async-algorithms.git resolved at 1.1.3
Creating working copy for https://github.com/apple/swift-configuration.git
Working copy of https://github.com/apple/swift-configuration.git resolved at 1.2.0
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.6.4
Creating working copy for https://github.com/huggingface/swift-transformers
Working copy of https://github.com/huggingface/swift-transformers resolved at 1.3.3
Creating working copy for https://github.com/huggingface/swift-huggingface.git
Working copy of https://github.com/huggingface/swift-huggingface.git resolved at 0.9.0
Creating working copy for https://github.com/apple/swift-nio-ssl.git
Working copy of https://github.com/apple/swift-nio-ssl.git resolved at 2.37.0
Creating working copy for https://github.com/hummingbird-project/hummingbird
Working copy of https://github.com/hummingbird-project/hummingbird resolved at 2.22.0
Creating working copy for https://github.com/mlc-ai/xgrammar
Working copy of https://github.com/mlc-ai/xgrammar resolved at 0.2.2
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.0
Creating working copy for https://github.com/apple/swift-numerics.git
Working copy of https://github.com/apple/swift-numerics.git resolved at 1.1.1
Creating working copy for https://github.com/swift-server/async-http-client.git
Working copy of https://github.com/swift-server/async-http-client.git resolved at 1.33.1
Creating working copy for https://github.com/apple/swift-nio-transport-services.git
Working copy of https://github.com/apple/swift-nio-transport-services.git resolved at 1.28.0
Creating working copy for https://github.com/swift-server/swift-service-lifecycle.git
Working copy of https://github.com/swift-server/swift-service-lifecycle.git resolved at 2.11.0
Creating working copy for https://github.com/apple/swift-http-types.git
Working copy of https://github.com/apple/swift-http-types.git resolved at 1.6.0
Creating working copy for https://github.com/apple/swift-metrics.git
Working copy of https://github.com/apple/swift-metrics.git resolved at 2.11.0
Creating working copy for https://github.com/apple/swift-nio-extras.git
Working copy of https://github.com/apple/swift-nio-extras.git resolved at 1.34.3
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.4.1
Creating working copy for https://github.com/ibireme/yyjson.git
Working copy of https://github.com/ibireme/yyjson.git resolved at 0.12.0
Creating working copy for https://github.com/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.6.0
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.14.0
Creating working copy for https://github.com/apple/swift-algorithms.git
Working copy of https://github.com/apple/swift-algorithms.git resolved at 1.2.1
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.96.0
Creating working copy for https://github.com/apple/swift-service-context.git
Working copy of https://github.com/apple/swift-service-context.git resolved at 1.3.0
Creating working copy for https://github.com/apple/swift-http-structured-headers.git
Working copy of https://github.com/apple/swift-http-structured-headers.git resolved at 1.7.0
Creating working copy for https://github.com/huggingface/swift-jinja.git
Working copy of https://github.com/huggingface/swift-jinja.git resolved at 2.3.2
Creating working copy for https://github.com/apple/swift-distributed-tracing.git
Working copy of https://github.com/apple/swift-distributed-tracing.git resolved at 1.4.1
Creating working copy for https://github.com/mattt/EventSource.git
Working copy of https://github.com/mattt/EventSource.git resolved at 1.4.1
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 4.3.0
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.7.0
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"traits": [
"default"
],
"dependencies": [
{
"identity": "coreai-models",
"name": "coreai-models",
"url": "https://github.com/john-rocky/coreai-models.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/coreai-models",
"traits": [
"default"
],
"dependencies": [
{
"identity": "swift-transformers",
"name": "swift-transformers",
"url": "https://github.com/huggingface/swift-transformers",
"version": "1.4.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-transformers",
"traits": [
],
"dependencies": [
{
"identity": "swift-jinja",
"name": "Jinja",
"url": "https://github.com/huggingface/swift-jinja.git",
"version": "3.0.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-jinja",
"traits": [
"default"
],
"dependencies": [
{
"identity": "swift-collections",
"name": "swift-collections",
"url": "https://github.com/apple/swift-collections.git",
"version": "1.7.5",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-collections",
"traits": [
],
"dependencies": [
]
}
]
},
{
"identity": "swift-huggingface",
"name": "swift-huggingface",
"url": "https://github.com/huggingface/swift-huggingface.git",
"version": "1.0.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-huggingface",
"traits": [
],
"dependencies": [
{
"identity": "eventsource",
"name": "EventSource",
"url": "https://github.com/mattt/EventSource.git",
"version": "1.6.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/EventSource",
"traits": [
],
"dependencies": [
]
},
{
"identity": "swift-crypto",
"name": "swift-crypto",
"url": "https://github.com/apple/swift-crypto.git",
"version": "4.5.2",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-crypto",
"traits": [
"default"
],
"dependencies": [
{
"identity": "swift-asn1",
"name": "swift-asn1",
"url": "https://github.com/apple/swift-asn1.git",
"version": "1.7.4",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-asn1",
"traits": [
"default"
],
"dependencies": [
]
}
]
}
]
},
{
"identity": "swift-collections",
"name": "swift-collections",
"url": "https://github.com/apple/swift-collections.git",
"version": "1.7.5",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-collections",
"traits": [
],
"dependencies": [
]
},
{
"identity": "swift-crypto",
"name": "swift-crypto",
"url": "https://github.com/apple/swift-crypto.git",
"version": "4.5.2",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-crypto",
"traits": [
"default"
],
"dependencies": [
{
"identity": "swift-asn1",
"name": "swift-asn1",
"url": "https://github.com/apple/swift-asn1.git",
"version": "1.7.4",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-asn1",
"traits": [
"default"
],
"dependencies": [
]
}
]
},
{
"identity": "yyjson",
"name": "yyjson",
"url": "https://github.com/ibireme/yyjson.git",
"version": "0.13.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/yyjson",
"traits": [
],
"dependencies": [
]
}
]
},
{
"identity": "xgrammar",
"name": "xgrammar",
"url": "https://github.com/mlc-ai/xgrammar",
"version": "0.2.2",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/xgrammar",
"traits": [
"default"
],
"dependencies": [
]
}
]
}
]
}
Fetching https://github.com/john-rocky/coreai-models.git
[1/3087] Fetching coreai-models
Fetched https://github.com/john-rocky/coreai-models.git (11.70s)
Fetching https://github.com/huggingface/swift-transformers from cache
Fetching https://github.com/mlc-ai/xgrammar from cache
Fetched https://github.com/mlc-ai/xgrammar from cache (0.71s)
Fetched https://github.com/huggingface/swift-transformers from cache (0.75s)
Computing version for https://github.com/mlc-ai/xgrammar
Computed https://github.com/mlc-ai/xgrammar at 0.2.2 (0.82s)
Computing version for https://github.com/huggingface/swift-transformers
Computed https://github.com/huggingface/swift-transformers at 1.4.0 (0.60s)
Fetching https://github.com/apple/swift-collections.git from cache
Fetching https://github.com/huggingface/swift-jinja.git from cache
Fetching https://github.com/apple/swift-crypto.git from cache
Fetching https://github.com/ibireme/yyjson.git from cache
Fetching https://github.com/huggingface/swift-huggingface.git from cache
Fetched https://github.com/huggingface/swift-jinja.git from cache (0.50s)
Fetched https://github.com/huggingface/swift-huggingface.git from cache (0.51s)
Fetched https://github.com/apple/swift-crypto.git from cache (0.59s)
Fetched https://github.com/ibireme/yyjson.git from cache (0.61s)
Fetched https://github.com/apple/swift-collections.git from cache (0.67s)
Computing version for https://github.com/ibireme/yyjson.git
Computed https://github.com/ibireme/yyjson.git at 0.13.0 (1.30s)
Computing version for https://github.com/huggingface/swift-jinja.git
Computed https://github.com/huggingface/swift-jinja.git at 3.0.0 (0.03s)
Computing version for https://github.com/huggingface/swift-huggingface.git
Computed https://github.com/huggingface/swift-huggingface.git at 1.0.0 (0.59s)
Fetching https://github.com/mattt/EventSource.git from cache
Fetched https://github.com/mattt/EventSource.git from cache (0.48s)
Computing version for https://github.com/mattt/EventSource.git
Computed https://github.com/mattt/EventSource.git at 1.6.0 (1.10s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.7.5 (0.67s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 4.5.2 (0.68s)
Fetching https://github.com/apple/swift-asn1.git from cache
Fetched https://github.com/apple/swift-asn1.git from cache (0.49s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.4 (1.17s)
Creating working copy for https://github.com/mlc-ai/xgrammar
Working copy of https://github.com/mlc-ai/xgrammar resolved at 0.2.2
Creating working copy for https://github.com/huggingface/swift-jinja.git
Working copy of https://github.com/huggingface/swift-jinja.git resolved at 3.0.0
Creating working copy for https://github.com/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.7.4
Creating working copy for https://github.com/john-rocky/coreai-models.git
Working copy of https://github.com/john-rocky/coreai-models.git resolved at 0.2.9-zoo (6be53a5)
Creating working copy for https://github.com/huggingface/swift-huggingface.git
Working copy of https://github.com/huggingface/swift-huggingface.git resolved at 1.0.0
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 4.5.2
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.7.5
Creating working copy for https://github.com/mattt/EventSource.git
Working copy of https://github.com/mattt/EventSource.git resolved at 1.6.0
Creating working copy for https://github.com/huggingface/swift-transformers
Working copy of https://github.com/huggingface/swift-transformers resolved at 1.4.0
Creating working copy for https://github.com/ibireme/yyjson.git
Working copy of https://github.com/ibireme/yyjson.git resolved at 0.13.0
warning: '.resolve-product-dependencies': dependency 'coreai-models' is not used by any target
Found 2 product dependencies
- swift-transformers
- xgrammar
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.4
Building package at path: $PWD
https://github.com/john-rocky/coreai-models.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-27.0.0.app xcrun swift build --arch arm64
Building for debugging...
[Computing dependencies]
[Provisioning 4 / 118]
[Constructing description]
[Pre-planning 1 / 2518]
[Planning 1076 / 2518]
[Planning deferred tasks]
[Constructing 844 / 5521]
[Starting]
[83 / 1024] _NIODataStructures
[388 / 1024] CSystem
[469 / 1024] coreai-models_LanguageModelsTests
[471 / 1024]
[488 / 1039] InternalCollectionsUtilities
[491 / 1060] ServiceContextModule
[494 / 1078] ConcurrencyHelpers
[498 / 1120]
[503 / 1149]
[517 / 1225] _NIOBase64
[528 / 1239]
[549 / 1239] ServiceContextModule
[559 / 1239]
[577 / 1284]
[580 / 1284] Atomics
[584 / 1284]
[586 / 1284]
[588 / 1284] NIOConcurrencyHelpers
[592 / 1284] ConcurrencyHelpers
[596 / 1284] _NIODataStructures
[625 / 1284] XGrammar
[640 / 1284] XGrammar
[641 / 1284]
[650 / 1284]
[653 / 1284]
[656 / 1284]
[658 / 1284]
[661 / 1284]
[662 / 1284]
[665 / 1284]
[670 / 1284]
[674 / 1284]
[676 / 1284] XGrammar
[679 / 1284]
[681 / 1284]
[683 / 1284] XGrammar
[685 / 1284]
[687 / 1284] Crypto
[689 / 1284] HTTPTypes
[698 / 1284] Crypto
[710 / 1284]
[712 / 1284]
[719 / 1284] CoreAILMCommon
[728 / 1284]
[737 / 1284]
[748 / 1284] _NIODataStructures
[755 / 1284] SystemPackage
[758 / 1284]
[760 / 1284]
[763 / 1284]
[772 / 1284]
[776 / 1284] SystemPackage
[781 / 1284] SystemPackage-product
[785 / 1284] SystemPackage
[788 / 1284] ServiceContextModule-product
[794 / 1284] NIOConcurrencyHelpers-product
[796 / 1284] Logging
[800 / 1284] Logging-product
[816 / 1284] InternalCollectionsUtilities
[822 / 1284] InternalCollectionsUtilities
[827 / 1284] HTTPTypes
[834 / 1284] HTTPTypes
[837 / 1284] HTTPTypes
[840 / 1284] Crypto
[843 / 1284] Crypto-product
[845 / 1284] Crypto
[846 / 1284] Crypto
[854 / 1284] CoreAIShared
[857 / 1284] Metrics
[862 / 1284] CoreAIObjectDetector
[865 / 1284] CoreAIImageSegmenter
[874 / 1284] CNIOLinux
[886 / 1296]
[891 / 1309]
[901 / 1309]
[906 / 1309] Atomics
[910 / 1309] CNIOLLHTTP
[919 / 1309]
[921 / 1309]
[932 / 1310]
[936 / 1312] Logging
[943 / 1327] UnixSignals
[946 / 1333] Instrumentation
[954 / 1335] Instrumentation
[967 / 1335] Metrics
[974 / 1335] OrderedCollections
[977 / 1335] Metrics-product
[989 / 1337]
[1001 / 1339] OrderedCollections
[1007 / 1352] OrderedCollections
[1012 / 1360] Tracing
[1015 / 1360] Tracing
[1028 / 1402] Tracing
[1037 / 1416] Tracing-product
[1043 / 1416] Jinja
[1059 / 1416] Jinja-product
[1069 / 1416]
[1074 / 1416]
[1077 / 1416]
[1080 / 1416] CoreAIObjectDetector
[1084 / 1416] CoreAIImageSegmenter
[1088 / 1416] CoreAIObjectDetector
[1089 / 1416] CoreAISegmentation-product
[1092 / 1416] CoreAIImageSegmenter
[1098 / 1416] ContainersPreview
[1104 / 1417] Tracing
[1113 / 1428] DequeModule
[1117 / 1428] Jinja
[1120 / 1428] DequeModule
[1124 / 1428] CoreAIImageSegmenter
[1129 / 1428] ArgumentParser
[1132 / 1428] ArgumentParser
[1144 / 1429]
[1146 / 1430] DequeModule
[1156 / 1433] DequeModule
[1159 / 1435] DequeModule
[1159 / 1435] AsyncAlgorithms
[1167 / 1458] CNIOAtomics
[1172 / 1471] Configuration
[1173 / 1471] image-segmenter-product
[1179 / 1471] NIOCore
[1180 / 1471] NIOCore
[1190 / 1471] AsyncAlgorithms
[1196 / 1471] NIOCore
[1198 / 1471] Configuration
[1200 / 1471] Configuration
[1202 / 1471] image-segmenter-product
[1203 / 1471] Configuration-product
[1204 / 1471] Configuration-product
[1207 / 1471] Configuration
[1208 / 1471] AsyncAlgorithms
[1210 / 1471] AsyncAlgorithms-product
[1212 / 1471] ServiceLifecycle
[1215 / 1472]
[1218 / 1472] ServiceLifecycle
[1222 / 1482] ServiceLifecycle
[1227 / 1482] ServiceLifecycle
[1238 / 1482] object-detector-product
[1240 / 1482] NIOCore
[1254 / 1486] ServiceLifecycle
[1260 / 1490] NIOHTTPTypes
[1267 / 1497] NIOHTTPTypes
[1292 / 1514] HuggingFace
[1301 / 1514] NIOPosix
[1303 / 1514] NIOPosix
[1305 / 1514] NIOEmbedded
[1308 / 1514] NIOPosix
[1312 / 1536]
[1318 / 1536]
[1325 / 1537] NIOPosix
[1325 / 1537] NIO
[1334 / 1539]
[1338 / 1542] NIOPosix
[1345 / 1542] HuggingFace
[1347 / 1560]
[1351 / 1565] NIOTLS
[1358 / 1565] NIOFoundationCompat
[1372 / 1565] NIOTLS
[1375 / 1565] NIOHTTP1
[1376 / 1565] NIOHTTP1
[1381 / 1565] NIOHTTP1-product
[1384 / 1565] NIOFoundationCompat
[1386 / 1565] NIOFoundationCompat-product
[1389 / 1565] NIOTransportServices
[1393 / 1567] NIOHTTPTypesHTTP1
[1393 / 1567] HuggingFace
[1402 / 1569]
[1408 / 1597] NIOExtras
[1409 / 1597]
[1412 / 1597] HuggingFace
[1421 / 1597] NIOTransportServices
[1431 / 1635] NIOHTTPTypesHTTP1
[1442 / 1635]
[1449 / 1635] NIOTransportServices
[1460 / 1635]
[1463 / 1635]
[1471 / 1635] NIOTransportServices
[1477 / 1635]
[1482 / 1635] NIOExtras
[1488 / 1636] NIOFoundationCompat
[1492 / 1636] NIOExtras
[1492 / 1636] HummingbirdCore
[1502 / 1647] NIOExtras
[1506 / 1647] HummingbirdCore
[1520 / 1648] Hub
[1522 / 1648] Hub
[1529 / 1649] Hummingbird
[1537 / 1660] Hummingbird
[1538 / 1660] Hummingbird
[1541 / 1671] Tokenizers
[1542 / 1671] Tokenizers
[1546 / 1671] Tokenizers
[1561 / 1671] Tokenizers
[1562 / 1671] Hummingbird-product
[1566 / 1672] Tokenizers
[1568 / 1672] Hummingbird
[1569 / 1683] Hummingbird
[1581 / 1683] Hummingbird
[1588 / 1684] Models
[1594 / 1688] Generation
[1600 / 1688] Models
[1604 / 1692] Models
[1606 / 1692] TestUtilities
[1618 / 1728]
[1622 / 1728] TestUtilities
[1646 / 1728] CoreAIDiffusionPipeline
[1648 / 1728] CoreAILanguageModels
[1654 / 1728] CoreAILanguageModels
[1655 / 1728] CoreAISpeech
[1657 / 1728] CoreAILanguageModels
[1661 / 1728] CoreAILanguageModels
[1666 / 1728] CoreAILanguageModels
[1667 / 1728] llm-benchmark-product
[1668 / 1728] llm-server-product
[1674 / 1729] CoreAIDiffusionPipeline
[1683 / 1731]
[1685 / 1733] CoreAISpeech
[1686 / 1734]
[1687 / 1734] CoreAIDiffusionPipeline
[1690 / 1734] CoreAIDiffusion-product
[1694 / 1738] speech-recognizer-product
[1695 / 1741] llm-runner-product
[1700 / 1751] llm-benchmark-product
[1701 / 1757] speech-recognizer-product
[1710 / 1757] llm-server-product
[1717 / 1757] llm-benchmark-product
[1721 / 1757] CoreAIVideoDiffusionPipeline
[1724 / 1757] videodiffusion-runner-product
[1726 / 1757] CoreAIVideoDiffusion-product
[1729 / 1758] CoreAIVideoDiffusionPipeline
[1729 / 1758] llm-benchmark-product
[1732 / 1758] speech-recognizer-product
[1733 / 1758] videodiffusion-runner-product
[1735 / 1760] CoreAIVideoDiffusionPipeline
[1739 / 1760] CoreAILanguageModels
[1744 / 1760] CoreAILM-product
[1744 / 1760] diffusion-runner-product
[1748 / 1760] llm-benchmark-product
[1751 / 1760] llm-server-product
[1752 / 1760] videodiffusion-runner-product
[1756 / 1760] llm-runner-product
[1758 / 1760] llm-runner-product
Build complete! (44.64 sec)
/Users/admin/builder/spi-builder-workspace/swift/Sources/CoreAIDiffusionPipeline/Schedulers/SchedulerMath.swift:17:13: [1;33mwarning: [1;39m'cblas_saxpy' was deprecated in macOS 13.3: An updated CBLAS interface supporting ILP64 is available. Please compile with -DACCELERATE_NEW_LAPACK to access the new headers and -DACCELERATE_LAPACK_ILP64 for ILP64 support.[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m15 |[0;0m let w = weights[i]
[0;36m16 |[0;0m values[i].withUnsafeBufferPointer { buf in
[0;36m17 |[0;0m cblas_saxpy(Int32(count), w, buf.baseAddress, 1, &result, 1)
[0;36m|[0;0m `- [1;33mwarning: [1;39m'cblas_saxpy' was deprecated in macOS 13.3: An updated CBLAS interface supporting ILP64 is available. Please compile with -DACCELERATE_NEW_LAPACK to access the new headers and -DACCELERATE_LAPACK_ILP64 for ILP64 support.[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m18 |[0;0m }
[0;36m19 |[0;0m }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
/Users/admin/builder/spi-builder-workspace/swift/Sources/CoreAISpeech/MelSpectrogram.swift:289:17: [1;33mwarning: [1;39m'cblas_sgemv' was deprecated in macOS 13.3: An updated CBLAS interface supporting ILP64 is available. Please compile with -DACCELERATE_NEW_LAPACK to access the new headers and -DACCELERATE_LAPACK_ILP64 for ILP64 support.[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m287 |[0;0m // No radix-2 FFT for this nFFT (e.g. Whisper's 400 = 2⁴·5²) — evaluate
[0;36m288 |[0;0m // the DFT as a dense matrix-vector product against the cos/sin tables.
[0;36m289 |[0;0m cblas_sgemv(
[0;36m|[0;0m `- [1;33mwarning: [1;39m'cblas_sgemv' was deprecated in macOS 13.3: An updated CBLAS interface supporting ILP64 is available. Please compile with -DACCELERATE_NEW_LAPACK to access the new headers and -DACCELERATE_LAPACK_ILP64 for ILP64 support.[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m290 |[0;0m CblasRowMajor, CblasNoTrans,
[0;36m291 |[0;0m Int32(nFreqs), Int32(config.nFFT), 1.0, cosBasis, Int32(config.nFFT),
/Users/admin/builder/spi-builder-workspace/swift/Sources/CoreAISpeech/MelSpectrogram.swift:293:17: [1;33mwarning: [1;39m'cblas_sgemv' was deprecated in macOS 13.3: An updated CBLAS interface supporting ILP64 is available. Please compile with -DACCELERATE_NEW_LAPACK to access the new headers and -DACCELERATE_LAPACK_ILP64 for ILP64 support.[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m291 |[0;0m Int32(nFreqs), Int32(config.nFFT), 1.0, cosBasis, Int32(config.nFFT),
[0;36m292 |[0;0m frame, 1, 0.0, &yReal, 1)
[0;36m293 |[0;0m cblas_sgemv(
[0;36m|[0;0m `- [1;33mwarning: [1;39m'cblas_sgemv' was deprecated in macOS 13.3: An updated CBLAS interface supporting ILP64 is available. Please compile with -DACCELERATE_NEW_LAPACK to access the new headers and -DACCELERATE_LAPACK_ILP64 for ILP64 support.[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m294 |[0;0m CblasRowMajor, CblasNoTrans,
[0;36m295 |[0;0m Int32(nFreqs), Int32(config.nFFT), 1.0, sinBasis, Int32(config.nFFT),
/Users/admin/builder/spi-builder-workspace/swift/Sources/CoreAISpeech/MelSpectrogram.swift:299:13: [1;33mwarning: [1;39m'cblas_sgemv' was deprecated in macOS 13.3: An updated CBLAS interface supporting ILP64 is available. Please compile with -DACCELERATE_NEW_LAPACK to access the new headers and -DACCELERATE_LAPACK_ILP64 for ILP64 support.[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m297 |[0;0m vDSP_vmma(yReal, 1, yReal, 1, yImag, 1, yImag, 1, &powerSpec, 1, vDSP_Length(nFreqs))
[0;36m298 |[0;0m }
[0;36m299 |[0;0m cblas_sgemv(
[0;36m|[0;0m `- [1;33mwarning: [1;39m'cblas_sgemv' was deprecated in macOS 13.3: An updated CBLAS interface supporting ILP64 is available. Please compile with -DACCELERATE_NEW_LAPACK to access the new headers and -DACCELERATE_LAPACK_ILP64 for ILP64 support.[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m300 |[0;0m CblasRowMajor, CblasNoTrans,
[0;36m301 |[0;0m Int32(config.nMelBins), Int32(nFreqs), 1.0, filterbank, Int32(nFreqs),
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
/Users/admin/builder/spi-builder-workspace/swift/Sources/CoreAILanguageModels/Handlers/InputHandler+Pipelined.swift:47:24: [1;33mwarning: [1;39mresult of call to 'withUnsafeBufferPointer' is unused[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
[0;36m45 |[0;0m .advanced(by: processedTokenCount)
[0;36m46 |[0;0m let tokenArray = Array(tokens)
[0;36m47 |[0;0m tokenArray.withUnsafeBufferPointer [4;39m{ src in[0;0m
[0;36m|[0;0m `- [1;33mwarning: [1;39mresult of call to 'withUnsafeBufferPointer' is unused[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
[0;36m48 |[0;0m memcpy(dst, src.baseAddress!, tokenArray.count * MemoryLayout<Int32>.size)
[0;36m49 |[0;0m }
[#NoUsage]: <https://docs.swift.org/compiler/documentation/diagnostics/no-usage>
/Users/admin/builder/spi-builder-workspace/swift/Sources/CoreAILanguageModels/Handlers/StateHandler+NDArray.swift:193:21: [1;33mwarning: [1;39mvariable 'dstView' was never mutated; consider changing to 'let' constant[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/variable-never-mutated\VariableNeverMutated]8;;\]
[0;36m191 |[0;0m case .float16, .bfloat16:
[0;36m192 |[0;0m source.view(as: Float16.self).withUnsafePointer { srcPtr, _, _ in
[0;36m193 |[0;0m var dstView = destination.mutableView(as: Float16.self)
[0;36m|[0;0m `- [1;33mwarning: [1;39mvariable 'dstView' was never mutated; consider changing to 'let' constant[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/variable-never-mutated\VariableNeverMutated]8;;\]
[0;36m194 |[0;0m dstView.withUnsafeMutablePointer { dstPtr, _, _ in
[0;36m195 |[0;0m for block in 0..<numBlocks {
/Users/admin/builder/spi-builder-workspace/swift/Sources/CoreAILanguageModels/Handlers/StateHandler+NDArray.swift:204:21: [1;33mwarning: [1;39mvariable 'dstView' was never mutated; consider changing to 'let' constant[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/variable-never-mutated\VariableNeverMutated]8;;\]
[0;36m202 |[0;0m case .float32:
[0;36m203 |[0;0m source.view(as: Float.self).withUnsafePointer { srcPtr, _, _ in
[0;36m204 |[0;0m var dstView = destination.mutableView(as: Float.self)
[0;36m|[0;0m `- [1;33mwarning: [1;39mvariable 'dstView' was never mutated; consider changing to 'let' constant[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/variable-never-mutated\VariableNeverMutated]8;;\]
[0;36m205 |[0;0m dstView.withUnsafeMutablePointer { dstPtr, _, _ in
[0;36m206 |[0;0m for block in 0..<numBlocks {
/Users/admin/builder/spi-builder-workspace/swift/Sources/CoreAILanguageModels/Handlers/StateHandler+NDArray.swift:227:14: [1;33mwarning: [1;39mresult of call to 'withUnsafeMutablePointer' is unused[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
[0;36m225 |[0;0m case .float16, .bfloat16:
[0;36m226 |[0;0m var view = array.mutableView(as: Float16.self)
[0;36m227 |[0;0m view.withUnsafeMutablePointer [4;39m{ ptr, _, _ in[0;0m
[0;36m|[0;0m `- [1;33mwarning: [1;39mresult of call to 'withUnsafeMutablePointer' is unused[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
[0;36m228 |[0;0m memset(ptr, 0, count * MemoryLayout<Float16>.size)
[0;36m229 |[0;0m }
/Users/admin/builder/spi-builder-workspace/swift/Sources/CoreAILanguageModels/Handlers/StateHandler+NDArray.swift:233:14: [1;33mwarning: [1;39mresult of call to 'withUnsafeMutablePointer' is unused[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
[0;36m231 |[0;0m case .float32:
[0;36m232 |[0;0m var view = array.mutableView(as: Float.self)
[0;36m233 |[0;0m view.withUnsafeMutablePointer [4;39m{ ptr, _, _ in[0;0m
[0;36m|[0;0m `- [1;33mwarning: [1;39mresult of call to 'withUnsafeMutablePointer' is unused[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
[0;36m234 |[0;0m memset(ptr, 0, count * MemoryLayout<Float>.size)
[0;36m235 |[0;0m }
/Users/admin/builder/spi-builder-workspace/swift/Sources/CoreAILanguageModels/Handlers/StateHandler+NDArray.swift:226:13: [1;33mwarning: [1;39mvariable 'view' was never mutated; consider changing to 'let' constant[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/variable-never-mutated\VariableNeverMutated]8;;\]
[0;36m224 |[0;0m #if !((os(macOS) || targetEnvironment(macCatalyst)) && arch(x86_64))
[0;36m225 |[0;0m case .float16, .bfloat16:
[0;36m226 |[0;0m var view = array.mutableView(as: Float16.self)
[0;36m|[0;0m `- [1;33mwarning: [1;39mvariable 'view' was never mutated; consider changing to 'let' constant[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/variable-never-mutated\VariableNeverMutated]8;;\]
[0;36m227 |[0;0m view.withUnsafeMutablePointer { ptr, _, _ in
[0;36m228 |[0;0m memset(ptr, 0, count * MemoryLayout<Float16>.size)
/Users/admin/builder/spi-builder-workspace/swift/Sources/CoreAILanguageModels/Handlers/StateHandler+NDArray.swift:232:13: [1;33mwarning: [1;39mvariable 'view' was never mutated; consider changing to 'let' constant[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/variable-never-mutated\VariableNeverMutated]8;;\]
[0;36m230 |[0;0m #endif
[0;36m231 |[0;0m case .float32:
[0;36m232 |[0;0m var view = array.mutableView(as: Float.self)
[0;36m|[0;0m `- [1;33mwarning: [1;39mvariable 'view' was never mutated; consider changing to 'let' constant[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/variable-never-mutated\VariableNeverMutated]8;;\]
[0;36m233 |[0;0m view.withUnsafeMutablePointer { ptr, _, _ in
[0;36m234 |[0;0m memset(ptr, 0, count * MemoryLayout<Float>.size)
/Users/admin/builder/spi-builder-workspace/swift/Sources/CoreAILanguageModels/Handlers/StateHandler+NDArray.swift:262:9: [1;33mwarning: [1;39mvariable 'view' was never mutated; consider changing to 'let' constant[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/variable-never-mutated\VariableNeverMutated]8;;\]
[0;36m260 |[0;0m @available(macOS 27, iOS 27, *)
[0;36m261 |[0;0m private func writeNDArrayBytes<T: BitwiseCopyable>(_ bytes: [UInt8], into array: inout NDArray, as type: T.Type) {
[0;36m262 |[0;0m var view = array.mutableView(as: type)
[0;36m|[0;0m `- [1;33mwarning: [1;39mvariable 'view' was never mutated; consider changing to 'let' constant[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/variable-never-mutated\VariableNeverMutated]8;;\]
[0;36m263 |[0;0m view.withUnsafeMutablePointer { ptr, shape, strides in
[0;36m264 |[0;0m let byteCount = storageExtent(shape: shape, strides: strides) * MemoryLayout<T>.stride
[#NoUsage]: <https://docs.swift.org/compiler/documentation/diagnostics/no-usage>
[#VariableNeverMutated]: <https://docs.swift.org/compiler/documentation/diagnostics/variable-never-mutated>
/Users/admin/builder/spi-builder-workspace/swift/Sources/CoreAILanguageModels/InferenceEngines/CoreAIPipelinedEngine.swift:1856:21: [1;33mwarning: [1;39mresult of call to 'ensureCapacity(forContextLength:queue:)' is unused[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
[0;36m1854 |[0;0m // Pre-grow KV cache
[0;36m1855 |[0;0m let totalNeeded = prompt.count + maxTokens
[0;36m1856 |[0;0m try kvCache.ensureCapacity(forContextLength: totalNeeded, queue: pipelineQueue)
[0;36m|[0;0m `- [1;33mwarning: [1;39mresult of call to 'ensureCapacity(forContextLength:queue:)' is unused[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
[0;36m1857 |[0;0m
[0;36m1858 |[0;0m // Prefill prompt (unconstrained -- grammar doesn't constrain the prompt)
/Users/admin/builder/spi-builder-workspace/swift/Sources/CoreAILanguageModels/InferenceEngines/CoreAISequentialVLMEngine.swift:445:17: [1;33mwarning: [1;39mvariable 'destView' was never mutated; consider changing to 'let' constant[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/variable-never-mutated\VariableNeverMutated]8;;\]
[0;36m443 |[0;0m #if !((os(macOS) || targetEnvironment(macCatalyst)) && arch(x86_64))
[0;36m444 |[0;0m case .float16, .bfloat16:
[0;36m445 |[0;0m var destView = concatenated.mutableView(as: Float16.self)
[0;36m|[0;0m `- [1;33mwarning: [1;39mvariable 'destView' was never mutated; consider changing to 'let' constant[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/variable-never-mutated\VariableNeverMutated]8;;\]
[0;36m446 |[0;0m destView.withUnsafeMutablePointer { destPtr, _, _ in
[0;36m447 |[0;0m for (i, embedding) in frameEmbeddings.enumerated() {
/Users/admin/builder/spi-builder-workspace/swift/Sources/CoreAILanguageModels/InferenceEngines/CoreAISequentialVLMEngine.swift:455:17: [1;33mwarning: [1;39mvariable 'destView' was never mutated; consider changing to 'let' constant[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/variable-never-mutated\VariableNeverMutated]8;;\]
[0;36m453 |[0;0m #endif
[0;36m454 |[0;0m case .float32:
[0;36m455 |[0;0m var destView = concatenated.mutableView(as: Float.self)
[0;36m|[0;0m `- [1;33mwarning: [1;39mvariable 'destView' was never mutated; consider changing to 'let' constant[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/variable-never-mutated\VariableNeverMutated]8;;\]
[0;36m456 |[0;0m destView.withUnsafeMutablePointer { destPtr, _, _ in
[0;36m457 |[0;0m for (i, embedding) in frameEmbeddings.enumerated() {
[#NoUsage]: <https://docs.swift.org/compiler/documentation/diagnostics/no-usage>
[#VariableNeverMutated]: <https://docs.swift.org/compiler/documentation/diagnostics/variable-never-mutated>
Build complete.
{
"cxx_language_standard" : "c++17",
"dependencies" : [
{
"identity" : "swift-argument-parser",
"requirement" : {
"range" : [
{
"lower_bound" : "1.2.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-argument-parser"
},
{
"identity" : "swift-transformers",
"requirement" : {
"range" : [
{
"lower_bound" : "1.1.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/huggingface/swift-transformers"
},
{
"identity" : "xgrammar",
"requirement" : {
"exact" : [
"0.2.2"
]
},
"type" : "sourceControl",
"url" : "https://github.com/mlc-ai/xgrammar"
},
{
"identity" : "hummingbird",
"requirement" : {
"exact" : [
"2.22.0"
]
},
"type" : "sourceControl",
"url" : "https://github.com/hummingbird-project/hummingbird"
}
],
"manifest_display_name" : "coreai-models",
"name" : "coreai-models",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "26.0"
},
{
"name" : "ios",
"version" : "26.0"
}
],
"products" : [
{
"name" : "CoreAILM",
"targets" : [
"CoreAILanguageModels"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "CoreAIDiffusion",
"targets" : [
"CoreAIDiffusionPipeline"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "CoreAIVideoDiffusion",
"targets" : [
"CoreAIVideoDiffusionPipeline"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "CoreAISegmentation",
"targets" : [
"CoreAIImageSegmenter"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "CoreAISpeech",
"targets" : [
"CoreAISpeech"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "CoreAIObjectDetection",
"targets" : [
"CoreAIObjectDetector"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "CoreAIShared",
"targets" : [
"CoreAIShared"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "videodiffusion-runner",
"targets" : [
"videodiffusion-runner"
],
"type" : {
"executable" : null
}
},
{
"name" : "speech-recognizer",
"targets" : [
"speech-recognizer"
],
"type" : {
"executable" : null
}
},
{
"name" : "object-detector",
"targets" : [
"object-detector"
],
"type" : {
"executable" : null
}
},
{
"name" : "llm-server",
"targets" : [
"llm-server"
],
"type" : {
"executable" : null
}
},
{
"name" : "llm-runner",
"targets" : [
"llm-runner"
],
"type" : {
"executable" : null
}
},
{
"name" : "llm-benchmark",
"targets" : [
"llm-benchmark"
],
"type" : {
"executable" : null
}
},
{
"name" : "image-segmenter",
"targets" : [
"image-segmenter"
],
"type" : {
"executable" : null
}
},
{
"name" : "diffusion-runner",
"targets" : [
"diffusion-runner"
],
"type" : {
"executable" : null
}
}
],
"swift_languages_versions" : [
"6"
],
"targets" : [
{
"c99name" : "videodiffusion_runner",
"module_type" : "SwiftTarget",
"name" : "videodiffusion-runner",
"path" : "swift/Sources/Tools/videodiffusion-runner",
"product_dependencies" : [
"ArgumentParser"
],
"product_memberships" : [
"videodiffusion-runner"
],
"sources" : [
"VideoRunnerMain.swift"
],
"target_dependencies" : [
"CoreAIVideoDiffusionPipeline",
"CoreAIShared"
],
"type" : "executable"
},
{
"c99name" : "speech_recognizer",
"module_type" : "SwiftTarget",
"name" : "speech-recognizer",
"path" : "swift/Sources/Tools/speech-recognizer",
"product_dependencies" : [
"ArgumentParser"
],
"product_memberships" : [
"speech-recognizer"
],
"sources" : [
"SpeechParity.swift",
"SpeechRecognizerMain.swift",
"StreamingRun.swift"
],
"target_dependencies" : [
"CoreAISpeech",
"CoreAIShared"
],
"type" : "executable"
},
{
"c99name" : "object_detector",
"module_type" : "SwiftTarget",
"name" : "object-detector",
"path" : "swift/Sources/Tools/object-detector",
"product_dependencies" : [
"ArgumentParser"
],
"product_memberships" : [
"object-detector"
],
"sources" : [
"ObjectDetectionMain.swift"
],
"target_dependencies" : [
"CoreAIObjectDetector",
"CoreAIShared"
],
"type" : "executable"
},
{
"c99name" : "llm_server",
"module_type" : "SwiftTarget",
"name" : "llm-server",
"path" : "swift/Sources/Tools/llm-server",
"product_dependencies" : [
"ArgumentParser",
"Hummingbird"
],
"product_memberships" : [
"llm-server"
],
"sources" : [
"ArgumentParserExtensions.swift",
"ChatHandler.swift",
"CompletionHandler.swift",
"LLMServerMain.swift",
"ServerState.swift"
],
"target_dependencies" : [
"CoreAILanguageModels",
"CoreAILMCommon",
"CoreAIShared"
],
"type" : "executable"
},
{
"c99name" : "llm_runner",
"module_type" : "SwiftTarget",
"name" : "llm-runner",
"path" : "swift/Sources/Tools/llm-runner",
"product_dependencies" : [
"ArgumentParser"
],
"product_memberships" : [
"llm-runner"
],
"sources" : [
"ArgumentParserExtensions.swift",
"LLMRunnerMain.swift"
],
"target_dependencies" : [
"CoreAILanguageModels",
"CoreAIShared"
],
"type" : "executable"
},
{
"c99name" : "llm_benchmark",
"module_type" : "SwiftTarget",
"name" : "llm-benchmark",
"path" : "swift/Sources/Tools/benchmark",
"product_dependencies" : [
"ArgumentParser"
],
"product_memberships" : [
"llm-benchmark"
],
"sources" : [
"BenchmarkMain.swift"
],
"target_dependencies" : [
"CoreAILanguageModels"
],
"type" : "executable"
},
{
"c99name" : "image_segmenter",
"module_type" : "SwiftTarget",
"name" : "image-segmenter",
"path" : "swift/Sources/Tools/image-segmenter",
"product_dependencies" : [
"ArgumentParser"
],
"product_memberships" : [
"image-segmenter"
],
"sources" : [
"ImageSegmentationRunnerMain.swift"
],
"target_dependencies" : [
"CoreAIImageSegmenter",
"CoreAIShared"
],
"type" : "executable"
},
{
"c99name" : "diffusion_runner",
"module_type" : "SwiftTarget",
"name" : "diffusion-runner",
"path" : "swift/Sources/Tools/diffusion-runner",
"product_dependencies" : [
"ArgumentParser"
],
"product_memberships" : [
"diffusion-runner"
],
"sources" : [
"DiffusionRunnerMain.swift"
],
"target_dependencies" : [
"CoreAIDiffusionPipeline",
"CoreAIShared"
],
"type" : "executable"
},
{
"c99name" : "TestUtilities",
"module_type" : "SwiftTarget",
"name" : "TestUtilities",
"path" : "swift/Tests/TestUtilities",
"product_dependencies" : [
"Transformers"
],
"sources" : [
"Utilities.swift"
],
"type" : "library"
},
{
"c99name" : "SpeechTests",
"module_type" : "SwiftTarget",
"name" : "SpeechTests",
"path" : "swift/Tests/SpeechTests",
"sources" : [
"AudioLoadingTests.swift",
"GenerationConfigTests.swift",
"HuggingFaceCacheTests.swift",
"MelBasisTests.swift",
"MelFramingTests.swift",
"MelGoldenValueTests.swift",
"MelNormalizationTests.swift",
"ParakeetDecoderTests.swift",
"SpeechConfigTests.swift",
"StreamingWindowTests.swift",
"TestUtilities.swift"
],
"target_dependencies" : [
"CoreAISpeech",
"TestUtilities"
],
"type" : "test"
},
{
"c99name" : "ObjectDetectorTests",
"module_type" : "SwiftTarget",
"name" : "ObjectDetectorTests",
"path" : "swift/Tests/ObjectDetectorTests",
"sources" : [
"ObjectDetectorTests.swift"
],
"target_dependencies" : [
"CoreAIObjectDetector"
],
"type" : "test"
},
{
"c99name" : "LanguageModelsTests",
"module_type" : "SwiftTarget",
"name" : "LanguageModelsTests",
"path" : "swift/Tests/LanguageModelsTests",
"product_dependencies" : [
"Transformers"
],
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/swift/Tests/LanguageModelsTests/Resources/MinimalTokenizer",
"rule" : {
"copy" : {
}
}
}
],
"sources" : [
"AdditionalStopTokensTests.swift",
"CancelAPITests.swift",
"ChunkedPrefillPlanTests.swift",
"CompositeSamplerTests.swift",
"ContinuationEvaluationTests.swift",
"CoreAIPipelinedTests.swift",
"EngineOptionsTests.swift",
"GenerationStopReasonTests.swift",
"GraphSelectionTests.swift",
"InputHandlerTests.swift",
"KVCacheStrategyTests.swift",
"KVCacheTests.swift",
"LanguageBundleTests.swift",
"LogProbabilitiesTests.swift",
"LogitsWriterTests.swift",
"MPSGraphSamplerTests.swift",
"MinimalTokenizerTests.swift",
"ModelConfigHandlerTests.swift",
"ModelPathsTests.swift",
"ModelResourcesTests.swift",
"PerformanceMetricsTests.swift",
"PipelineGateTests.swift",
"PipelinedConstrainedIntegrationTests.swift",
"ProfileSpanTests.swift",
"PromptProcessingTests.swift",
"PublicInterfaceTests.swift",
"RepetitionPenaltyProcessorTests.swift",
"SamplingConfigurationTests.swift",
"StateHandlerTests.swift",
"StopSequencesTests.swift",
"StreamingMarkerMatcherTests.swift",
"TestUtilities.swift",
"ThinkTagParserTests.swift",
"TimingTests.swift",
"TokenizerIntegrationTests.swift",
"UnifiedGenerationAPITests.swift",
"VLMProtocolTests.swift"
],
"target_dependencies" : [
"CoreAILanguageModels",
"CoreAIShared",
"TestUtilities"
],
"type" : "test"
},
{
"c99name" : "ImageSegmenterTests",
"module_type" : "SwiftTarget",
"name" : "ImageSegmenterTests",
"path" : "swift/Tests/ImageSegmenterTests",
"sources" : [
"ImageSegmentationEngineTests.swift",
"ImageSegmentationTests.swift"
],
"target_dependencies" : [
"CoreAIImageSegmenter",
"TestUtilities"
],
"type" : "test"
},
{
"c99name" : "GuidedGenerationTests",
"module_type" : "SwiftTarget",
"name" : "GuidedGenerationTests",
"path" : "swift/Tests/GuidedGenerationTests",
"product_dependencies" : [
"Transformers"
],
"sources" : [
"ConstrainedGenerationSessionTests.swift",
"GenerationLoopTests.swift",
"TestUtilities.swift"
],
"target_dependencies" : [
"CoreAILanguageModels"
],
"type" : "test"
},
{
"c99name" : "DiffusionPipelineTests",
"module_type" : "SwiftTarget",
"name" : "DiffusionPipelineTests",
"path" : "swift/Tests/DiffusionPipelineTests",
"sources" : [
"ComponentTests.swift",
"DiffusionPipelineTests.swift",
"MultiOutputModelFunctionTests.swift",
"PipelineDescriptorTests.swift",
"SD3ParityDataTests.swift",
"SchedulerTests.swift",
"TiledDecode3DTests.swift"
],
"target_dependencies" : [
"CoreAIDiffusionPipeline",
"CoreAIVideoDiffusionPipeline",
"TestUtilities"
],
"type" : "test"
},
{
"c99name" : "CoreAIVideoDiffusionPipeline",
"module_type" : "SwiftTarget",
"name" : "CoreAIVideoDiffusionPipeline",
"path" : "swift/Sources/CoreAIVideoDiffusionPipeline",
"product_dependencies" : [
"Transformers"
],
"product_memberships" : [
"CoreAIVideoDiffusion",
"videodiffusion-runner"
],
"sources" : [
"Output/VideoWriter.swift",
"Pipelines/TiledDecode3D.swift",
"Pipelines/VideoConfiguration.swift",
"Pipelines/VideoPipeline.swift",
"Pipelines/WanPipeline.swift"
],
"target_dependencies" : [
"CoreAIDiffusionPipeline",
"CoreAIShared"
],
"type" : "library"
},
{
"c99name" : "CoreAISpeech",
"module_type" : "SwiftTarget",
"name" : "CoreAISpeech",
"path" : "swift/Sources/CoreAISpeech",
"product_dependencies" : [
"Transformers"
],
"product_memberships" : [
"CoreAISpeech",
"speech-recognizer"
],
"sources" : [
"MelSpectrogram.swift",
"ParakeetTDTDecoder.swift",
"SpeechDecoder.swift",
"SpeechRecognitionBundle.swift",
"SpeechRecognitionModel.swift",
"StreamingSession.swift",
"StreamingWindow.swift"
],
"target_dependencies" : [
"CoreAIShared"
],
"type" : "library"
},
{
"c99name" : "CoreAISharedTests",
"module_type" : "SwiftTarget",
"name" : "CoreAISharedTests",
"path" : "swift/Tests/CoreAISharedTests",
"sources" : [
"CGImageUtilsTests.swift",
"FileSizeTests.swift",
"ImagePreprocessorTests.swift",
"ModelBundleTests.swift",
"NDArrayHelpersTests.swift",
"Video/VideoInputTests.swift"
],
"target_dependencies" : [
"CoreAIShared",
"TestUtilities"
],
"type" : "test"
},
{
"c99name" : "CoreAIShared",
"module_type" : "SwiftTarget",
"name" : "CoreAIShared",
"path" : "swift/Sources/CoreAIShared",
"product_memberships" : [
"CoreAILM",
"CoreAIDiffusion",
"CoreAIVideoDiffusion",
"CoreAISegmentation",
"CoreAISpeech",
"CoreAIObjectDetection",
"CoreAIShared",
"videodiffusion-runner",
"speech-recognizer",
"object-detector",
"llm-server",
"llm-runner",
"llm-benchmark",
"image-segmenter",
"diffusion-runner"
],
"sources" : [
"Bundle/BundleKind.swift",
"Bundle/FunctionMap.swift",
"Bundle/ModelBundle.swift",
"Image/CGImageUtils.swift",
"Image/ImagePreprocessor.swift",
"Logger/Logger.swift",
"Runtime/Duration+Time.swift",
"Runtime/FileSize.swift",
"Runtime/ModelIONameResolver.swift",
"Runtime/ModelStructure.swift",
"Runtime/NDArray+Helpers.swift",
"Runtime/ResourceManaging.swift",
"Video/FrameSamplingStrategy.swift",
"Video/VideoFrameExtractor.swift",
"Video/VideoInput.swift"
],
"type" : "library"
},
{
"c99name" : "CoreAIObjectDetector",
"module_type" : "SwiftTarget",
"name" : "CoreAIObjectDetector",
"path" : "swift/Sources/CoreAIObjectDetector",
"product_memberships" : [
"CoreAIObjectDetection",
"object-detector"
],
"sources" : [
"DetectionOutputs.swift",
"DetectionPostprocessor.swift",
"ObjectDetector.swift"
],
"target_dependencies" : [
"CoreAIShared"
],
"type" : "library"
},
{
"c99name" : "CoreAILanguageModels",
"module_type" : "SwiftTarget",
"name" : "CoreAILanguageModels",
"path" : "swift/Sources/CoreAILanguageModels",
"product_dependencies" : [
"Transformers"
],
"product_memberships" : [
"CoreAILM",
"llm-server",
"llm-runner",
"llm-benchmark"
],
"sources" : [
"Assets/ModelPaths.swift",
"Bundle/LanguageBundle.swift",
"Bundle/LanguageConfig.swift",
"Bundle/ModelBundle+Language.swift",
"DecodingStrategies/ConstrainedDecodingStrategy.swift",
"DecodingStrategies/ConstrainedGenerator.swift",
"DecodingStrategies/ContinuationEvaluation.swift",
"DecodingStrategies/DecodingStrategy.swift",
"DecodingStrategies/PipelinedConstrainedDecodingStrategy.swift",
"DecodingStrategies/VanillaDecodingStrategy.swift",
"GuidedGeneration/ConstrainedGenerationSession.swift",
"GuidedGeneration/ConstrainedSessionHandle.swift",
"GuidedGeneration/TokenizerInfo.swift",
"GuidedGeneration/XGrammarWrapper.swift",
"Handlers/InputHandler+Pipelined.swift",
"Handlers/InputHandler+Token.swift",
"Handlers/InputHandler.swift",
"Handlers/StateHandler+Encode.swift",
"Handlers/StateHandler+MTLBuffer.swift",
"Handlers/StateHandler+NDArray.swift",
"Handlers/StateHandler+Run.swift",
"Handlers/StateHandler.swift",
"Handlers/StateHandlerFactory.swift",
"InferenceEngines/ConstrainedGenerationCapable.swift",
"InferenceEngines/CoreAIPipelinedEngine.swift",
"InferenceEngines/CoreAISequentialEngine.swift",
"InferenceEngines/CoreAISequentialVLMEngine.swift",
"InferenceEngines/CoreAIStaticShapeEngine.swift",
"InferenceEngines/EngineFactory.swift",
"InferenceEngines/GenerationToken.swift",
"InferenceEngines/InferenceEngine.swift",
"InferenceEngines/InferenceOutputSequence.swift",
"InferenceEngines/InferenceTokenSequence.swift",
"InferenceEngines/InputEmbeddings.swift",
"InferenceEngines/KVCache+CoreAI.swift",
"InferenceEngines/KVCacheShared.swift",
"InferenceEngines/ModelConfig.swift",
"InferenceEngines/TensorStorage+CoreAI.swift",
"InferenceEngines/TokenHistory.swift",
"LanguageModel/CoreAILanguageModel.swift",
"LanguageModel/CoreAIRunner.swift",
"LanguageModel/ModelResources.swift",
"LanguageModel/ThinkTagParser.swift",
"Output/LogitsWriter.swift",
"Profiling/InstrumentsProfiler.swift",
"Profiling/PerformanceMetrics.swift",
"Samplers/CompositeSampler.swift",
"Samplers/MPSGraphSamplers.swift",
"Samplers/RepetitionPenaltyGPUState.swift",
"Samplers/RepetitionPenaltyProcessor.swift",
"Samplers/SamplingConfiguration.swift",
"Session/TokenizerLoader.swift",
"StreamingMarkerMatcher.swift",
"TextGeneration/LogProbabilities.swift",
"TextGeneration/PromptProcessing.swift",
"TextGeneration/TextGenerator.swift",
"ToolCallParser.swift",
"VLM/CoreAIVisionLanguageModel.swift"
],
"target_dependencies" : [
"CoreAIShared",
"CXGrammar"
],
"type" : "library"
},
{
"c99name" : "CoreAILMCommonTests",
"module_type" : "SwiftTarget",
"name" : "CoreAILMCommonTests",
"path" : "swift/Tests/CoreAILMCommonTests",
"sources" : [
"CompletionTypesTests.swift",
"ServerAPITypesTests.swift",
"ToolCallingTypesTests.swift"
],
"target_dependencies" : [
"CoreAILMCommon"
],
"type" : "test"
},
{
"c99name" : "CoreAILMCommon",
"module_type" : "SwiftTarget",
"name" : "CoreAILMCommon",
"path" : "swift/Sources/CoreAILMCommon",
"product_memberships" : [
"llm-server"
],
"sources" : [
"CompletionTypes.swift",
"ServerAPITypes.swift"
],
"type" : "library"
},
{
"c99name" : "CoreAIImageSegmenter",
"module_type" : "SwiftTarget",
"name" : "CoreAIImageSegmenter",
"path" : "swift/Sources/CoreAIImageSegmenter",
"product_memberships" : [
"CoreAISegmentation",
"image-segmenter"
],
"sources" : [
"ImageSegmentationEngine.swift",
"ImageSegmenter.swift",
"PointQuery.swift",
"Postprocessing/SegmentationOutputs.swift",
"Postprocessing/SegmentationPostprocessor.swift",
"Postprocessing/SegmentationVisualization.swift",
"Preprocessing/CLIPTokenizer.swift",
"SegmentationRuntimeError.swift",
"TextQuery.swift"
],
"target_dependencies" : [
"CoreAIShared"
],
"type" : "library"
},
{
"c99name" : "CoreAIDiffusionPipeline",
"module_type" : "SwiftTarget",
"name" : "CoreAIDiffusionPipeline",
"path" : "swift/Sources/CoreAIDiffusionPipeline",
"product_dependencies" : [
"Transformers"
],
"product_memberships" : [
"CoreAIDiffusion",
"CoreAIVideoDiffusion",
"videodiffusion-runner",
"diffusion-runner"
],
"sources" : [
"Components/Components.swift",
"Components/CoreAIComponentError.swift",
"Components/CoreAIDenoiser.swift",
"Components/CoreAIDiffusionModelFunction.swift",
"Components/CoreAILatentCodec.swift",
"Components/CoreAITextEncoder.swift",
"DiffusionUtilities.swift",
"Pipelines/Flux2Pipeline+Resources.swift",
"Pipelines/Flux2Pipeline.swift",
"Pipelines/Pipeline.swift",
"Pipelines/PipelineConfiguration.swift",
"Pipelines/PipelineDescriptor+CoreAI.swift",
"Pipelines/PipelineDescriptor.swift",
"Pipelines/SD3Pipeline+Resources.swift",
"Pipelines/SD3Pipeline.swift",
"Pipelines/StableDiffusionPipeline.swift",
"RNG/NoiseGeneration.swift",
"RNG/NumPyRandomSource.swift",
"RNG/NvRandomSource.swift",
"RNG/RandomSource.swift",
"RNG/TorchRandomSource.swift",
"Schedulers/DPMSolverMultistepScheduler.swift",
"Schedulers/DiscreteFlowScheduler.swift",
"Schedulers/PNDMScheduler.swift",
"Schedulers/Scheduler.swift",
"Schedulers/SchedulerMath.swift",
"Tokenizers/BPETokenizer+Reading.swift",
"Tokenizers/BPETokenizer.swift"
],
"target_dependencies" : [
"CoreAIShared"
],
"type" : "library"
},
{
"c99name" : "CXGrammar",
"module_type" : "ClangTarget",
"name" : "CXGrammar",
"path" : "swift/Sources/lib/CXGrammar",
"product_dependencies" : [
"XGrammar"
],
"product_memberships" : [
"CoreAILM",
"llm-server",
"llm-runner",
"llm-benchmark"
],
"sources" : [
"xgrammar_c_bridge.cpp"
],
"type" : "library"
}
],
"tools_version" : "6.0"
}
Done.