Build Information
Failed to build swift-structured-grammar, reference main (0b2e75), with Swift 6.2 for Android on 11 Apr 2026 05:47:31 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/mhayes853/swift-structured-grammar.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/mhayes853/swift-structured-grammar
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 0b2e753 Update Shields
Cloned https://github.com/mhayes853/swift-structured-grammar.git
Revision (git rev-parse @):
0b2e753084e44c07bfbf930cd597cea3bd5aba4e
SUCCESS checkout https://github.com/mhayes853/swift-structured-grammar.git at main
========================================
Build
========================================
Selected platform: android
Swift version: 6.2
Building package at path: $PWD
https://github.com/mhayes853/swift-structured-grammar.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:cb98f9856cb1288a0028ff0e63d4de86ca92d5e7890400e3e915f7ea3943ed55
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:android-6.2-latest
Fetching https://github.com/swiftlang/swift-docc-plugin
Fetching https://github.com/pointfreeco/swift-snapshot-testing
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
Fetching https://github.com/pointfreeco/swift-custom-dump
Fetching https://github.com/mattt/swift-xgrammar
[1/5464] Fetching swift-custom-dump
[2/7735] Fetching swift-custom-dump, swift-docc-plugin
[3945/8041] Fetching swift-custom-dump, swift-docc-plugin, swift-xgrammar
[6271/13764] Fetching swift-custom-dump, swift-docc-plugin, swift-xgrammar, xctest-dynamic-overlay
Fetched https://github.com/mattt/swift-xgrammar from cache (0.48s)
[9853/13458] Fetching swift-custom-dump, swift-docc-plugin, xctest-dynamic-overlay
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (0.57s)
[9013/11187] Fetching swift-custom-dump, xctest-dynamic-overlay
[11188/27233] Fetching swift-custom-dump, xctest-dynamic-overlay, swift-snapshot-testing
Fetched https://github.com/pointfreeco/swift-custom-dump from cache (0.99s)
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (1.00s)
[803/16046] Fetching swift-snapshot-testing
Fetched https://github.com/pointfreeco/swift-snapshot-testing from cache (3.50s)
Computing version for https://github.com/mattt/swift-xgrammar
Computed https://github.com/mattt/swift-xgrammar at 0.1.0 (3.91s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.4.6 (4.41s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3672] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.46s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.97s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.9.0 (0.72s)
Computing version for https://github.com/pointfreeco/swift-custom-dump
Computed https://github.com/pointfreeco/swift-custom-dump at 1.5.0 (0.47s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing
Computed https://github.com/pointfreeco/swift-snapshot-testing at 1.19.2 (0.40s)
Fetching https://github.com/swiftlang/swift-syntax
[1/74965] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax from cache (6.91s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 603.0.0 (8.82s)
Creating working copy for https://github.com/pointfreeco/swift-custom-dump
Working copy of https://github.com/pointfreeco/swift-custom-dump resolved at 1.5.0
Creating working copy for https://github.com/pointfreeco/swift-snapshot-testing
Working copy of https://github.com/pointfreeco/swift-snapshot-testing resolved at 1.19.2
Creating working copy for https://github.com/swiftlang/swift-docc-plugin
Working copy of https://github.com/swiftlang/swift-docc-plugin resolved at 1.4.6
Creating working copy for https://github.com/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at 603.0.0
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/mattt/swift-xgrammar
Working copy of https://github.com/mattt/swift-xgrammar resolved at 0.1.0
Creating working copy for https://github.com/pointfreeco/xctest-dynamic-overlay
Working copy of https://github.com/pointfreeco/xctest-dynamic-overlay resolved at 1.9.0
warning: 'spi-builder-workspace': Invalid Exclude '/host/spi-builder-workspace/Tests/StructuredCFGTests/__Snapshots__': File not found.
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/11] Write sources
[6/11] Write swift-version--11D90AFD9DD3AB2.txt
[8/13] Emitting module IssueReportingPackageSupport
[9/13] Compiling IssueReportingPackageSupport _Test.swift
[10/14] Wrapping AST for IssueReportingPackageSupport for debugging
[12/37] Compiling IssueReporting TestContext.swift
[13/37] Compiling IssueReporting Unimplemented.swift
[14/39] Compiling IssueReporting IssueSeverity.swift
[15/39] Compiling IssueReporting ReportIssue.swift
[16/39] Compiling IssueReporting WithExpectedIssue.swift
[17/39] Compiling IssueReporting WithIssueContext.swift
[18/39] Compiling IssueReporting XCTest.swift
[19/39] Compiling IssueReporting IsTesting.swift
[20/39] Compiling IssueReporting IssueReporter.swift
[21/39] Compiling IssueReporting BreakpointReporter.swift
[22/39] Compiling IssueReporting DefaultReporter.swift
[23/39] Compiling IssueReporting FatalErrorReporter.swift
[24/39] Compiling IssueReportingTestSupport SwiftTesting.swift
[25/39] Emitting module IssueReportingTestSupport
[26/39] Compiling IssueReportingTestSupport XCTest.swift
[28/40] Compiling IssueReporting FailureObserver.swift
[29/40] Compiling IssueReporting LockIsolated.swift
[30/40] Compiling IssueReporting Rethrows.swift
[31/40] Emitting module IssueReporting
[32/40] Compiling IssueReporting SwiftTesting.swift
[33/40] Compiling IssueReporting UncheckedSendable.swift
[34/40] Compiling IssueReporting Warn.swift
[35/40] Compiling IssueReporting ErrorReporting.swift
[36/40] Compiling IssueReporting AppHostWarning.swift
[37/40] Compiling IssueReporting Deprecations.swift
[37/40] Wrapping AST for IssueReportingTestSupport for debugging
[38/41] Write Objects.LinkFileList
[40/41] Linking libIssueReportingTestSupport.so
error: emit-module command failed with exit code 1 (use -v to see invocation)
[42/84] Emitting module StructuredCFG
/host/spi-builder-workspace/Sources/StructuredCFG/Expression.swift:9:2: error: unknown attribute 'nonexhaustive'
7 | ///
8 | /// You can use the `custom` case to support expressions for custom grammar formats.
9 | @nonexhaustive
| `- error: unknown attribute 'nonexhaustive'
10 | public indirect enum Expression: Sendable {
11 | /// Matches the empty string.
/host/spi-builder-workspace/Sources/StructuredCFG/Grammar.swift:32:4: error: unknown attribute 'nonexhaustive'
30 | public struct Grammar: Hashable, Sendable, Language.Component, Grammar.Component {
31 | /// A top-level statement in a grammar.
32 | @nonexhaustive
| `- error: unknown attribute 'nonexhaustive'
33 | public enum Statement: Sendable {
34 | /// A named production rule.
[43/90] Compiling StructuredCFG Reverse.swift
[44/90] Compiling StructuredCFG Star.swift
[45/90] Compiling StructuredCFG Union.swift
[46/90] Compiling StructuredCFG UnionBuilder.swift
[47/90] Compiling StructuredCFG Rule.swift
[48/90] Compiling StructuredCFG Symbol.swift
[49/90] Compiling StructuredCFG Ref.swift
[50/90] Compiling StructuredCFG RepeatExpression.swift
[51/90] Compiling StructuredCFG Special.swift
[52/90] Compiling StructuredCFG SwiftOptional+Expression.swift
[53/90] Compiling StructuredCFG Terminal.swift
[54/90] Compiling StructuredCFG ZeroOrMoreExpression.swift
[55/90] Compiling StructuredCFG GrammarComponent.swift
[56/90] Compiling StructuredCFG Optional+GrammarComponent.swift
[57/90] Compiling StructuredCFG StatementsBuilder.swift
[58/90] Compiling StructuredCFG Equals.swift
[59/90] Compiling StructuredCFG Expression+IsPrimary.swift
[60/90] Compiling StructuredCFG Expression+Simplified.swift
[61/90] Compiling StructuredCFG UnicodeHelpers.swift
[62/90] Compiling StructuredCFG Language.swift
[63/90] Compiling StructuredCFG ConcatenateLanguages.swift
[64/90] Compiling StructuredCFG ConcatenateLanguagesBuilder.swift
[65/90] Compiling StructuredCFG LanguageBuilder.swift
[66/90] Compiling StructuredCFG Optional+Language.swift
[67/90] Compiling StructuredCFG Expression+Formatted.swift
/host/spi-builder-workspace/Sources/StructuredCFG/Grammar.swift:32:4: error: unknown attribute 'nonexhaustive'
30 | public struct Grammar: Hashable, Sendable, Language.Component, Grammar.Component {
31 | /// A top-level statement in a grammar.
32 | @nonexhaustive
| `- error: unknown attribute 'nonexhaustive'
33 | public enum Statement: Sendable {
34 | /// A named production rule.
[68/90] Compiling StructuredCFG Terminal+CharacterFormatting.swift
/host/spi-builder-workspace/Sources/StructuredCFG/Grammar.swift:32:4: error: unknown attribute 'nonexhaustive'
30 | public struct Grammar: Hashable, Sendable, Language.Component, Grammar.Component {
31 | /// A top-level statement in a grammar.
32 | @nonexhaustive
| `- error: unknown attribute 'nonexhaustive'
33 | public enum Statement: Sendable {
34 | /// A named production rule.
[69/90] Compiling StructuredCFG Terminal+Formatted.swift
/host/spi-builder-workspace/Sources/StructuredCFG/Grammar.swift:32:4: error: unknown attribute 'nonexhaustive'
30 | public struct Grammar: Hashable, Sendable, Language.Component, Grammar.Component {
31 | /// A top-level statement in a grammar.
32 | @nonexhaustive
| `- error: unknown attribute 'nonexhaustive'
33 | public enum Statement: Sendable {
34 | /// A named production rule.
[70/90] Compiling StructuredCFG UnsupportedErrors.swift
/host/spi-builder-workspace/Sources/StructuredCFG/Grammar.swift:32:4: error: unknown attribute 'nonexhaustive'
30 | public struct Grammar: Hashable, Sendable, Language.Component, Grammar.Component {
31 | /// A top-level statement in a grammar.
32 | @nonexhaustive
| `- error: unknown attribute 'nonexhaustive'
33 | public enum Statement: Sendable {
34 | /// A named production rule.
[71/90] Compiling StructuredCFG W3CEBNFFormatter.swift
/host/spi-builder-workspace/Sources/StructuredCFG/Grammar.swift:32:4: error: unknown attribute 'nonexhaustive'
30 | public struct Grammar: Hashable, Sendable, Language.Component, Grammar.Component {
31 | /// A top-level statement in a grammar.
32 | @nonexhaustive
| `- error: unknown attribute 'nonexhaustive'
33 | public enum Statement: Sendable {
34 | /// A named production rule.
[72/90] Compiling StructuredCFG Grammar.swift
/host/spi-builder-workspace/Sources/StructuredCFG/Grammar.swift:32:4: error: unknown attribute 'nonexhaustive'
30 | public struct Grammar: Hashable, Sendable, Language.Component, Grammar.Component {
31 | /// A top-level statement in a grammar.
32 | @nonexhaustive
| `- error: unknown attribute 'nonexhaustive'
33 | public enum Statement: Sendable {
34 | /// A named production rule.
[73/90] Compiling StructuredCFG Comment.swift
/host/spi-builder-workspace/Sources/StructuredCFG/Expression.swift:9:2: error: unknown attribute 'nonexhaustive'
7 | ///
8 | /// You can use the `custom` case to support expressions for custom grammar formats.
9 | @nonexhaustive
| `- error: unknown attribute 'nonexhaustive'
10 | public indirect enum Expression: Sendable {
11 | /// Matches the empty string.
[74/90] Compiling StructuredCFG Expression.swift
/host/spi-builder-workspace/Sources/StructuredCFG/Expression.swift:9:2: error: unknown attribute 'nonexhaustive'
7 | ///
8 | /// You can use the `custom` case to support expressions for custom grammar formats.
9 | @nonexhaustive
| `- error: unknown attribute 'nonexhaustive'
10 | public indirect enum Expression: Sendable {
11 | /// Matches the empty string.
[75/90] Compiling StructuredCFG CharacterGroup.swift
/host/spi-builder-workspace/Sources/StructuredCFG/Expression.swift:9:2: error: unknown attribute 'nonexhaustive'
7 | ///
8 | /// You can use the `custom` case to support expressions for custom grammar formats.
9 | @nonexhaustive
| `- error: unknown attribute 'nonexhaustive'
10 | public indirect enum Expression: Sendable {
11 | /// Matches the empty string.
[76/90] Compiling StructuredCFG ChoiceBuilder.swift
/host/spi-builder-workspace/Sources/StructuredCFG/Expression.swift:9:2: error: unknown attribute 'nonexhaustive'
7 | ///
8 | /// You can use the `custom` case to support expressions for custom grammar formats.
9 | @nonexhaustive
| `- error: unknown attribute 'nonexhaustive'
10 | public indirect enum Expression: Sendable {
11 | /// Matches the empty string.
[77/90] Compiling StructuredCFG ChoiceOf.swift
/host/spi-builder-workspace/Sources/StructuredCFG/Expression.swift:9:2: error: unknown attribute 'nonexhaustive'
7 | ///
8 | /// You can use the `custom` case to support expressions for custom grammar formats.
9 | @nonexhaustive
| `- error: unknown attribute 'nonexhaustive'
10 | public indirect enum Expression: Sendable {
11 | /// Matches the empty string.
[78/90] Compiling StructuredCFG ConcatenateExpressions.swift
/host/spi-builder-workspace/Sources/StructuredCFG/Expression.swift:9:2: error: unknown attribute 'nonexhaustive'
7 | ///
8 | /// You can use the `custom` case to support expressions for custom grammar formats.
9 | @nonexhaustive
| `- error: unknown attribute 'nonexhaustive'
10 | public indirect enum Expression: Sendable {
11 | /// Matches the empty string.
[79/90] Compiling StructuredCFG Epsilon.swift
[80/90] Compiling StructuredCFG ExpressionBuilder.swift
[81/90] Compiling StructuredCFG Group.swift
[82/90] Compiling StructuredCFG InlineComment.swift
[83/90] Compiling StructuredCFG OneOrMoreExpression.swift
[84/90] Compiling StructuredCFG Option.swift
[85/90] Compiling StructuredCFG BNFFormatter.swift
[86/90] Compiling StructuredCFG Formatter.swift
[87/90] Compiling StructuredCFG GBNFFormatter.swift
[88/90] Compiling StructuredCFG ISOIECEBNFFormatter.swift
[89/90] Compiling StructuredCFG CharacterGroup+Formatted.swift
[90/90] Compiling StructuredCFG CommentFormatting.swift
BUILD FAILURE 6.2 android