The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build HotReloading, reference main (7b487d), with Swift 6.1 for Wasm on 28 Nov 2025 14:58:51 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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/johnno1962/HotReloading.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/johnno1962/HotReloading
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 7b487d0 Gentle reminder.
Cloned https://github.com/johnno1962/HotReloading.git
Revision (git rev-parse @):
7b487d0af81bb486e7d7a3e4165519449515bf6f
SUCCESS checkout https://github.com/johnno1962/HotReloading.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/johnno1962/HotReloading.git
https://github.com/johnno1962/HotReloading.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "cxx_language_standard" : "c++11",
  "dependencies" : [
    {
      "identity" : "swifttrace",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "8.6.1",
            "upper_bound" : "8.7.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/johnno1962/SwiftTrace"
    },
    {
      "identity" : "swiftregex5",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "6.1.2",
            "upper_bound" : "6.2.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/johnno1962/SwiftRegex5"
    },
    {
      "identity" : "xprobeplugin",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.9.10",
            "upper_bound" : "2.10.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/johnno1962/XprobePlugin"
    },
    {
      "identity" : "remote",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.3.5",
            "upper_bound" : "2.4.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/johnno1962/Remote"
    },
    {
      "identity" : "profileswiftui",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.1.3",
            "upper_bound" : "1.2.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/johnno1962/ProfileSwiftUI"
    }
  ],
  "manifest_display_name" : "HotReloading",
  "name" : "HotReloading",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.12"
    },
    {
      "name" : "ios",
      "version" : "10.0"
    },
    {
      "name" : "tvos",
      "version" : "10.0"
    }
  ],
  "products" : [
    {
      "name" : "HotReloading",
      "targets" : [
        "HotReloading"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "HotReloadingGuts",
      "targets" : [
        "HotReloadingGuts"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "injectiondGuts",
      "targets" : [
        "injectiondGuts"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "injectiond",
      "targets" : [
        "injectiond"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "injectiondGuts",
      "module_type" : "ClangTarget",
      "name" : "injectiondGuts",
      "path" : "Sources/injectiondGuts",
      "product_memberships" : [
        "injectiondGuts",
        "injectiond"
      ],
      "sources" : [
        "SignerService.m"
      ],
      "type" : "library"
    },
    {
      "c99name" : "injectiond",
      "module_type" : "SwiftTarget",
      "name" : "injectiond",
      "path" : "Sources/injectiond",
      "product_dependencies" : [
        "SwiftRegex",
        "XprobeUI",
        "RemoteUI"
      ],
      "product_memberships" : [
        "injectiond"
      ],
      "sources" : [
        "AppDelegate.swift",
        "DeviceServer.swift",
        "Experimental.swift",
        "FileWatcher.swift",
        "InjectionServer.swift",
        "SwiftEval.swift",
        "UnhidingEval.swift",
        "UpdateCheck.swift",
        "main.swift"
      ],
      "target_dependencies" : [
        "HotReloadingGuts",
        "injectiondGuts"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "HotReloadingGuts",
      "module_type" : "ClangTarget",
      "name" : "HotReloadingGuts",
      "path" : "Sources/HotReloadingGuts",
      "product_memberships" : [
        "HotReloading",
        "HotReloadingGuts",
        "injectiond"
      ],
      "sources" : [
        "ClientBoot.mm",
        "SimpleSocket.mm",
        "Unhide.mm"
      ],
      "type" : "library"
    },
    {
      "c99name" : "HotReloading",
      "module_type" : "SwiftTarget",
      "name" : "HotReloading",
      "path" : "Sources/HotReloading",
      "product_dependencies" : [
        "SwiftTraceD",
        "Xprobe",
        "SwiftRegex",
        "ProfileSwiftUI"
      ],
      "product_memberships" : [
        "HotReloading"
      ],
      "sources" : [
        "DeviceInjection.swift",
        "DynamicCast.swift",
        "FileWatcher.swift",
        "InjectionClient.swift",
        "InjectionStats.swift",
        "ObjcInjection.swift",
        "ReducerInjection.swift",
        "StandaloneInjection.swift",
        "SwiftEval.swift",
        "SwiftInjection.swift",
        "SwiftInterpose.swift",
        "SwiftKeyPath.swift",
        "SwiftSweeper.swift",
        "UnhidingEval.swift",
        "Vaccine.swift"
      ],
      "target_dependencies" : [
        "HotReloadingGuts"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.2"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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:4dfe22dedd7a52399668938cbd466a34545eff77bced906005dc4032a6549d90
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/johnno1962/SwiftTrace
Fetching https://github.com/johnno1962/SwiftRegex5
Fetching https://github.com/johnno1962/Remote
Fetching https://github.com/johnno1962/ProfileSwiftUI
Fetching https://github.com/johnno1962/XprobePlugin
[1/910] Fetching remote
[193/1119] Fetching remote, swiftregex5
[1084/1193] Fetching remote, swiftregex5, profileswiftui
[1194/3320] Fetching remote, swiftregex5, profileswiftui, swifttrace
[1386/5293] Fetching remote, swiftregex5, profileswiftui, swifttrace, xprobeplugin
Fetched https://github.com/johnno1962/SwiftRegex5 from cache (0.28s)
[2084/5084] Fetching remote, profileswiftui, swifttrace, xprobeplugin
Fetched https://github.com/johnno1962/Remote from cache (0.46s)
Fetched https://github.com/johnno1962/SwiftTrace from cache (0.47s)
Fetched https://github.com/johnno1962/ProfileSwiftUI from cache (0.58s)
Fetched https://github.com/johnno1962/XprobePlugin from cache (0.59s)
Computing version for https://github.com/johnno1962/ProfileSwiftUI
Computed https://github.com/johnno1962/ProfileSwiftUI at 1.1.3 (1.26s)
Fetching https://github.com/johnno1962/DLKit
[1/508] Fetching dlkit
Fetched https://github.com/johnno1962/DLKit from cache (0.21s)
Computing version for https://github.com/johnno1962/Remote
Computed https://github.com/johnno1962/Remote at 2.3.5 (0.85s)
Computing version for https://github.com/johnno1962/XprobePlugin
Computed https://github.com/johnno1962/XprobePlugin at 2.9.10 (0.67s)
Computing version for https://github.com/johnno1962/SwiftTrace
Computed https://github.com/johnno1962/SwiftTrace at 8.6.1 (0.80s)
Computing version for https://github.com/johnno1962/SwiftRegex5
Computed https://github.com/johnno1962/SwiftRegex5 at 6.1.3 (0.71s)
Computing version for https://github.com/johnno1962/DLKit
Computed https://github.com/johnno1962/DLKit at 3.5.5 (0.83s)
Fetching https://github.com/johnno1962/fishhook
[1/169] Fetching fishhook
Fetched https://github.com/johnno1962/fishhook from cache (0.24s)
Computing version for https://github.com/johnno1962/fishhook
Computed https://github.com/johnno1962/fishhook at 1.2.1 (0.92s)
Creating working copy for https://github.com/johnno1962/SwiftTrace
Working copy of https://github.com/johnno1962/SwiftTrace resolved at 8.6.1
Creating working copy for https://github.com/johnno1962/Remote
Working copy of https://github.com/johnno1962/Remote resolved at 2.3.5
Creating working copy for https://github.com/johnno1962/DLKit
Working copy of https://github.com/johnno1962/DLKit resolved at 3.5.5
Creating working copy for https://github.com/johnno1962/SwiftRegex5
Working copy of https://github.com/johnno1962/SwiftRegex5 resolved at 6.1.3
Creating working copy for https://github.com/johnno1962/ProfileSwiftUI
Working copy of https://github.com/johnno1962/ProfileSwiftUI resolved at 1.1.3
Creating working copy for https://github.com/johnno1962/fishhook
Working copy of https://github.com/johnno1962/fishhook resolved at 1.2.1
Creating working copy for https://github.com/johnno1962/XprobePlugin
Working copy of https://github.com/johnno1962/XprobePlugin resolved at 2.9.10
Building for debugging...
[0/44] Write sources
In file included from /host/spi-builder-workspace/.build/checkouts/XprobePlugin/Sources/XprobeUI/XprobePluginMenuController.m:11:
/host/spi-builder-workspace/.build/checkouts/XprobePlugin/Sources/XprobeUI/include/XprobePluginMenuController.h:11:9: fatal error: 'Cocoa/Cocoa.h' file not found
   11 | #import <Cocoa/Cocoa.h>
      |         ^~~~~~~~~~~~~~~
1 error generated.
[2/44] Compiling XprobeUI XprobePluginMenuController.m
[2/44] Compiling SwiftTraceGutsD xt_forwarding_trampoline_x86.s
[2/44] Compiling SwiftTraceGutsD xt_forwarding_trampoline_x64.s
[2/44] Compiling SwiftTraceGutsD xt_forwarding_trampoline_arm7.s
[2/44] Compiling XprobeSweep XprobeSweep.m
In file included from /host/spi-builder-workspace/.build/checkouts/XprobePlugin/Sources/XprobeUI/XprobeConsole.m:11:
/host/spi-builder-workspace/.build/checkouts/XprobePlugin/Sources/XprobeUI/include/XprobePluginMenuController.h:11:9: fatal error: 'Cocoa/Cocoa.h' file not found
   11 | #import <Cocoa/Cocoa.h>
      |         ^~~~~~~~~~~~~~~
[2/44] Compiling XprobeUI XprobeConsole.m
In file included from /host/spi-builder-workspace/Sources/injectiondGuts/SignerService.m:11:
/host/spi-builder-workspace/Sources/injectiondGuts/include/SignerService.h:9:9: fatal error: 'Foundation/Foundation.h' file not found
    9 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[2/44] Compiling injectiondGuts SignerService.m
[2/44] Write swift-version-24593BA9C3E375BF.txt
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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:4dfe22dedd7a52399668938cbd466a34545eff77bced906005dc4032a6549d90
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
[0/43] Write sources
/host/spi-builder-workspace/.build/checkouts/SwiftTrace/SwiftTraceGutsD/xt_forwarding_trampoline_x86.s:17:10: error: Unexpected token in operand: %
    popl %eax           // pop saved pc (address of first of the three nops)
         ^
/host/spi-builder-workspace/.build/checkouts/SwiftTrace/SwiftTraceGutsD/xt_forwarding_trampoline_x86.s:18:11: error: Unexpected token in operand: %
    pushl %ebp          // save frame pointer
          ^
/host/spi-builder-workspace/.build/checkouts/SwiftTrace/SwiftTraceGutsD/xt_forwarding_trampoline_x86.s:19:10: error: Unexpected token in operand: %
    movl %esp, %ebp     // set up new frame
         ^
/host/spi-builder-workspace/.build/checkouts/SwiftTrace/SwiftTraceGutsD/xt_forwarding_trampoline_x86.s:20:10: error: Unexpected token in operand: $
    subl $4096+5, %eax  // offset address by one page and the length of the call instrux
         ^
/host/spi-builder-workspace/.build/checkouts/SwiftTrace/SwiftTraceGutsD/xt_forwarding_trampoline_x86.s:21:11: error: Unexpected token in operand: %
    pushl %eax          // save pointer to trampoline data (func+data)
          ^
/host/spi-builder-workspace/.build/checkouts/SwiftTrace/SwiftTraceGutsD/xt_forwarding_trampoline_x86.s:22:11: error: Expected ,, instead got: (
    movl 4(%eax), %eax
          ^
/host/spi-builder-workspace/.build/checkouts/SwiftTrace/SwiftTraceGutsD/xt_forwarding_trampoline_x86.s:23:11: error: Unexpected token in operand: %
    pushl %eax          // save pointer to user data
          ^
/host/spi-builder-workspace/.build/checkouts/SwiftTrace/SwiftTraceGutsD/xt_forwarding_trampoline_x86.s:24:11: error: Expected ,, instead got: (
    movl 4(%esp), %eax  // fetch pointer to C aspect handler
          ^
/host/spi-builder-workspace/.build/checkouts/SwiftTrace/SwiftTraceGutsD/xt_forwarding_trampoline_x86.s:25:10: error: Unexpected token in operand: *
    call *(%eax)        // call trace handler
         ^
/host/spi-builder-workspace/.build/checkouts/SwiftTrace/SwiftTraceGutsD/xt_forwarding_trampoline_x86.s:26:10: error: Unexpected token in operand: %
    popl %ebp
         ^
/host/spi-builder-workspace/.build/checkouts/SwiftTrace/SwiftTraceGutsD/xt_forwarding_trampoline_x86.s:27:10: error: Unexpected token in operand: %
    popl %ebp
         ^
/host/spi-builder-workspace/.build/checkouts/SwiftTrace/SwiftTraceGutsD/xt_forwarding_trampoline_x86.s:28:10: error: Unexpected token in operand: %
    popl %ebp           // restore frame pointer
         ^
/host/spi-builder-workspace/.build/checkouts/SwiftTrace/SwiftTraceGutsD/xt_forwarding_trampoline_x86.s:29:10: error: Unexpected token in operand: *
    jmpl *%eax          // pass on to original implementation
         ^
/host/spi-builder-workspace/.build/checkouts/SwiftTrace/SwiftTraceGutsD/xt_forwarding_trampoline_x86.s:40:10: error: symbol _xt_forwarding_trampoline missing .functype
    call _xt_forwarding_trampoline
         ^
[3/42] Compiling SwiftTraceGutsD xt_forwarding_trampoline_x86.s
[3/42] Compiling SwiftTraceGutsD xt_forwarding_trampoline_arm7.s
[3/42] Compiling SwiftTraceGutsD xt_forwarding_trampoline_x64.s
[3/42] Compiling XprobeUI XprobePluginMenuController.m
[3/42] Compiling XprobeUI XprobeConsole.m
In file included from /host/spi-builder-workspace/Sources/injectiondGuts/SignerService.m:11:
/host/spi-builder-workspace/Sources/injectiondGuts/include/SignerService.h:9:9: fatal error: 'Foundation/Foundation.h' file not found
    9 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[3/42] Compiling injectiondGuts SignerService.m
[3/42] Compiling XprobeSweep XprobeSweep.m
[3/42] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.1 wasm