Build Information
Successful build of XGrammar, reference main (e0f2de), with Swift 6.4 for Linux on 24 Sep 2026 21:21:28 UTC.
Swift 6 data race errors: 0
Build Command
bash -c docker run --pull=always --rm -v "checkouts-53886770-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest swift build --triple x86_64-unknown-linux-gnu 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/mattt/swift-xgrammar.git
Reference: main
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/mattt/swift-xgrammar
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at e0f2de3 Add CI workflow (#1)
Cloned https://github.com/mattt/swift-xgrammar.git
Revision (git rev-parse @):
e0f2de361aa4891dbca5113629bc90ab8e5c3888
SUCCESS checkout https://github.com/mattt/swift-xgrammar.git at main
========================================
Build
========================================
Selected platform: linux
Swift version: 6.4
Building package at path: $PWD
https://github.com/mattt/swift-xgrammar.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886770-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:c77fcce225e223ac0fafed844619173fc6de8d62dd560eeb28db3182af6a282b
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest
Building for debugging...
[Planning deferred tasks]
[29 / 48] Cxgrammar
[31 / 48] Cxgrammar
[32 / 48] Cxgrammar
[34 / 48] Cxgrammar
[35 / 48] Cxgrammar
[36 / 48] Cxgrammar
[37 / 48] Cxgrammar
[38 / 48] Cxgrammar
[39 / 48]
[42 / 58] XGrammar
[44 / 58] XGrammar
[45 / 58] XGrammar
[46 / 58] XGrammar
[47 / 58] XGrammar
[48 / 58] XGrammar
[50 / 58] XGrammar
[54 / 58] XGrammar
[55 / 58] XGrammar-product
[55 / 58] XGrammar
[58 / 59]
Build complete! (9.71 secs)
Build complete.
{
"cxx_language_standard" : "c++17",
"dependencies" : [
],
"manifest_display_name" : "XGrammar",
"name" : "XGrammar",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "13.0"
},
{
"name" : "ios",
"version" : "16.0"
},
{
"name" : "tvos",
"version" : "16.0"
},
{
"name" : "watchos",
"version" : "9.0"
},
{
"name" : "visionos",
"version" : "1.0"
}
],
"products" : [
{
"name" : "XGrammar",
"targets" : [
"XGrammar"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "XGrammarTests",
"module_type" : "SwiftTarget",
"name" : "XGrammarTests",
"path" : "Tests/XGrammarTests",
"sources" : [
"CompilerTests.swift",
"ConfigurationTests.swift",
"ErrorTests.swift",
"GrammarCompositionTests.swift",
"GrammarTests.swift",
"Helpers.swift",
"JSONSchemaTests.swift",
"MatcherTests.swift",
"RegexGrammarTests.swift",
"StructuralTagTests.swift",
"TokenBitmaskTests.swift",
"TokenizerInfoTests.swift"
],
"target_dependencies" : [
"XGrammar"
],
"type" : "test"
},
{
"c99name" : "XGrammar",
"module_type" : "SwiftTarget",
"name" : "XGrammar",
"path" : "Sources/XGrammar",
"product_memberships" : [
"XGrammar"
],
"sources" : [
"Bridging.swift",
"Compiler.swift",
"Configuration.swift",
"Errors.swift",
"Formatting.swift",
"Grammar.swift",
"Matcher.swift",
"TokenizerInfo.swift"
],
"target_dependencies" : [
"Cxgrammar"
],
"type" : "library"
},
{
"c99name" : "Cxgrammar",
"module_type" : "ClangTarget",
"name" : "Cxgrammar",
"path" : "Sources/Cxgrammar",
"product_memberships" : [
"XGrammar"
],
"sources" : [
"bridging.cc",
"cpp/compiled_grammar.cc",
"cpp/config.cc",
"cpp/earley_parser.cc",
"cpp/fsm.cc",
"cpp/fsm_builder.cc",
"cpp/grammar.cc",
"cpp/grammar_compiler.cc",
"cpp/grammar_functor.cc",
"cpp/grammar_matcher.cc",
"cpp/grammar_parser.cc",
"cpp/grammar_printer.cc",
"cpp/json_schema_converter.cc",
"cpp/regex_converter.cc",
"cpp/structural_tag.cc",
"cpp/support/logging.cc",
"cpp/support/recursion_guard.cc",
"cpp/testing.cc",
"cpp/tokenizer_info.cc"
],
"type" : "library"
}
],
"tools_version" : "6.0"
}
basic-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:c77fcce225e223ac0fafed844619173fc6de8d62dd560eeb28db3182af6a282b
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest
Done.