Build Information
Failed to build swift-structured-grammar, reference 0.1.1 (ebaf2b), with Swift 6.2 for Wasm on 25 Jun 2026 12:22:23 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-53886769-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:wasm-6.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4071e0796c748d991a0123890d2f0ecadc8fcc8c
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/mhayes853/swift-structured-grammar.git
Reference: 0.1.1
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.1 -> FETCH_HEAD
HEAD is now at ebaf2b6 Merge pull request #1 from mhayes853/wasm-build
Cloned https://github.com/mhayes853/swift-structured-grammar.git
Revision (git rev-parse @):
ebaf2b613b56b34e69200852e63bc1f227e85d8c
SUCCESS checkout https://github.com/mhayes853/swift-structured-grammar.git at 0.1.1
========================================
Build
========================================
Selected platform: wasm
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-53886769-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:wasm-6.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1
wasm-6.2-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:7f35f7a63421c3ef050c9375efcbb60196c0ee099fe4e9f14f3ceef5fa7b1aa5
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-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-snapshot-testing
Fetching https://github.com/mattt/swift-xgrammar
Fetching https://github.com/pointfreeco/swift-custom-dump
[1/2299] Fetching swift-docc-plugin
[231/7908] Fetching swift-docc-plugin, swift-custom-dump
[512/8214] Fetching swift-docc-plugin, swift-custom-dump, swift-xgrammar
Fetched https://github.com/pointfreeco/swift-custom-dump from cache (0.46s)
[537/8485] Fetching swift-docc-plugin, swift-xgrammar, xctest-dynamic-overlay
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (0.59s)
[3952/6186] Fetching swift-xgrammar, xctest-dynamic-overlay
[6187/22359] Fetching swift-xgrammar, xctest-dynamic-overlay, swift-snapshot-testing
Fetched https://github.com/mattt/swift-xgrammar from cache (2.04s)
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (2.04s)
Fetched https://github.com/pointfreeco/swift-snapshot-testing from cache (2.07s)
Computing version for https://github.com/mattt/swift-xgrammar
Computed https://github.com/mattt/swift-xgrammar at 0.1.0 (2.21s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.5.0 (0.86s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3749] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.44s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.64s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.10.1 (0.14s)
Computing version for https://github.com/pointfreeco/swift-custom-dump
Computed https://github.com/pointfreeco/swift-custom-dump at 1.6.1 (0.14s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing
Computed https://github.com/pointfreeco/swift-snapshot-testing at 1.19.2 (0.13s)
Fetching https://github.com/swiftlang/swift-syntax
[1/75744] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax from cache (2.48s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 603.0.2 (2.75s)
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/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-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at 603.0.2
Creating working copy for https://github.com/pointfreeco/xctest-dynamic-overlay
Working copy of https://github.com/pointfreeco/xctest-dynamic-overlay resolved at 1.10.1
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.6.1
Creating working copy for https://github.com/swiftlang/swift-docc-plugin
Working copy of https://github.com/swiftlang/swift-docc-plugin resolved at 1.5.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/8] Write sources
[4/8] Write swift-version-24593BA9C3E375BF.txt
[6/55] Compiling StructuredCFG UnicodeHelpers.swift
[7/55] Compiling StructuredCFG Language.swift
[8/55] Compiling StructuredCFG ConcatenateLanguages.swift
[9/55] Compiling StructuredCFG ConcatenateLanguagesBuilder.swift
[10/55] Compiling StructuredCFG LanguageBuilder.swift
[11/55] Compiling StructuredCFG Optional+Language.swift
[12/55] Compiling StructuredCFG GrammarComponent.swift
[13/55] Compiling StructuredCFG Optional+GrammarComponent.swift
[14/55] Compiling StructuredCFG StatementsBuilder.swift
[15/55] Compiling StructuredCFG Equals.swift
[16/55] Compiling StructuredCFG Expression+IsPrimary.swift
[17/55] Compiling StructuredCFG Expression+Simplified.swift
[18/61] Compiling StructuredCFG BNFFormatter.swift
[19/61] Compiling StructuredCFG Formatter.swift
[20/61] Compiling StructuredCFG GBNFFormatter.swift
[21/61] Compiling StructuredCFG ISOIECEBNFFormatter.swift
[22/61] Compiling StructuredCFG CharacterGroup+Formatted.swift
[23/61] Compiling StructuredCFG CommentFormatting.swift
[24/61] Compiling StructuredCFG Ref.swift
[25/61] Compiling StructuredCFG RepeatExpression.swift
[26/61] Compiling StructuredCFG Special.swift
[27/61] Compiling StructuredCFG SwiftOptional+Expression.swift
[28/61] Compiling StructuredCFG Terminal.swift
[29/61] Compiling StructuredCFG ZeroOrMoreExpression.swift
[30/61] 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.
[31/61] 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.
[32/61] 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.
[33/61] 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.
[34/61] 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.
[35/61] 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.
[36/61] Compiling StructuredCFG Reverse.swift
[37/61] Compiling StructuredCFG Star.swift
[38/61] Compiling StructuredCFG Union.swift
[39/61] Compiling StructuredCFG UnionBuilder.swift
[40/61] Compiling StructuredCFG Rule.swift
[41/61] Compiling StructuredCFG Symbol.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[42/61] Compiling StructuredCFG Epsilon.swift
[43/61] Compiling StructuredCFG ExpressionBuilder.swift
[44/61] Compiling StructuredCFG Group.swift
[45/61] Compiling StructuredCFG InlineComment.swift
[46/61] Compiling StructuredCFG OneOrMoreExpression.swift
[47/61] Compiling StructuredCFG Option.swift
[48/61] 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.
[49/61] 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.
[50/61] 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.
[51/61] 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.
[52/61] 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.
[53/61] 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.
[54/61] 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.
[55/61] Emitting module IssueReportingTestSupport
[56/61] Compiling IssueReportingTestSupport _Test.swift
BUILD FAILURE 6.2 wasm