The Swift Package Index logo.Swift Package Index

Build Information

Successful build of Hatch, reference 602.0.0 (a78ebf), with Swift 6.3 for macOS (SPM) on 22 Apr 2026 16:35:46 UTC.

Swift 6 data race errors: 0

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/sdidla/Hatch.git
Reference: 602.0.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/sdidla/Hatch
 * tag               602.0.0    -> FETCH_HEAD
HEAD is now at a78ebf1 fix swift-syntax package version
Cloned https://github.com/sdidla/Hatch.git
Revision (git rev-parse @):
a78ebf1a54b9e2e21f28f3de130bc0ae47fc9d62
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/sdidla/Hatch.git at 602.0.0
Fetching https://github.com/apple/swift-syntax.git
[1/75028] Fetching swift-syntax
Fetched https://github.com/apple/swift-syntax.git from cache (4.81s)
Creating working copy for https://github.com/apple/swift-syntax.git
Working copy of https://github.com/apple/swift-syntax.git resolved at 602.0.0
Downloading package prebuilt https://download.swift.org/prebuilts/swift-syntax/602.0.0/swiftlang-6.3.0.123.5-macosx26.4-MacroSupport.zip
Downloaded https://download.swift.org/prebuilts/swift-syntax/602.0.0/swiftlang-6.3.0.123.5-macosx26.4-MacroSupport.zip (0.30s)
========================================
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",
  "traits": [
    "default"
  ],
  "dependencies": [
    {
      "identity": "hatch",
      "name": "Hatch",
      "url": "https://github.com/sdidla/Hatch.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Hatch",
      "traits": [
        "default"
      ],
      "dependencies": [
        {
          "identity": "swift-syntax",
          "name": "swift-syntax",
          "url": "https://github.com/apple/swift-syntax.git",
          "version": "602.0.0",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-syntax",
          "traits": [
            "default"
          ],
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/sdidla/Hatch.git
[1/573] Fetching hatch
Fetched https://github.com/sdidla/Hatch.git from cache (0.73s)
Fetching https://github.com/apple/swift-syntax.git from cache
Fetched https://github.com/apple/swift-syntax.git from cache (0.89s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 602.0.0 (1.57s)
Creating working copy for https://github.com/sdidla/Hatch.git
Working copy of https://github.com/sdidla/Hatch.git resolved at 602.0.0 (a78ebf1)
Creating working copy for https://github.com/apple/swift-syntax.git
Working copy of https://github.com/apple/swift-syntax.git resolved at 602.0.0
Found 1 product dependencies
  - swift-syntax
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/sdidla/Hatch.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/15] Write sources
[9/15] Write HatchExample-entitlement.plist
[10/15] Write swift-version--6988338F2F200930.txt
[11/25] Compiling _SwiftSyntaxCShims PlatformMutex.c
[13/25] Compiling SwiftSyntax510 Empty.swift
[14/25] Emitting module SwiftSyntax600
[15/25] Compiling SwiftSyntax509 Empty.swift
[16/25] Emitting module SwiftSyntax602
[17/25] Emitting module SwiftSyntax601
[18/25] Compiling SwiftSyntax600 Empty.swift
[19/25] Emitting module SwiftSyntax509
[20/25] Compiling SwiftSyntax602 Empty.swift
[21/25] Emitting module SwiftSyntax510
[22/25] Compiling SwiftSyntax601 Empty.swift
[23/89] Compiling SwiftSyntax RawSyntaxLayoutView.swift
[24/89] Compiling SwiftSyntax RawSyntaxNodeProtocol.swift
[25/89] Compiling SwiftSyntax RawSyntaxTokenView.swift
[26/89] Compiling SwiftSyntax SourceEdit.swift
[27/89] Compiling SwiftSyntax SourceLength.swift
[28/89] Compiling SwiftSyntax SourceLocation.swift
[29/89] Compiling SwiftSyntax SourcePresence.swift
[30/96] Compiling SwiftSyntax CustomTraits.swift
[31/96] Compiling SwiftSyntax EditorPlaceholder.swift
[32/96] Compiling SwiftSyntax Identifier.swift
[33/96] Compiling SwiftSyntax MemoryLayout.swift
[34/96] Compiling SwiftSyntax MissingNodeInitializers.swift
[35/96] Compiling SwiftSyntax RawSyntax.swift
[36/96] Compiling SwiftSyntax RawSyntaxArena.swift
[37/96] Compiling SwiftSyntax AbsolutePosition.swift
[38/96] Compiling SwiftSyntax AbsoluteSyntaxInfo.swift
[39/96] Compiling SwiftSyntax ArenaAllocatedBuffer.swift
[40/96] Compiling SwiftSyntax Assert.swift
[41/96] Compiling SwiftSyntax BumpPtrAllocator.swift
[42/96] Compiling SwiftSyntax CommonAncestor.swift
[43/96] Compiling SwiftSyntax Convenience.swift
[44/96] Compiling SwiftSyntax SwiftSyntaxCompatibility.swift
[45/96] Compiling SwiftSyntax Syntax.swift
[46/96] Compiling SwiftSyntax SyntaxChildren.swift
[47/96] Compiling SwiftSyntax SyntaxCollection.swift
[48/96] Compiling SwiftSyntax SyntaxHashable.swift
[49/96] Compiling SwiftSyntax SyntaxIdentifier.swift
[50/96] Compiling SwiftSyntax SyntaxNodeStructure.swift
[51/96] Emitting module SwiftSyntax
[52/96] Compiling SwiftSyntax Tokens.swift
[53/96] Compiling SwiftSyntax TriviaPieces.swift
[54/96] Compiling SwiftSyntax RawSyntaxNodesAB.swift
[55/96] Compiling SwiftSyntax RawSyntaxNodesC.swift
[56/96] Compiling SwiftSyntax RawSyntaxNodesD.swift
[57/96] Compiling SwiftSyntax RawSyntaxNodesEF.swift
[58/96] Compiling SwiftSyntax RawSyntaxNodesGHI.swift
[59/96] Compiling SwiftSyntax SyntaxCollections.swift
[60/96] Compiling SwiftSyntax SyntaxEnum.swift
[61/96] Compiling SwiftSyntax SyntaxKind.swift
[62/96] Compiling SwiftSyntax SyntaxRewriter.swift
[63/96] Compiling SwiftSyntax SyntaxTraits.swift
[64/96] Compiling SwiftSyntax SyntaxVisitor.swift
[65/96] Compiling SwiftSyntax TokenKind.swift
[66/96] Compiling SwiftSyntax RawSyntaxNodesJKLMN.swift
[67/96] Compiling SwiftSyntax RawSyntaxNodesOP.swift
[68/96] Compiling SwiftSyntax RawSyntaxNodesQRS.swift
[69/96] Compiling SwiftSyntax RawSyntaxNodesTUVWXYZ.swift
[70/96] Compiling SwiftSyntax RawSyntaxValidation.swift
[71/96] Compiling SwiftSyntax SyntaxNodesAB.swift
[72/96] Compiling SwiftSyntax SyntaxNodesC.swift
[73/96] Compiling SwiftSyntax SyntaxNodesD.swift
[74/96] Compiling SwiftSyntax SyntaxNodesEF.swift
[75/96] Compiling SwiftSyntax SyntaxNodesGHI.swift
[76/96] Compiling SwiftSyntax SyntaxNodesJKLMN.swift
[77/96] Compiling SwiftSyntax SyntaxNodesOP.swift
[78/96] Compiling SwiftSyntax SyntaxNodesQRS.swift
[79/96] Compiling SwiftSyntax SyntaxNodesTUVWXYZ.swift
[80/96] Compiling SwiftSyntax Utils.swift
[81/96] Compiling SwiftSyntax ChildNameForKeyPath.swift
[82/96] Compiling SwiftSyntax Keyword.swift
[83/96] Compiling SwiftSyntax RenamedChildrenCompatibility.swift
[84/96] Compiling SwiftSyntax RenamedNodesCompatibility.swift
[85/96] Compiling SwiftSyntax SyntaxAnyVisitor.swift
[86/96] Compiling SwiftSyntax SyntaxBaseNodes.swift
[87/96] Compiling SwiftSyntax SyntaxProtocol.swift
[88/96] Compiling SwiftSyntax SyntaxText.swift
[89/96] Compiling SwiftSyntax SyntaxTreeViewMode.swift
[90/96] Compiling SwiftSyntax TokenDiagnostic.swift
[91/96] Compiling SwiftSyntax TokenSequence.swift
[92/96] Compiling SwiftSyntax TokenSyntax.swift
[93/96] Compiling SwiftSyntax Trivia.swift
[94/139] Compiling SwiftParser StringLiterals.swift
[95/139] Compiling SwiftParser SwiftParserCompatibility.swift
[96/139] Compiling SwiftParser SwiftVersion.swift
[97/139] Compiling SwiftParser SyntaxUtils.swift
[98/143] Compiling SwiftParser Attributes.swift
[99/143] Compiling SwiftParser Availability.swift
[100/143] Compiling SwiftParser CharacterInfo.swift
[101/143] Compiling SwiftParser CollectionNodes+Parsable.swift
[102/143] Compiling SwiftParser CompilerFiles.swift
[103/143] Compiling SwiftParser TokenConsumer.swift
[104/143] Compiling SwiftParser TokenPrecedence.swift
[105/143] Compiling SwiftParser TokenSpec.swift
[106/143] Compiling SwiftParser TokenSpecSet.swift
[107/143] Compiling SwiftParser TopLevel.swift
[108/143] Compiling SwiftParser TriviaParser.swift
[109/143] Compiling SwiftParser Types.swift
[110/143] Compiling SwiftParser ExperimentalFeatures.swift
[111/143] Compiling SwiftParser RegexLiteralLexer.swift
[112/143] Compiling SwiftParser UnicodeScalarExtensions.swift
[113/143] Compiling SwiftParser Lookahead.swift
[114/143] Compiling SwiftParser LoopProgressCondition.swift
[115/143] Compiling SwiftParser Modifiers.swift
[116/143] Compiling SwiftParser Names.swift
[117/143] Compiling SwiftParser Nominals.swift
[118/143] Compiling SwiftParser Parameters.swift
[119/143] Compiling SwiftParser ParseSourceFile.swift
[120/143] Compiling SwiftParser Parser.swift
[121/143] Emitting module SwiftParser
[122/143] Compiling SwiftParser IsValidIdentifier.swift
[123/143] Compiling SwiftParser Cursor.swift
[124/143] Compiling SwiftParser Lexeme.swift
[125/143] Compiling SwiftParser LexemeSequence.swift
[126/143] Compiling SwiftParser Lexer.swift
[127/143] Compiling SwiftParser Patterns.swift
[128/143] Compiling SwiftParser Recovery.swift
[129/143] Compiling SwiftParser Specifiers.swift
[130/143] Compiling SwiftParser Statements.swift
[131/143] Compiling SwiftParser StringLiteralRepresentedLiteralValue.swift
[132/143] Compiling SwiftParser Declarations.swift
[133/143] Compiling SwiftParser Directives.swift
[134/143] Compiling SwiftParser ExpressionInterpretedAsVersionTuple.swift
[135/143] Compiling SwiftParser Expressions.swift
[136/143] Compiling SwiftParser IncrementalParseTransition.swift
[137/143] Compiling SwiftParser IsLexerClassified.swift
[138/143] Compiling SwiftParser LayoutNodes+Parsable.swift
[139/143] Compiling SwiftParser Parser+TokenSpecSet.swift
[140/143] Compiling SwiftParser TokenSpecStaticMembers.swift
[141/149] Compiling Hatch StringBuilder.swift
[142/149] Compiling Hatch Scope.swift
[143/149] Emitting module Hatch
[144/149] Compiling Hatch Symbol.swift
[145/149] Compiling Hatch SymbolParser.swift
[146/149] Compiling Hatch Symbol+Flattened.swift
[147/151] Compiling HatchExample HatchExample.swift
[148/151] Emitting module HatchExample
[148/151] Write Objects.LinkFileList
[149/151] Linking HatchExample
[150/151] Applying HatchExample
Build complete! (21.65s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift-syntax",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "602.0.0",
            "upper_bound" : "603.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-syntax.git"
    }
  ],
  "manifest_display_name" : "Hatch",
  "name" : "Hatch",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    },
    {
      "name" : "watchos",
      "version" : "6.0"
    },
    {
      "name" : "maccatalyst",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "HatchExample",
      "targets" : [
        "HatchExample"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "Hatch",
      "targets" : [
        "Hatch"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "6",
    "5"
  ],
  "targets" : [
    {
      "c99name" : "HatchTests",
      "module_type" : "SwiftTarget",
      "name" : "HatchTests",
      "path" : "Tests/HatchTests",
      "sources" : [
        "SymbolVisitorTests.swift"
      ],
      "target_dependencies" : [
        "Hatch"
      ],
      "type" : "test"
    },
    {
      "c99name" : "HatchExample",
      "module_type" : "SwiftTarget",
      "name" : "HatchExample",
      "path" : "Sources/HatchExample",
      "product_memberships" : [
        "HatchExample"
      ],
      "sources" : [
        "HatchExample.swift"
      ],
      "target_dependencies" : [
        "Hatch"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "Hatch",
      "module_type" : "SwiftTarget",
      "name" : "Hatch",
      "path" : "Sources/Hatch",
      "product_dependencies" : [
        "SwiftSyntax",
        "SwiftParser"
      ],
      "product_memberships" : [
        "HatchExample",
        "Hatch"
      ],
      "sources" : [
        "Scope.swift",
        "StringBuilder.swift",
        "Symbol+Flattened.swift",
        "Symbol.swift",
        "SymbolParser.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.10"
}
✅  Doc result (pending) reported
========================================
GenerateDocs
========================================
Generating docs at path:  $PWD/.docs/sdidla/hatch/602.0.0
Repository:               sdidla/Hatch
Swift version used:       6.3
Target:                   Hatch
Extracting symbol information for 'Hatch'...
Finished extracting symbol information for 'Hatch'. (27.79s)
Building documentation for 'Hatch'...
warning: 'flattened()' doesn't exist at '/Hatch/Symbol'
  --> Hatch.md:25:163-25:174
23 | ```
24 |
25 + You can use swift standard library methods to `filter`, `map`, `compactMap` etc. `Hatch` provides an additional method on a collection of symbols called ``Symbol/flattened()`` that returns a flat array of symbols derived from the symbol tree while preserving the subtree
26 |
27 | For example, to extract all the enum case elements from a specific enum, you can do:
Finished building documentation for 'Hatch' (0.34s)
Generated documentation archive at:
  /Users/admin/builder/spi-builder-workspace/.docs/sdidla/hatch/602.0.0
Fetching https://github.com/swiftlang/swift-docc-plugin
[1/2277] Fetching swift-docc-plugin
Updating https://github.com/apple/swift-syntax.git
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (1.20s)
Updated https://github.com/apple/swift-syntax.git (0.87s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 602.0.0 (2.71s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.4.6 (0.63s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3674] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (1.20s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.90s)
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-docc-plugin
Working copy of https://github.com/swiftlang/swift-docc-plugin resolved at 1.4.6
Building for debugging...
[0/8] Write snippet-extract-tool-entitlement.plist
[1/8] Write sources
[4/8] Write swift-version--6988338F2F200930.txt
[6/53] Emitting module SymbolKit
[7/57] Compiling SymbolKit Names.swift
[8/57] Compiling SymbolKit SPI.swift
[9/57] Compiling SymbolKit Snippet.swift
[10/57] Compiling SymbolKit Extension.swift
[11/57] Compiling SymbolKit DeclarationFragments.swift
[12/57] Compiling SymbolKit Fragment.swift
[13/57] Compiling SymbolKit FragmentKind.swift
[14/57] Compiling SymbolKit FunctionParameter.swift
[15/57] Compiling SymbolKit FunctionSignature.swift
[16/57] Compiling SymbolKit Relationship.swift
[17/57] Compiling SymbolKit RelationshipKind.swift
[18/57] Compiling SymbolKit SourceOrigin.swift
[19/57] Compiling SymbolKit GenericConstraints.swift
[20/57] Compiling SymbolKit Swift.swift
[21/57] Emitting module Snippets
[22/57] Compiling Snippets Snippet.swift
[23/57] Compiling Snippets SnippetParser.swift
[24/57] Compiling SymbolKit SourceRange.swift
[25/57] Compiling SymbolKit Metadata.swift
[26/57] Compiling SymbolKit Module.swift
[27/57] Compiling SymbolKit OperatingSystem.swift
[28/57] Compiling SymbolKit Platform.swift
[29/57] Compiling SymbolKit Mixin+Equals.swift
[30/57] Compiling SymbolKit Mixin+Hash.swift
[31/57] Compiling SymbolKit Mixin.swift
[32/57] Compiling SymbolKit LineList.swift
[33/57] Compiling SymbolKit Position.swift
[34/57] Compiling SymbolKit Identifier.swift
[35/57] Compiling SymbolKit KindIdentifier.swift
[36/57] Compiling SymbolKit Location.swift
[37/57] Compiling SymbolKit Mutability.swift
[38/57] Compiling SymbolKit SemanticVersion.swift
[39/57] Compiling SymbolKit AccessControl.swift
[40/57] Compiling SymbolKit Availability.swift
[41/57] Compiling SymbolKit AvailabilityItem.swift
[42/57] Compiling SymbolKit Domain.swift
[43/57] Compiling SymbolKit GenericConstraint.swift
[44/57] Compiling SymbolKit GenericParameter.swift
[45/57] Compiling SymbolKit Generics.swift
[46/57] Compiling SymbolKit Namespace.swift
[47/57] Compiling SymbolKit Symbol.swift
[48/57] Compiling SymbolKit SymbolKind.swift
[49/57] Compiling SymbolKit SymbolGraph.swift
[50/57] Compiling SymbolKit GraphCollector.swift
[51/57] Compiling SymbolKit UnifiedSymbol+Encodable.swift
[52/57] Compiling SymbolKit UnifiedSymbol.swift
[53/57] Compiling SymbolKit UnifiedSymbolGraph+Encodable.swift
[54/57] Compiling SymbolKit UnifiedSymbolGraph.swift
[55/61] Compiling snippet_extract URL+Status.swift
[56/61] Compiling snippet_extract SymbolGraph+Snippet.swift
[57/61] Emitting module snippet_extract
[58/61] Compiling snippet_extract SnippetBuildCommand.swift
[58/61] Write Objects.LinkFileList
[59/61] Linking snippet-extract-tool
[60/61] Applying snippet-extract-tool
Build of product 'snippet-extract' complete! (3.61s)
Building for debugging...
[0/1] Write swift-version--6988338F2F200930.txt
Build of target: 'Hatch' complete! (0.95s)
     208
2	/Users/admin/builder/spi-builder-workspace/.docs/sdidla/hatch/602.0.0
✅  Doc result (uploading) reported
========================================
SyncDocs
========================================
Doc archive source directory: $PWD/.docs/sdidla/hatch/602.0.0
File count: 208
Doc size:   2.0MB
Preparing doc bundle ...
Uploading prod-sdidla-hatch-602.0.0-70bdde5c.zip to s3://spi-docs-inbox/prod-sdidla-hatch-602.0.0-70bdde5c.zip
Copying... [13%]
Copying... [26%]
Copying... [38%]
Copying... [51%]
Copying... [64%]
Copying... [77%]
Copying... [89%]
Copying... [100%]
Done.