The Swift Package Index logo.Swift Package Index

Build Information

Successful build of swift-dwarf, reference main (dd0708), with Swift 6.2 for macOS (SPM) on 22 Dec 2025 16:32:06 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/0xpablo/swift-dwarf.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/0xpablo/swift-dwarf
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at dd07086 Update libdwarf submodule
Submodule path 'libdwarf': checked out '16c392d2b6ad429001c44c863f70b2d13454c4e2'
Submodule 'libdwarf' (https://github.com/0xpablo/libdwarf-code.git) registered for path 'libdwarf'
Cloning into '/Users/admin/builder/spi-builder-workspace/libdwarf'...
Cloned https://github.com/0xpablo/swift-dwarf.git
Revision (git rev-parse @):
dd070865e84a69236d420a69a2443d633d8325e7
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/0xpablo/swift-dwarf.git at main
========================================
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-dwarf",
      "name": "swift-dwarf",
      "url": "https://github.com/0xpablo/swift-dwarf.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-dwarf",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/0xpablo/swift-dwarf.git
[1/73] Fetching swift-dwarf
Fetched https://github.com/0xpablo/swift-dwarf.git from cache (0.96s)
Creating working copy for https://github.com/0xpablo/swift-dwarf.git
Working copy of https://github.com/0xpablo/swift-dwarf.git resolved at main (dd07086)
warning: '.resolve-product-dependencies': dependency 'swift-dwarf' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/0xpablo/swift-dwarf.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0.app xcrun swift build --arch arm64
Found unhandled resource at /Users/admin/builder/spi-builder-workspace/Tests/Fixtures/TestProgram.dSYM
Found unhandled resource at /Users/admin/builder/spi-builder-workspace/Tests/Fixtures/TestProgram.dSYM
Building for debugging...
[0/66] Write sources
[2/66] Write swift-version-49B95AFC49DCD68C.txt
[3/66] Compiling CLibdwarf dwarf_debug_sup.c
[4/66] Compiling CLibdwarf dwarf_crc.c
[5/66] Compiling CLibdwarf dwarf_tied.c
[6/66] Compiling CLibdwarf dwarf_tsearchhash.c
[7/66] Compiling CLibdwarf dwarf_xu_index.c
[8/66] Compiling CLibdwarf dwarf_abbrev.c
[9/66] Compiling CLibdwarf dwarf_util.c
[10/66] Compiling CLibdwarf dwarf_crc32.c
[11/66] Compiling CLibdwarf dwarf_arange.c
[12/66] Compiling CLibdwarf dwarf_cfa_read.c
[13/66] Compiling CLibdwarf dwarf_stringsection.c
[14/66] Compiling CLibdwarf dwarf_string.c
[15/66] Compiling CLibdwarf dwarf_str_offsets.c
[16/66] Compiling CLibdwarf dwarf_setup_sections.c
[17/66] Compiling CLibdwarf dwarf_debuglink.c
[18/66] Compiling CLibdwarf dwarf_secname_ck.c
[19/66] Compiling CLibdwarf dwarf_safe_strcpy.c
[20/66] Compiling CLibdwarf dwarf_safe_arithmetic.c
[21/66] Compiling CLibdwarf dwarf_ranges.c
[22/66] Compiling CLibdwarf dwarf_rnglists.c
[23/66] Compiling CLibdwarf dwarf_object_read_common.c
[24/66] Compiling CLibdwarf dwarf_object_detector.c
[25/66] Compiling CLibdwarf dwarf_peread.c
[26/66] Compiling CLibdwarf dwarf_memcpy_swap.c
[27/66] Compiling CLibdwarf dwarf_query.c
[28/66] Compiling CLibdwarf dwarf_names.c
[29/66] Compiling CLibdwarf dwarf_print_lines.c
[30/66] Compiling CLibdwarf dwarf_local_malloc.c
[31/66] Compiling CLibdwarf dwarf_macro.c
[32/66] Compiling CLibdwarf dwarf_macro5.c
[33/66] Compiling CLibdwarf dwarf_lvn_name.c
[34/66] Compiling CLibdwarf dwarf_lname_version.c
[35/66] Compiling CLibdwarf dwarf_machoread.c
[36/66] Compiling CLibdwarf dwarf_locationop_read.c
[36/66] Compiling CLibdwarf dwarf_loclists.c
[38/66] Compiling CLibdwarf dwarf_loc.c
[39/66] Compiling CLibdwarf dwarf_leb.c
[40/66] Compiling CLibdwarf dwarf_init_finish.c
[41/66] Compiling CLibdwarf dwarf_harmless.c
[42/66] Compiling CLibdwarf dwarf_groups.c
[43/66] Compiling CLibdwarf dwarf_line.c
[44/66] Compiling CLibdwarf dwarf_gnu_index.c
[45/66] Compiling CLibdwarf dwarf_generic_init.c
[46/66] Compiling CLibdwarf dwarf_global.c
[47/66] Compiling CLibdwarf dwarf_gdbindex.c
[48/66] Compiling CLibdwarf dwarf_form_class_names.c
[49/66] Compiling CLibdwarf dwarf_frame2.c
[50/66] Compiling CLibdwarf dwarf_frame.c
[51/66] Compiling CLibdwarf dwarf_find_sigref.c
[52/66] Compiling CLibdwarf dwarf_fission_to_cu.c
[53/66] Compiling CLibdwarf dwarf_fill_in_attr_form.c
[54/66] Compiling CLibdwarf dwarf_form.c
[55/66] Compiling CLibdwarf dwarf_error.c
[56/66] Compiling CLibdwarf dwarf_elf_rel_detector.c
[57/66] Compiling CLibdwarf dwarf_dsc.c
[58/66] Compiling CLibdwarf dwarf_elf_load_headers.c
[59/66] Compiling CLibdwarf dwarf_debugaddr.c
[60/66] Compiling CLibdwarf dwarf_64machoread.c
[61/66] Compiling CLibdwarf dwarf_debugnames.c
[62/66] Compiling CLibdwarf dwarf_die_deliv.c
[63/66] Compiling CLibdwarf dwarf_seekr.c
[64/66] Compiling CLibdwarf dwarf_alloc.c
[65/66] Compiling CLibdwarf dwarf_elfread.c
[67/74] Compiling DWARF DWARFDie.swift
[68/74] Compiling DWARF DWARFCompilationUnit.swift
[69/74] Emitting module DWARF
[70/74] Compiling DWARF DWARFError.swift
[71/74] Compiling DWARF DWARFLineTable.swift
[72/74] Compiling DWARF DWARFAttribute.swift
[73/74] Compiling DWARF DWARFObjectInfo.swift
[74/74] Compiling DWARF DWARFSession.swift
[75/81] Compiling DWARFSymbolication SymbolicationOptions.swift
[76/81] Compiling DWARFSymbolication DWARFSymbolication.swift
[77/81] Compiling DWARFSymbolication DWARFInlineFrame.swift
[78/81] Compiling DWARFSymbolication DWARFDie+Symbolication.swift
[79/81] Compiling DWARFSymbolication Demangler.swift
[80/81] Emitting module DWARFSymbolication
[81/81] Compiling DWARFSymbolication DWARFCompilationUnit+Symbolication.swift
Build complete! (5.89s)
Build complete.
Found unhandled resource at /Users/admin/builder/spi-builder-workspace/Tests/Fixtures/TestProgram.dSYM
Found unhandled resource at /Users/admin/builder/spi-builder-workspace/Tests/Fixtures/TestProgram.dSYM
{
  "dependencies" : [
  ],
  "manifest_display_name" : "swift-dwarf",
  "name" : "swift-dwarf",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "DWARF",
      "targets" : [
        "DWARF"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "DWARFSymbolication",
      "targets" : [
        "DWARFSymbolication"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "DWARFTests",
      "module_type" : "SwiftTarget",
      "name" : "DWARFTests",
      "path" : "Tests/DWARFTests",
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/Fixtures/TestProgram.dSYM",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "DWARFDieTests.swift",
        "DWARFLineTableTests.swift",
        "DWARFObjectInfoTests.swift",
        "SwiftDWARFTests.swift"
      ],
      "target_dependencies" : [
        "DWARF"
      ],
      "type" : "test"
    },
    {
      "c99name" : "DWARFSymbolicationTests",
      "module_type" : "SwiftTarget",
      "name" : "DWARFSymbolicationTests",
      "path" : "Tests/DWARFSymbolicationTests",
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/Fixtures/TestProgram.dSYM",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "DWARFSymbolicationTests.swift",
        "DemanglerTests.swift",
        "InlineFrameTests.swift"
      ],
      "target_dependencies" : [
        "DWARFSymbolication",
        "DWARF"
      ],
      "type" : "test"
    },
    {
      "c99name" : "DWARFSymbolication",
      "module_type" : "SwiftTarget",
      "name" : "DWARFSymbolication",
      "path" : "Sources/DWARFSymbolication",
      "product_memberships" : [
        "DWARFSymbolication"
      ],
      "sources" : [
        "DWARFCompilationUnit+Symbolication.swift",
        "DWARFDie+Symbolication.swift",
        "DWARFInlineFrame.swift",
        "DWARFSymbolication.swift",
        "Demangler.swift",
        "SymbolicationOptions.swift"
      ],
      "target_dependencies" : [
        "DWARF",
        "CLibdwarf"
      ],
      "type" : "library"
    },
    {
      "c99name" : "DWARF",
      "module_type" : "SwiftTarget",
      "name" : "DWARF",
      "path" : "Sources/DWARF",
      "product_memberships" : [
        "DWARF",
        "DWARFSymbolication"
      ],
      "sources" : [
        "DWARFAttribute.swift",
        "DWARFCompilationUnit.swift",
        "DWARFDie.swift",
        "DWARFError.swift",
        "DWARFLineTable.swift",
        "DWARFObjectInfo.swift",
        "DWARFSession.swift"
      ],
      "target_dependencies" : [
        "CLibdwarf"
      ],
      "type" : "library"
    },
    {
      "c99name" : "CLibdwarf",
      "module_type" : "ClangTarget",
      "name" : "CLibdwarf",
      "path" : "libdwarf/src/lib/libdwarf",
      "product_memberships" : [
        "DWARF",
        "DWARFSymbolication"
      ],
      "sources" : [
        "dwarf_64machoread.c",
        "dwarf_abbrev.c",
        "dwarf_alloc.c",
        "dwarf_arange.c",
        "dwarf_cfa_read.c",
        "dwarf_crc.c",
        "dwarf_crc32.c",
        "dwarf_debug_sup.c",
        "dwarf_debugaddr.c",
        "dwarf_debuglink.c",
        "dwarf_debugnames.c",
        "dwarf_die_deliv.c",
        "dwarf_dsc.c",
        "dwarf_elf_load_headers.c",
        "dwarf_elf_rel_detector.c",
        "dwarf_elfread.c",
        "dwarf_error.c",
        "dwarf_fill_in_attr_form.c",
        "dwarf_find_sigref.c",
        "dwarf_fission_to_cu.c",
        "dwarf_form.c",
        "dwarf_form_class_names.c",
        "dwarf_frame.c",
        "dwarf_frame2.c",
        "dwarf_gdbindex.c",
        "dwarf_generic_init.c",
        "dwarf_global.c",
        "dwarf_gnu_index.c",
        "dwarf_groups.c",
        "dwarf_harmless.c",
        "dwarf_init_finish.c",
        "dwarf_leb.c",
        "dwarf_line.c",
        "dwarf_lname_version.c",
        "dwarf_loc.c",
        "dwarf_local_malloc.c",
        "dwarf_locationop_read.c",
        "dwarf_loclists.c",
        "dwarf_lvn_name.c",
        "dwarf_machoread.c",
        "dwarf_macro.c",
        "dwarf_macro5.c",
        "dwarf_memcpy_swap.c",
        "dwarf_names.c",
        "dwarf_object_detector.c",
        "dwarf_object_read_common.c",
        "dwarf_peread.c",
        "dwarf_print_lines.c",
        "dwarf_query.c",
        "dwarf_ranges.c",
        "dwarf_rnglists.c",
        "dwarf_safe_arithmetic.c",
        "dwarf_safe_strcpy.c",
        "dwarf_secname_ck.c",
        "dwarf_seekr.c",
        "dwarf_setup_sections.c",
        "dwarf_str_offsets.c",
        "dwarf_string.c",
        "dwarf_stringsection.c",
        "dwarf_tied.c",
        "dwarf_tsearchhash.c",
        "dwarf_util.c",
        "dwarf_xu_index.c"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.2"
}
✅  Doc result (pending) reported
========================================
GenerateDocs
========================================
Generating docs at path:  $PWD/.docs/0xpablo/swift-dwarf/main
Repository:               0xpablo/swift-dwarf
Swift version used:       6.2
Target:                   DWARF
Found unhandled resource at /Users/admin/builder/spi-builder-workspace/Tests/Fixtures/TestProgram.dSYM
Found unhandled resource at /Users/admin/builder/spi-builder-workspace/Tests/Fixtures/TestProgram.dSYM
Extracting symbol information for 'DWARF'...
Found unhandled resource at /Users/admin/builder/spi-builder-workspace/Tests/Fixtures/TestProgram.dSYM
Found unhandled resource at /Users/admin/builder/spi-builder-workspace/Tests/Fixtures/TestProgram.dSYM
Finished extracting symbol information for 'DWARF'. (1.75s)
Building documentation for 'DWARF'...
warning: Only links are allowed in task group list items
warning: Only links are allowed in task group list items
warning: Only links are allowed in task group list items
warning: Only links are allowed in task group list items
warning: 'offset()' doesn't exist at '/DWARF/DWARFDie'
  --> Sources/DWARF/DWARFDie.swift:42:9-42:17
40 | /// - ``tag()``
41 | /// - ``name()``
42 + /// - ``offset()``
43 | ///
44 | /// - Note: DIE objects maintain a weak reference to their owning session.
warning: 'compilationUnit(at:section:)' doesn't exist at '/DWARF/DWARFSession'
  --> Sources/DWARF/DWARFSession.swift:37:9-37:37
35 | /// ### Accessing Debug Information
36 | /// - ``compilationUnits(section:)``
37 + /// - ``compilationUnit(at:section:)``
   |         ├─suggestion: Replace 'compilationUnit(at:section:)' with 'compilationUnit(containing:section:)'
   |         ├─suggestion: Replace 'compilationUnit(at:section:)' with 'compilationUnits(section:)'
   |         ╰─suggestion: Replace 'compilationUnit(at:section:)' with 'makeCompilationUnitIterator(section:)'
38 | /// - ``objectInfo()``
39 | ///
Finished building documentation for 'DWARF' (0.25s)
Generated documentation archive at:
  /Users/admin/builder/spi-builder-workspace/.docs/0xpablo/swift-dwarf/main
Fetching https://github.com/swiftlang/swift-docc-plugin
[1/2158] Fetching swift-docc-plugin
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (1.25s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.4.5 (3.31s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3628] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (1.35s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (2.08s)
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.5
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 sources
[1/8] Write snippet-extract-tool-entitlement.plist
[1/8] Write sources
[4/8] Write swift-version-49B95AFC49DCD68C.txt
[6/53] Compiling Snippets SnippetParser.swift
[7/53] Compiling Snippets Snippet.swift
[8/53] Emitting module Snippets
[9/53] Compiling SymbolKit Mixin+Equals.swift
[10/53] Compiling SymbolKit Mixin+Hash.swift
[11/53] Compiling SymbolKit Mixin.swift
[12/53] Compiling SymbolKit LineList.swift
[13/53] Compiling SymbolKit Position.swift
[14/57] Compiling SymbolKit SemanticVersion.swift
[15/57] Compiling SymbolKit AccessControl.swift
[16/57] Compiling SymbolKit Availability.swift
[17/57] Compiling SymbolKit AvailabilityItem.swift
[18/57] Compiling SymbolKit Domain.swift
[19/57] Compiling SymbolKit Relationship.swift
[20/57] Compiling SymbolKit RelationshipKind.swift
[21/57] Compiling SymbolKit SourceOrigin.swift
[22/57] Compiling SymbolKit GenericConstraints.swift
[23/57] Compiling SymbolKit Swift.swift
[24/57] Compiling SymbolKit Identifier.swift
[25/57] Compiling SymbolKit KindIdentifier.swift
[26/57] Compiling SymbolKit Location.swift
[27/57] Compiling SymbolKit Mutability.swift
[28/57] Compiling SymbolKit Symbol.swift
[29/57] Compiling SymbolKit SymbolKind.swift
[30/57] Compiling SymbolKit SymbolGraph.swift
[31/57] Compiling SymbolKit GraphCollector.swift
[32/57] Emitting module SymbolKit
[33/57] Compiling SymbolKit SourceRange.swift
[34/57] Compiling SymbolKit Metadata.swift
[35/57] Compiling SymbolKit Module.swift
[36/57] Compiling SymbolKit OperatingSystem.swift
[37/57] Compiling SymbolKit Platform.swift
[38/57] Compiling SymbolKit GenericConstraint.swift
[39/57] Compiling SymbolKit GenericParameter.swift
[40/57] Compiling SymbolKit Generics.swift
[41/57] Compiling SymbolKit Namespace.swift
[42/57] Compiling SymbolKit DeclarationFragments.swift
[43/57] Compiling SymbolKit Fragment.swift
[44/57] Compiling SymbolKit FragmentKind.swift
[45/57] Compiling SymbolKit FunctionParameter.swift
[46/57] Compiling SymbolKit FunctionSignature.swift
[47/57] Compiling SymbolKit Names.swift
[48/57] Compiling SymbolKit SPI.swift
[49/57] Compiling SymbolKit Snippet.swift
[50/57] Compiling SymbolKit Extension.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] Compiling snippet_extract SnippetBuildCommand.swift
[58/61] Emitting module snippet_extract
[58/61] Write Objects.LinkFileList
[59/61] Linking snippet-extract-tool
[60/61] Applying snippet-extract-tool
Build of product 'snippet-extract' complete! (3.77s)
Building for debugging...
[0/1] Write swift-version-49B95AFC49DCD68C.txt
Build of target: 'DWARF' complete! (0.25s)
Target:                   DWARFSymbolication
Found unhandled resource at /Users/admin/builder/spi-builder-workspace/Tests/Fixtures/TestProgram.dSYM
Found unhandled resource at /Users/admin/builder/spi-builder-workspace/Tests/Fixtures/TestProgram.dSYM
Extracting symbol information for 'DWARFSymbolication'...
Found unhandled resource at /Users/admin/builder/spi-builder-workspace/Tests/Fixtures/TestProgram.dSYM
Found unhandled resource at /Users/admin/builder/spi-builder-workspace/Tests/Fixtures/TestProgram.dSYM
Finished extracting symbol information for 'DWARFSymbolication'. (0.34s)
Building documentation for 'DWARFSymbolication'...
warning: 'DWARFError' doesn't exist at '/DWARFSymbolication/DWARF/DWARFSession/symbolicate(address:section:options:)'
  --> Sources/DWARFSymbolication/DWARFSymbolication.swift:28:21-28:31
26 |     ///   - options: Controls how libdwarf errors are surfaced via ``SymbolicationOptions``.
27 |     /// - Returns: A ``DWARFSymbolicationResult`` if debug info exists for `address`, otherwise `nil`.
28 +     /// - Throws: ``DWARFError`` when libdwarf reports a fatal failure and the error policy is `.strict`.
29 |     public func symbolicate(
30 |         address: UInt64,
Finished building documentation for 'DWARFSymbolication' (0.07s)
Generated documentation archive at:
  /Users/admin/builder/spi-builder-workspace/.docs/0xpablo/swift-dwarf/main
Building for debugging...
[0/3] Write swift-version-49B95AFC49DCD68C.txt
Build of product 'snippet-extract' complete! (0.21s)
Building for debugging...
[0/1] Write swift-version-49B95AFC49DCD68C.txt
Build of target: 'DWARFSymbolication' complete! (0.25s)
Successfully merged into /Users/admin/builder/spi-builder-workspace/.docs-staging/0xpablo/swift-dwarf/main/index/index.json
Successfully merged into /Users/admin/builder/spi-builder-workspace/.docs-staging/0xpablo/swift-dwarf/main/linkable-paths.json
     646
5	/Users/admin/builder/spi-builder-workspace/.docs/0xpablo/swift-dwarf/main
✅  Doc result (uploading) reported
========================================
SyncDocs
========================================
Doc archive source directory: $PWD/.docs/0xpablo/swift-dwarf/main
File count: 646
Doc size:   5.0MB
Preparing doc bundle ...
Uploading prod-0xpablo-swift-dwarf-main-2aed7548.zip to s3://spi-docs-inbox/prod-0xpablo-swift-dwarf-main-2aed7548.zip
Copying... [13%]
Copying... [20%]
Copying... [33%]
Copying... [40%]
Copying... [53%]
Copying... [60%]
Copying... [73%]
Copying... [80%]
Copying... [94%]
Copying... [100%]
Done.