Build Information
Successful build of SwiftTiktoken, reference 0.0.1 (e088d5), with Swift 6.4 for macOS (SPM) on 24 Sep 2026 00:39:20 UTC.
Swift 6 data race errors: 0
Build Command
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/DePasqualeOrg/swift-tiktoken.git
Reference: 0.0.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/DePasqualeOrg/swift-tiktoken
* tag 0.0.1 -> FETCH_HEAD
HEAD is now at e088d53 Initial commit
Cloned https://github.com/DePasqualeOrg/swift-tiktoken.git
Revision (git rev-parse @):
e088d534d80dd1875ca3edfd69a16a6c25ab84c4
SUCCESS checkout https://github.com/DePasqualeOrg/swift-tiktoken.git at 0.0.1
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.4
Building package at path: $PWD
https://github.com/DePasqualeOrg/swift-tiktoken.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64
Building for debugging...
[Pre-planning 1 / 95]
[Planning deferred tasks]
[24 / 40]
[25 / 41] SwiftTiktoken
[35 / 83]
[40 / 83]
[44 / 83]
[45 / 83]
[49 / 83]
[51 / 83]
[54 / 83]
[58 / 83]
[60 / 83]
[61 / 83]
[67 / 83] SwiftTiktoken
[76 / 84] Benchmark-product
[79 / 86] SwiftTiktoken
[80 / 86] SwiftTiktoken
[84 / 86] Benchmark-product
Build complete! (8.04 sec)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTiktoken/BytePairEncoding.swift:56:7: [1;33mwarning: [1;39mvariable 'partStart' was never mutated; consider changing to 'let' constant[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/variable-never-mutated\VariableNeverMutated]8;;\]
[0;36m54 |[0;0m // - partPrev: index of the previous active part (-1 = start of list)
[0;36m55 |[0;0m let n = piece.count
[0;36m56 |[0;0m var partStart = ContiguousArray<Int>(unsafeUninitializedCapacity: n + 1) { buffer, count in
[0;36m|[0;0m `- [1;33mwarning: [1;39mvariable 'partStart' was never mutated; consider changing to 'let' constant[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/variable-never-mutated\VariableNeverMutated]8;;\]
[0;36m57 |[0;0m for i in 0 ... n {
[0;36m58 |[0;0m buffer[i] = i
[#VariableNeverMutated]: <https://docs.swift.org/compiler/documentation/diagnostics/variable-never-mutated>
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "SwiftTiktoken",
"name" : "SwiftTiktoken",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "14.0"
},
{
"name" : "ios",
"version" : "17.0"
}
],
"products" : [
{
"name" : "SwiftTiktoken",
"targets" : [
"SwiftTiktoken"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "Benchmark",
"targets" : [
"Benchmark"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "SwiftTiktokenTests",
"module_type" : "SwiftTarget",
"name" : "SwiftTiktokenTests",
"path" : "Tests/SwiftTiktokenTests",
"sources" : [
"SwiftTiktokenTests.swift"
],
"target_dependencies" : [
"SwiftTiktoken"
],
"type" : "test"
},
{
"c99name" : "SwiftTiktoken",
"module_type" : "SwiftTarget",
"name" : "SwiftTiktoken",
"path" : "Sources/SwiftTiktoken",
"product_memberships" : [
"SwiftTiktoken",
"Benchmark"
],
"sources" : [
"BytePairEncoding.swift",
"CoreBPE.swift",
"EncodingLoader.swift",
"TiktokenError.swift"
],
"type" : "library"
},
{
"c99name" : "Benchmark",
"module_type" : "SwiftTarget",
"name" : "Benchmark",
"path" : "Sources/Benchmark",
"product_memberships" : [
"Benchmark"
],
"sources" : [
"main.swift"
],
"target_dependencies" : [
"SwiftTiktoken"
],
"type" : "executable"
}
],
"tools_version" : "6.2"
}
Done.