Build Information
Failed to build swift-structured-grammar, reference 0.1.0 (c4b9df), with Swift 6.1 for Linux on 6 Apr 2026 08:15:02 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.69.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/mhayes853/swift-structured-grammar.git
Reference: 0.1.0
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/mhayes853/swift-structured-grammar
* tag 0.1.0 -> FETCH_HEAD
HEAD is now at c4b9dfa Cleanup
Cloned https://github.com/mhayes853/swift-structured-grammar.git
Revision (git rev-parse @):
c4b9dfa6302a4e3ab88a603aa3e13fae5f9764f5
SUCCESS checkout https://github.com/mhayes853/swift-structured-grammar.git at 0.1.0
========================================
Build
========================================
Selected platform: linux
Swift version: 6.1
Building package at path: $PWD
https://github.com/mhayes853/swift-structured-grammar.git
https://github.com/mhayes853/swift-structured-grammar.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "swift-custom-dump",
"requirement" : {
"range" : [
{
"lower_bound" : "1.3.3",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/pointfreeco/swift-custom-dump"
},
{
"identity" : "swift-snapshot-testing",
"requirement" : {
"range" : [
{
"lower_bound" : "1.18.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/pointfreeco/swift-snapshot-testing"
},
{
"identity" : "xctest-dynamic-overlay",
"requirement" : {
"range" : [
{
"lower_bound" : "1.7.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/pointfreeco/xctest-dynamic-overlay"
},
{
"identity" : "swift-docc-plugin",
"requirement" : {
"range" : [
{
"lower_bound" : "1.4.3",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/swiftlang/swift-docc-plugin"
},
{
"identity" : "swift-xgrammar",
"requirement" : {
"range" : [
{
"lower_bound" : "0.1.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/mattt/swift-xgrammar"
}
],
"manifest_display_name" : "swift-structured-grammar",
"name" : "swift-structured-grammar",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "tvos",
"version" : "13.0"
},
{
"name" : "watchos",
"version" : "6.0"
},
{
"name" : "maccatalyst",
"version" : "13.0"
}
],
"products" : [
{
"name" : "StructuredCFG",
"targets" : [
"StructuredCFG"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"swift_languages_versions" : [
"6"
],
"targets" : [
{
"c99name" : "StructuredCFGTests",
"module_type" : "SwiftTarget",
"name" : "StructuredCFGTests",
"path" : "Tests/StructuredCFGTests",
"product_dependencies" : [
"XGrammar",
"CustomDump",
"IssueReporting",
"IssueReportingTestSupport",
"SnapshotTesting"
],
"sources" : [
"Examples/JSON.swift",
"Expressions/CharacterGroupTests.swift",
"Expressions/ChoiceBuilderTests.swift",
"Expressions/ChoiceOfTests.swift",
"Expressions/ConcatenateExpressionsTests.swift",
"Expressions/EpsilonTests.swift",
"Expressions/ExpressionBuilderTests.swift",
"Expressions/ExpressionCustomCaseTests.swift",
"Expressions/GroupTests.swift",
"Expressions/InlineCommentTests.swift",
"Expressions/OneOrMoreExpressionTests.swift",
"Expressions/OptionTests.swift",
"Expressions/RefTests.swift",
"Expressions/RepeatExpressionTests.swift",
"Expressions/SpecialExpressionTests.swift",
"Expressions/TerminalTests.swift",
"Expressions/ZeroOrMoreExpressionTests.swift",
"Formatters/BNFFormatterTests.swift",
"Formatters/BNFSnapshotTests.swift",
"Formatters/CommentFormattingTests.swift",
"Formatters/GBNFCompilationSnapshotTests.swift",
"Formatters/GBNFFormatterTests.swift",
"Formatters/GBNFSnapshotTests.swift",
"Formatters/ISOIECEBNFFormatterTests.swift",
"Formatters/ISOSnapshotTests.swift",
"Formatters/W3CEBNFFormatterTests.swift",
"Formatters/W3CEBNFSnapshotTests.swift",
"FoundationImportTests.swift",
"Grammar/GrammarBuilderTests.swift",
"Grammar/StatementsBuilderTests.swift",
"GrammarTests.swift",
"GrammarValidationTests.swift",
"Internal/Lock.swift",
"Internal/RepresentativeSnapshotLanguages.swift",
"Internal/Snapshotting+Strategies.swift",
"Internal/XGrammar+Helpers.swift",
"Language/ConcatenateLanguagesTests.swift",
"Language/GrammarNameResolverTests.swift",
"Language/JSONTests.swift",
"Language/KleeneStarTests.swift",
"Language/LanguageBuilderTests.swift",
"Language/LanguageTests.swift",
"Language/RepresentativeLanguageBehaviorTests.swift",
"Language/ReverseTests.swift",
"Language/UnionTests.swift",
"SymbolTests.swift"
],
"target_dependencies" : [
"StructuredCFG"
],
"type" : "test"
},
{
"c99name" : "StructuredCFG",
"module_type" : "SwiftTarget",
"name" : "StructuredCFG",
"path" : "Sources/StructuredCFG",
"product_dependencies" : [
"IssueReporting"
],
"product_memberships" : [
"StructuredCFG"
],
"sources" : [
"Comment.swift",
"Expression.swift",
"Expressions/CharacterGroup.swift",
"Expressions/ChoiceBuilder.swift",
"Expressions/ChoiceOf.swift",
"Expressions/ConcatenateExpressions.swift",
"Expressions/Epsilon.swift",
"Expressions/ExpressionBuilder.swift",
"Expressions/Group.swift",
"Expressions/InlineComment.swift",
"Expressions/OneOrMoreExpression.swift",
"Expressions/Option.swift",
"Expressions/Ref.swift",
"Expressions/RepeatExpression.swift",
"Expressions/Special.swift",
"Expressions/SwiftOptional+Expression.swift",
"Expressions/Terminal.swift",
"Expressions/ZeroOrMoreExpression.swift",
"Formatters/BNFFormatter.swift",
"Formatters/Formatter.swift",
"Formatters/GBNFFormatter.swift",
"Formatters/ISOIECEBNFFormatter.swift",
"Formatters/Internal/CharacterGroup+Formatted.swift",
"Formatters/Internal/CommentFormatting.swift",
"Formatters/Internal/Expression+Formatted.swift",
"Formatters/Internal/Terminal+CharacterFormatting.swift",
"Formatters/Internal/Terminal+Formatted.swift",
"Formatters/UnsupportedErrors.swift",
"Formatters/W3CEBNFFormatter.swift",
"Grammar.swift",
"Grammar/GrammarComponent.swift",
"Grammar/Optional+GrammarComponent.swift",
"Grammar/StatementsBuilder.swift",
"Internal/Equals.swift",
"Internal/Expression+IsPrimary.swift",
"Internal/Expression+Simplified.swift",
"Internal/UnicodeHelpers.swift",
"Language.swift",
"Language/ConcatenateLanguages.swift",
"Language/ConcatenateLanguagesBuilder.swift",
"Language/LanguageBuilder.swift",
"Language/Optional+Language.swift",
"Language/Reverse.swift",
"Language/Star.swift",
"Language/Union.swift",
"Language/UnionBuilder.swift",
"Rule.swift",
"Symbol.swift"
],
"type" : "library"
}
],
"tools_version" : "6.2"
}
warning: 'spi-builder-workspace': Invalid Exclude '/host/spi-builder-workspace/Tests/StructuredCFGTests/__Snapshots__': File not found.
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats 2>&1
basic-6.1-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:108e10880bce35e9496fba26782956e40a8e91a2a227f9b90af7e4cd93d2c183
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:basic-6.1-latest
error: 'spi-builder-workspace': package 'spi-builder-workspace' is using Swift tools version 6.2.0 but the installed version is 6.1.3
error: 'spi-builder-workspace': package 'spi-builder-workspace' is using Swift tools version 6.2.0 but the installed version is 6.1.3
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.1-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:108e10880bce35e9496fba26782956e40a8e91a2a227f9b90af7e4cd93d2c183
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:basic-6.1-latest
error: 'spi-builder-workspace': package 'spi-builder-workspace' is using Swift tools version 6.2.0 but the installed version is 6.1.3
error: 'spi-builder-workspace': package 'spi-builder-workspace' is using Swift tools version 6.2.0 but the installed version is 6.1.3
BUILD FAILURE 6.1 linux