The Swift Package Index logo.Swift Package Index

Build Information

Failed to build swift-dwarf, reference main (dd0708), with Swift 6.1 for Wasm on 22 Dec 2025 16:31:37 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

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 /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/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 '/host/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
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/0xpablo/swift-dwarf.git
https://github.com/0xpablo/swift-dwarf.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
Found unhandled resource at /host/spi-builder-workspace/Tests/Fixtures/TestProgram.dSYM
Found unhandled resource at /host/spi-builder-workspace/Tests/Fixtures/TestProgram.dSYM
{
  "dependencies" : [
  ],
  "manifest_display_name" : "swift-dwarf",
  "name" : "swift-dwarf",
  "path" : "/host/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" : "/host/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" : "/host/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"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:dbcbf45695e2d1afcaee9a5a93239e71a6cc4a5872f338d6e993e9ceefe7df1b
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
error: 'spi-builder-workspace': package 'spi-builder-workspace' is using Swift tools version 6.2.0 but the installed version is 6.1.0
error: 'spi-builder-workspace': package 'spi-builder-workspace' is using Swift tools version 6.2.0 but the installed version is 6.1.0
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:dbcbf45695e2d1afcaee9a5a93239e71a6cc4a5872f338d6e993e9ceefe7df1b
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
error: 'spi-builder-workspace': package 'spi-builder-workspace' is using Swift tools version 6.2.0 but the installed version is 6.1.0
error: 'spi-builder-workspace': package 'spi-builder-workspace' is using Swift tools version 6.2.0 but the installed version is 6.1.0
BUILD FAILURE 6.1 wasm