Build Information
Successful build of Hatch, reference main (a78ebf), with Swift 6.3 for macOS (SPM) on 17 Apr 2026 01:15:22 UTC.
Swift 6 data race errors: 0
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/sdidla/Hatch.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/sdidla/Hatch
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
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 main
Fetching https://github.com/apple/swift-syntax.git
[1/74985] Fetching swift-syntax
Fetched https://github.com/apple/swift-syntax.git from cache (4.52s)
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.66s)
Fetching https://github.com/apple/swift-syntax.git from cache
Fetched https://github.com/apple/swift-syntax.git from cache (0.83s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 602.0.0 (1.62s)
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
Creating working copy for https://github.com/sdidla/Hatch.git
Working copy of https://github.com/sdidla/Hatch.git resolved at main (a78ebf1)
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
[4/15] Write HatchExample-entitlement.plist
[4/15] Write sources
[10/15] Write swift-version--6988338F2F200930.txt
[12/25] Emitting module SwiftSyntax600
[13/25] Emitting module SwiftSyntax602
[13/25] Compiling _SwiftSyntaxCShims PlatformMutex.c
[15/25] Emitting module SwiftSyntax509
[16/25] Compiling SwiftSyntax509 Empty.swift
[17/25] Compiling SwiftSyntax600 Empty.swift
[18/25] Emitting module SwiftSyntax510
[19/25] Compiling SwiftSyntax510 Empty.swift
[20/25] Compiling SwiftSyntax602 Empty.swift
[21/25] Emitting module SwiftSyntax601
[22/25] Compiling SwiftSyntax601 Empty.swift
[23/89] Compiling SwiftSyntax AbsolutePosition.swift
[24/89] Compiling SwiftSyntax AbsoluteSyntaxInfo.swift
[25/89] Compiling SwiftSyntax ArenaAllocatedBuffer.swift
[26/89] Compiling SwiftSyntax Assert.swift
[27/89] Compiling SwiftSyntax BumpPtrAllocator.swift
[28/89] Compiling SwiftSyntax CommonAncestor.swift
[29/89] Compiling SwiftSyntax Convenience.swift
[30/96] Compiling SwiftSyntax SyntaxProtocol.swift
[31/96] Compiling SwiftSyntax SyntaxText.swift
[32/96] Compiling SwiftSyntax SyntaxTreeViewMode.swift
[33/96] Compiling SwiftSyntax TokenDiagnostic.swift
[34/96] Compiling SwiftSyntax TokenSequence.swift
[35/96] Compiling SwiftSyntax TokenSyntax.swift
[36/96] Compiling SwiftSyntax Trivia.swift
[37/96] Compiling SwiftSyntax CustomTraits.swift
[38/96] Compiling SwiftSyntax EditorPlaceholder.swift
[39/96] Compiling SwiftSyntax Identifier.swift
[40/96] Compiling SwiftSyntax MemoryLayout.swift
[41/96] Compiling SwiftSyntax MissingNodeInitializers.swift
[42/96] Compiling SwiftSyntax RawSyntax.swift
[43/96] Compiling SwiftSyntax RawSyntaxArena.swift
[44/96] Compiling SwiftSyntax RawSyntaxLayoutView.swift
[45/96] Compiling SwiftSyntax RawSyntaxNodeProtocol.swift
[46/96] Compiling SwiftSyntax RawSyntaxTokenView.swift
[47/96] Compiling SwiftSyntax SourceEdit.swift
[48/96] Compiling SwiftSyntax SourceLength.swift
[49/96] Compiling SwiftSyntax SourceLocation.swift
[50/96] Compiling SwiftSyntax SourcePresence.swift
[51/96] Compiling SwiftSyntax SwiftSyntaxCompatibility.swift
[52/96] Compiling SwiftSyntax Syntax.swift
[53/96] Compiling SwiftSyntax SyntaxChildren.swift
[54/96] Compiling SwiftSyntax SyntaxCollection.swift
[55/96] Compiling SwiftSyntax SyntaxHashable.swift
[56/96] Compiling SwiftSyntax SyntaxIdentifier.swift
[57/96] Compiling SwiftSyntax SyntaxNodeStructure.swift
[58/96] Emitting module SwiftSyntax
[59/96] Compiling SwiftSyntax Tokens.swift
[60/96] Compiling SwiftSyntax TriviaPieces.swift
[61/96] Compiling SwiftSyntax RawSyntaxNodesAB.swift
[62/96] Compiling SwiftSyntax RawSyntaxNodesC.swift
[63/96] Compiling SwiftSyntax RawSyntaxNodesD.swift
[64/96] Compiling SwiftSyntax RawSyntaxNodesEF.swift
[65/96] Compiling SwiftSyntax RawSyntaxNodesGHI.swift
[66/96] Compiling SwiftSyntax SyntaxCollections.swift
[67/96] Compiling SwiftSyntax SyntaxEnum.swift
[68/96] Compiling SwiftSyntax SyntaxKind.swift
[69/96] Compiling SwiftSyntax SyntaxRewriter.swift
[70/96] Compiling SwiftSyntax SyntaxTraits.swift
[71/96] Compiling SwiftSyntax SyntaxVisitor.swift
[72/96] Compiling SwiftSyntax TokenKind.swift
[73/96] Compiling SwiftSyntax RawSyntaxNodesJKLMN.swift
[74/96] Compiling SwiftSyntax RawSyntaxNodesOP.swift
[75/96] Compiling SwiftSyntax RawSyntaxNodesQRS.swift
[76/96] Compiling SwiftSyntax RawSyntaxNodesTUVWXYZ.swift
[77/96] Compiling SwiftSyntax RawSyntaxValidation.swift
[78/96] Compiling SwiftSyntax SyntaxNodesAB.swift
[79/96] Compiling SwiftSyntax SyntaxNodesC.swift
[80/96] Compiling SwiftSyntax SyntaxNodesD.swift
[81/96] Compiling SwiftSyntax SyntaxNodesEF.swift
[82/96] Compiling SwiftSyntax SyntaxNodesGHI.swift
[83/96] Compiling SwiftSyntax SyntaxNodesJKLMN.swift
[84/96] Compiling SwiftSyntax SyntaxNodesOP.swift
[85/96] Compiling SwiftSyntax SyntaxNodesQRS.swift
[86/96] Compiling SwiftSyntax SyntaxNodesTUVWXYZ.swift
[87/96] Compiling SwiftSyntax Utils.swift
[88/96] Compiling SwiftSyntax ChildNameForKeyPath.swift
[89/96] Compiling SwiftSyntax Keyword.swift
[90/96] Compiling SwiftSyntax RenamedChildrenCompatibility.swift
[91/96] Compiling SwiftSyntax RenamedNodesCompatibility.swift
[92/96] Compiling SwiftSyntax SyntaxAnyVisitor.swift
[93/96] Compiling SwiftSyntax SyntaxBaseNodes.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 TopLevel.swift
[104/143] Compiling SwiftParser TriviaParser.swift
[105/143] Compiling SwiftParser Types.swift
[106/143] Compiling SwiftParser ExperimentalFeatures.swift
[107/143] Compiling SwiftParser RegexLiteralLexer.swift
[108/143] Compiling SwiftParser UnicodeScalarExtensions.swift
[109/143] Compiling SwiftParser Lookahead.swift
[110/143] Compiling SwiftParser LoopProgressCondition.swift
[111/143] Compiling SwiftParser Modifiers.swift
[112/143] Compiling SwiftParser Names.swift
[113/143] Compiling SwiftParser Nominals.swift
[114/143] Compiling SwiftParser Parameters.swift
[115/143] Compiling SwiftParser ParseSourceFile.swift
[116/143] Compiling SwiftParser Parser.swift
[117/143] Emitting module SwiftParser
[118/143] Compiling SwiftParser TokenConsumer.swift
[119/143] Compiling SwiftParser TokenPrecedence.swift
[120/143] Compiling SwiftParser TokenSpec.swift
[121/143] Compiling SwiftParser TokenSpecSet.swift
[122/143] Compiling SwiftParser Patterns.swift
[123/143] Compiling SwiftParser Recovery.swift
[124/143] Compiling SwiftParser Specifiers.swift
[125/143] Compiling SwiftParser Statements.swift
[126/143] Compiling SwiftParser StringLiteralRepresentedLiteralValue.swift
[127/143] Compiling SwiftParser IsValidIdentifier.swift
[128/143] Compiling SwiftParser Cursor.swift
[129/143] Compiling SwiftParser Lexeme.swift
[130/143] Compiling SwiftParser LexemeSequence.swift
[131/143] Compiling SwiftParser Lexer.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 Scope.swift
[142/149] Compiling Hatch StringBuilder.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] Emitting module HatchExample
[148/151] Compiling HatchExample HatchExample.swift
[148/151] Write Objects.LinkFileList
[149/151] Linking HatchExample
[150/151] Applying HatchExample
Build complete! (22.13s)
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/main
Repository: sdidla/Hatch
Swift version used: 6.3
Target: Hatch
Extracting symbol information for 'Hatch'...
Finished extracting symbol information for 'Hatch'. (27.39s)
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.37s)
Generated documentation archive at:
/Users/admin/builder/spi-builder-workspace/.docs/sdidla/hatch/main
Fetching https://github.com/swiftlang/swift-docc-plugin
Updating https://github.com/apple/swift-syntax.git
[1/2277] Fetching swift-docc-plugin
Updated https://github.com/apple/swift-syntax.git (0.92s)
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (1.13s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 602.0.0 (1.84s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.4.6 (0.60s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3672] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (1.18s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.85s)
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-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
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 SourceRange.swift
[8/57] Compiling SymbolKit Metadata.swift
[9/57] Compiling SymbolKit Module.swift
[10/57] Compiling SymbolKit OperatingSystem.swift
[11/57] Compiling SymbolKit Platform.swift
[12/57] Compiling SymbolKit GenericConstraint.swift
[13/57] Compiling SymbolKit GenericParameter.swift
[14/57] Compiling SymbolKit Generics.swift
[15/57] Compiling SymbolKit Namespace.swift
[16/57] Compiling SymbolKit Mixin+Equals.swift
[17/57] Compiling SymbolKit Mixin+Hash.swift
[18/57] Compiling SymbolKit Mixin.swift
[19/57] Compiling SymbolKit LineList.swift
[20/57] Compiling SymbolKit Position.swift
[21/57] Compiling SymbolKit Identifier.swift
[22/57] Compiling SymbolKit KindIdentifier.swift
[23/57] Compiling SymbolKit Location.swift
[24/57] Compiling SymbolKit Mutability.swift
[25/57] Compiling Snippets Snippet.swift
[26/57] Emitting module Snippets
[27/57] Compiling Snippets SnippetParser.swift
[28/57] Compiling SymbolKit Names.swift
[29/57] Compiling SymbolKit SPI.swift
[30/57] Compiling SymbolKit Snippet.swift
[31/57] Compiling SymbolKit Extension.swift
[32/57] Compiling SymbolKit Symbol.swift
[33/57] Compiling SymbolKit SymbolKind.swift
[34/57] Compiling SymbolKit SymbolGraph.swift
[35/57] Compiling SymbolKit GraphCollector.swift
[36/57] Compiling SymbolKit DeclarationFragments.swift
[37/57] Compiling SymbolKit Fragment.swift
[38/57] Compiling SymbolKit FragmentKind.swift
[39/57] Compiling SymbolKit FunctionParameter.swift
[40/57] Compiling SymbolKit FunctionSignature.swift
[41/57] Compiling SymbolKit SemanticVersion.swift
[42/57] Compiling SymbolKit AccessControl.swift
[43/57] Compiling SymbolKit Availability.swift
[44/57] Compiling SymbolKit AvailabilityItem.swift
[45/57] Compiling SymbolKit Domain.swift
[46/57] Compiling SymbolKit Relationship.swift
[47/57] Compiling SymbolKit RelationshipKind.swift
[48/57] Compiling SymbolKit SourceOrigin.swift
[49/57] Compiling SymbolKit GenericConstraints.swift
[50/57] Compiling SymbolKit Swift.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 SnippetBuildCommand.swift
[56/61] Compiling snippet_extract URL+Status.swift
[57/61] Emitting module snippet_extract
[58/61] Compiling snippet_extract SymbolGraph+Snippet.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.71s)
Building for debugging...
[0/1] Write swift-version--6988338F2F200930.txt
Build of target: 'Hatch' complete! (0.82s)
208
2 /Users/admin/builder/spi-builder-workspace/.docs/sdidla/hatch/main
✅ Doc result (uploading) reported
========================================
SyncDocs
========================================
Doc archive source directory: $PWD/.docs/sdidla/hatch/main
File count: 208
Doc size: 2.0MB
Preparing doc bundle ...
Uploading prod-sdidla-hatch-main-8ab68bc7.zip to s3://spi-docs-inbox/prod-sdidla-hatch-main-8ab68bc7.zip
Copying... [13%]
Copying... [26%]
Copying... [38%]
Copying... [51%]
Copying... [64%]
Copying... [77%]
Copying... [90%]
Copying... [100%]
Done.