The Swift Package Index logo.Swift Package Index

Build Information

Failed to build swift-structured-grammar, reference 0.1.0 (c4b9df), with Swift 6.2 for Android on 6 Apr 2026 08:17:00 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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

Build 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:         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-4606859-3":/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
ad1a9d392ffd: Already exists
cf874b870414: Already exists
c20980c75d18: Already exists
9d13abff5ec2: Already exists
58fa9ac6befb: Already exists
f66aa02a3de5: Already exists
9a865582c536: Already exists
4f4fb700ef54: Already exists
9e962ec9b4a7: Already exists
1639ca45ccb3: Pulling fs layer
4f4fb700ef54: Pulling fs layer
22b21c9645b1: Pulling fs layer
22b21c9645b1: Download complete
1639ca45ccb3: Pull complete
22b21c9645b1: Pull complete
Digest: sha256:ddd4edb33d5d885e17caac0b97dcd74ed916c6d1fa6d49f38e53038953d2cc51
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/xctest-dynamic-overlay
Fetching https://github.com/pointfreeco/swift-custom-dump
Fetching https://github.com/mattt/swift-xgrammar
Fetching https://github.com/pointfreeco/swift-snapshot-testing
[1/2222] Fetching swift-docc-plugin
[224/2528] Fetching swift-docc-plugin, swift-xgrammar
[530/7971] Fetching swift-docc-plugin, swift-xgrammar, swift-custom-dump
Fetched https://github.com/mattt/swift-xgrammar from cache (0.39s)
[1/5723] Fetching xctest-dynamic-overlay
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (0.76s)
[1/16034] Fetching swift-snapshot-testing
Fetched https://github.com/pointfreeco/swift-custom-dump from cache (2.85s)
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (2.87s)
Fetched https://github.com/pointfreeco/swift-snapshot-testing from cache (2.94s)
Computing version for https://github.com/mattt/swift-xgrammar
Computed https://github.com/mattt/swift-xgrammar at 0.1.0 (3.30s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.4.6 (3.53s)
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.54s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.02s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.9.0 (0.33s)
Computing version for https://github.com/pointfreeco/swift-custom-dump
Computed https://github.com/pointfreeco/swift-custom-dump at 1.5.0 (0.35s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing
Computed https://github.com/pointfreeco/swift-snapshot-testing at 1.19.2 (0.33s)
Fetching https://github.com/swiftlang/swift-syntax
[1/74932] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax from cache (5.81s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 603.0.0 (8.40s)
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-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/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/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-plugin
Working copy of https://github.com/swiftlang/swift-docc-plugin resolved at 1.4.6
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] Emitting module IssueReportingTestSupport
[13/37] Compiling IssueReportingTestSupport SwiftTesting.swift
[14/37] Compiling IssueReporting TestContext.swift
[15/37] Compiling IssueReporting Unimplemented.swift
[16/37] Compiling IssueReporting IssueSeverity.swift
[17/37] Compiling IssueReporting ReportIssue.swift
[18/39] Emitting module IssueReporting
[19/39] Compiling IssueReporting WithExpectedIssue.swift
[20/39] Compiling IssueReporting WithIssueContext.swift
[21/39] Compiling IssueReporting ErrorReporting.swift
[22/39] Compiling IssueReporting AppHostWarning.swift
[23/39] Compiling IssueReporting Deprecations.swift
[24/39] Compiling IssueReporting BreakpointReporter.swift
[25/39] Compiling IssueReporting DefaultReporter.swift
[26/39] Compiling IssueReporting FatalErrorReporter.swift
[27/39] Compiling IssueReportingTestSupport XCTest.swift
[28/40] Compiling IssueReporting SwiftTesting.swift
[29/40] Compiling IssueReporting UncheckedSendable.swift
[30/40] Compiling IssueReporting Warn.swift
[31/40] Compiling IssueReporting XCTest.swift
[32/40] Compiling IssueReporting IsTesting.swift
[33/40] Compiling IssueReporting IssueReporter.swift
[34/40] Compiling IssueReporting FailureObserver.swift
[35/40] Compiling IssueReporting LockIsolated.swift
[36/40] Compiling IssueReporting Rethrows.swift
[38/41] Wrapping AST for IssueReportingTestSupport for debugging
[39/41] Write Objects.LinkFileList
[40/84] 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 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.
[44/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.
[45/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.
[46/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.
[47/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.
[48/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.
[49/90] Compiling StructuredCFG Reverse.swift
[50/90] Compiling StructuredCFG Star.swift
[51/90] Compiling StructuredCFG Union.swift
[52/90] Compiling StructuredCFG UnionBuilder.swift
[53/90] Compiling StructuredCFG Rule.swift
[54/90] Compiling StructuredCFG Symbol.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 Ref.swift
[68/90] Compiling StructuredCFG RepeatExpression.swift
[69/90] Compiling StructuredCFG Special.swift
[70/90] Compiling StructuredCFG SwiftOptional+Expression.swift
[71/90] Compiling StructuredCFG Terminal.swift
[72/90] Compiling StructuredCFG ZeroOrMoreExpression.swift
[73/90] Compiling StructuredCFG Epsilon.swift
[74/90] Compiling StructuredCFG ExpressionBuilder.swift
[75/90] Compiling StructuredCFG Group.swift
[76/90] Compiling StructuredCFG InlineComment.swift
[77/90] Compiling StructuredCFG OneOrMoreExpression.swift
[78/90] Compiling StructuredCFG Option.swift
[79/90] Compiling StructuredCFG BNFFormatter.swift
[80/90] Compiling StructuredCFG Formatter.swift
[81/90] Compiling StructuredCFG GBNFFormatter.swift
[82/90] Compiling StructuredCFG ISOIECEBNFFormatter.swift
[83/90] Compiling StructuredCFG CharacterGroup+Formatted.swift
[84/90] Compiling StructuredCFG CommentFormatting.swift
[85/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.
[86/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.
[87/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.
[88/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.
[89/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.
[90/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.
BUILD FAILURE 6.2 android