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 macOS (SPM) on 6 Apr 2026 08:15:50 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-26.0.0.app xcrun swift build --arch arm64

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 /Users/admin/builder/spi-builder-workspace/.git/
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
Fetching https://github.com/pointfreeco/swift-custom-dump
Fetching https://github.com/pointfreeco/swift-snapshot-testing
Fetching https://github.com/swiftlang/swift-syntax
Fetching https://github.com/swiftlang/swift-docc-plugin
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
Fetching https://github.com/swiftlang/swift-docc-symbolkit
Fetching https://github.com/mattt/swift-xgrammar
[1/5443] Fetching swift-custom-dump
[165/5749] Fetching swift-custom-dump, swift-xgrammar
[303/7971] Fetching swift-custom-dump, swift-xgrammar, swift-docc-plugin
[694/13694] Fetching swift-custom-dump, swift-xgrammar, swift-docc-plugin, xctest-dynamic-overlay
[1210/17366] Fetching swift-custom-dump, swift-xgrammar, swift-docc-plugin, xctest-dynamic-overlay, swift-docc-symbolkit
[13452/33400] Fetching swift-custom-dump, swift-xgrammar, swift-docc-plugin, xctest-dynamic-overlay, swift-docc-symbolkit, swift-snapshot-testing
[14483/108332] Fetching swift-custom-dump, swift-xgrammar, swift-docc-plugin, xctest-dynamic-overlay, swift-docc-symbolkit, swift-snapshot-testing, swift-syntax
Fetched https://github.com/pointfreeco/swift-snapshot-testing from cache (2.99s)
Fetched https://github.com/pointfreeco/swift-custom-dump from cache (2.99s)
Fetched https://github.com/swiftlang/swift-syntax from cache (3.66s)
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (3.66s)
Fetched https://github.com/mattt/swift-xgrammar from cache (3.66s)
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (3.67s)
Computing version for https://github.com/mattt/swift-xgrammar
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (3.67s)
Computed https://github.com/mattt/swift-xgrammar at 0.1.0 (4.23s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.4.6 (3.03s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.9.0 (0.56s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing
Computed https://github.com/pointfreeco/swift-snapshot-testing at 1.18.9 (0.57s)
Computing version for https://github.com/pointfreeco/swift-custom-dump
Computed https://github.com/pointfreeco/swift-custom-dump at 1.5.0 (0.54s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.70s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 602.0.0 (0.74s)
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
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/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/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-snapshot-testing
Working copy of https://github.com/pointfreeco/swift-snapshot-testing resolved at 1.18.9
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/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at 602.0.0
Downloading package prebuilt https://download.swift.org/prebuilts/swift-syntax/602.0.0/swiftlang-6.2.0.19.9-MacroSupport-macos_aarch64.zip
Downloaded https://download.swift.org/prebuilts/swift-syntax/602.0.0/swiftlang-6.2.0.19.9-MacroSupport-macos_aarch64.zip (0.61s)
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "swift-structured-grammar",
      "name": "swift-structured-grammar",
      "url": "https://github.com/mhayes853/swift-structured-grammar.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-structured-grammar",
      "dependencies": [
        {
          "identity": "xctest-dynamic-overlay",
          "name": "xctest-dynamic-overlay",
          "url": "https://github.com/pointfreeco/xctest-dynamic-overlay",
          "version": "1.9.0",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/xctest-dynamic-overlay",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/mhayes853/swift-structured-grammar.git
[1/2340] Fetching swift-structured-grammar
Fetched https://github.com/mhayes853/swift-structured-grammar.git from cache (0.87s)
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay from cache
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (0.44s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.9.0 (0.51s)
Creating working copy for https://github.com/mhayes853/swift-structured-grammar.git
Working copy of https://github.com/mhayes853/swift-structured-grammar.git resolved at 0.1.0 (c4b9dfa)
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: '.resolve-product-dependencies': dependency 'swift-structured-grammar' is not used by any target
Found 1 product dependencies
  - xctest-dynamic-overlay
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/mhayes853/swift-structured-grammar.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0.app xcrun swift build --arch arm64
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/9] Write sources
[6/9] Write swift-version-49B95AFC49DCD68C.txt
[8/11] Emitting module IssueReportingPackageSupport
[9/11] Compiling IssueReportingPackageSupport _Test.swift
[10/34] Compiling IssueReporting IssueReporter.swift
[11/34] Compiling IssueReporting BreakpointReporter.swift
[12/34] Compiling IssueReporting Rethrows.swift
[13/34] Compiling IssueReporting SwiftTesting.swift
[14/34] Compiling IssueReporting IssueSeverity.swift
[15/34] Compiling IssueReporting ReportIssue.swift
[16/34] Compiling IssueReporting TestContext.swift
[17/34] Compiling IssueReporting Unimplemented.swift
[18/36] Compiling IssueReporting UncheckedSendable.swift
[19/36] Compiling IssueReporting Warn.swift
[20/36] Compiling IssueReporting XCTest.swift
[21/36] Compiling IssueReporting IsTesting.swift
[22/36] Compiling IssueReporting FailureObserver.swift
[23/36] Compiling IssueReporting LockIsolated.swift
[24/36] Compiling IssueReporting ErrorReporting.swift
[25/36] Compiling IssueReporting AppHostWarning.swift
[26/36] Compiling IssueReporting Deprecations.swift
[27/36] Emitting module IssueReporting
[28/36] Compiling IssueReporting DefaultReporter.swift
[29/36] Compiling IssueReporting FatalErrorReporter.swift
[30/36] Compiling IssueReporting WithExpectedIssue.swift
[31/36] Compiling IssueReporting WithIssueContext.swift
[32/81] Compiling StructuredCFG GrammarComponent.swift
[33/81] Compiling StructuredCFG Optional+GrammarComponent.swift
[34/81] Compiling StructuredCFG StatementsBuilder.swift
[35/81] Compiling StructuredCFG Equals.swift
[36/81] Compiling StructuredCFG Expression+IsPrimary.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[37/81] Emitting module StructuredCFG
/Users/admin/builder/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.
/Users/admin/builder/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.
[38/85] Compiling StructuredCFG ConcatenateExpressions.swift
[39/85] Compiling StructuredCFG Epsilon.swift
[40/85] Compiling StructuredCFG ExpressionBuilder.swift
[41/85] Compiling StructuredCFG Group.swift
[42/85] Compiling StructuredCFG InlineComment.swift
[43/85] Compiling StructuredCFG OneOrMoreExpression.swift
[44/85] Compiling StructuredCFG Option.swift
[45/85] Compiling StructuredCFG Ref.swift
[46/85] Compiling StructuredCFG RepeatExpression.swift
[47/85] Compiling StructuredCFG Special.swift
[48/85] Compiling StructuredCFG Terminal+CharacterFormatting.swift
/Users/admin/builder/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/85] Compiling StructuredCFG Terminal+Formatted.swift
/Users/admin/builder/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.
[50/85] Compiling StructuredCFG UnsupportedErrors.swift
/Users/admin/builder/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.
[51/85] Compiling StructuredCFG W3CEBNFFormatter.swift
/Users/admin/builder/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.
[52/85] Compiling StructuredCFG Grammar.swift
/Users/admin/builder/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.
[53/85] Compiling StructuredCFG LanguageBuilder.swift
[54/85] Compiling StructuredCFG Optional+Language.swift
[55/85] Compiling StructuredCFG Reverse.swift
[56/85] Compiling StructuredCFG Star.swift
[57/85] Compiling StructuredCFG SwiftOptional+Expression.swift
[58/85] Compiling StructuredCFG Terminal.swift
[59/85] Compiling StructuredCFG ZeroOrMoreExpression.swift
[60/85] Compiling StructuredCFG BNFFormatter.swift
[61/85] Compiling StructuredCFG Formatter.swift
[62/85] Compiling StructuredCFG Union.swift
[63/85] Compiling StructuredCFG UnionBuilder.swift
[64/85] Compiling StructuredCFG Rule.swift
[65/85] Compiling StructuredCFG Symbol.swift
[66/85] Compiling StructuredCFG Expression+Simplified.swift
[67/85] Compiling StructuredCFG UnicodeHelpers.swift
[68/85] Compiling StructuredCFG Language.swift
[69/85] Compiling StructuredCFG ConcatenateLanguages.swift
[70/85] Compiling StructuredCFG ConcatenateLanguagesBuilder.swift
[71/85] Compiling StructuredCFG GBNFFormatter.swift
[72/85] Compiling StructuredCFG ISOIECEBNFFormatter.swift
[73/85] Compiling StructuredCFG CharacterGroup+Formatted.swift
[74/85] Compiling StructuredCFG CommentFormatting.swift
[75/85] Compiling StructuredCFG Expression+Formatted.swift
[76/85] Compiling StructuredCFG Comment.swift
/Users/admin/builder/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/85] Compiling StructuredCFG Expression.swift
/Users/admin/builder/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/85] Compiling StructuredCFG CharacterGroup.swift
/Users/admin/builder/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/85] Compiling StructuredCFG ChoiceBuilder.swift
/Users/admin/builder/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.
[80/85] Compiling StructuredCFG ChoiceOf.swift
/Users/admin/builder/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.
warning: 'spi-builder-workspace': Invalid Exclude '/Users/admin/builder/spi-builder-workspace/Tests/StructuredCFGTests/__Snapshots__': File not found.
BUILD FAILURE 6.2 macosSpm