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 (832595), with Swift 6.1 for Wasm on 26 Aug 2025 18:18:30 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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.67.1
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 8325952 Missing #define INJECTION_HOST
Cloned https://github.com/johnno1962/HotReloading.git
Revision (git rev-parse @):
83259529fc9dd8980c7c54dc3e80abbd18a99b1c
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-4606859-0":/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:eb0758f51dbd6991fb9e51dedbfbcbec142ffc0d3b9b8ad91fa19d35e5136f0a
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/ProfileSwiftUI
Fetching https://github.com/johnno1962/Remote
Fetching https://github.com/johnno1962/SwiftRegex5
Fetching https://github.com/johnno1962/XprobePlugin
[1/910] Fetching remote
[911/984] Fetching remote, profileswiftui
[985/2957] Fetching remote, profileswiftui, xprobeplugin
[1301/5024] Fetching remote, profileswiftui, xprobeplugin, swifttrace
[1565/5233] Fetching remote, profileswiftui, xprobeplugin, swifttrace, swiftregex5
Fetched https://github.com/johnno1962/Remote from cache (0.30s)
[1871/4323] Fetching profileswiftui, xprobeplugin, swifttrace, swiftregex5
Fetched https://github.com/johnno1962/ProfileSwiftUI from cache (0.42s)
[4111/4249] Fetching xprobeplugin, swifttrace, swiftregex5
Fetched https://github.com/johnno1962/SwiftTrace from cache (0.43s)
[2064/2182] Fetching xprobeplugin, swiftregex5
Fetched https://github.com/johnno1962/SwiftRegex5 from cache (0.54s)
Fetched https://github.com/johnno1962/XprobePlugin from cache (0.55s)
Computing version for https://github.com/johnno1962/ProfileSwiftUI
Computed https://github.com/johnno1962/ProfileSwiftUI at 1.1.3 (1.09s)
Fetching https://github.com/johnno1962/DLKit
[1/458] Fetching dlkit
Fetched https://github.com/johnno1962/DLKit from cache (0.25s)
Computing version for https://github.com/johnno1962/Remote
Computed https://github.com/johnno1962/Remote at 2.3.5 (0.79s)
Computing version for https://github.com/johnno1962/XprobePlugin
Computed https://github.com/johnno1962/XprobePlugin at 2.9.10 (0.55s)
Computing version for https://github.com/johnno1962/SwiftTrace
Computed https://github.com/johnno1962/SwiftTrace at 8.6.1 (0.53s)
Computing version for https://github.com/johnno1962/SwiftRegex5
Computed https://github.com/johnno1962/SwiftRegex5 at 6.1.3 (0.53s)
Computing version for https://github.com/johnno1962/DLKit
Computed https://github.com/johnno1962/DLKit at 3.5.3 (0.60s)
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.77s)
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/SwiftRegex5
Working copy of https://github.com/johnno1962/SwiftRegex5 resolved at 6.1.3
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/DLKit
Working copy of https://github.com/johnno1962/DLKit resolved at 3.5.3
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/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
[4/44] Compiling XprobeSweep XprobeSweep.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.
[5/44] Compiling injectiondGuts SignerService.m
[5/44] Compiling SwiftTraceGutsD xt_forwarding_trampoline_x86.s
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.
[5/44] Compiling XprobeUI XprobePluginMenuController.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>
      |         ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/HotReloadingGuts/Unhide.mm:14:9: fatal error: 'Foundation/Foundation.h' file not found
   14 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[5/44] Compiling HotReloadingGuts Unhide.mm
[5/44] Compiling XprobeUI XprobeConsole.m
In file included from /host/spi-builder-workspace/Sources/HotReloadingGuts/ClientBoot.mm:14:
/host/spi-builder-workspace/Sources/HotReloadingGuts/include/InjectionClient.h:13:9: fatal error: 'Foundation/Foundation.h' file not found
   13 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[5/44] Compiling HotReloadingGuts ClientBoot.mm
In file included from /host/spi-builder-workspace/Sources/HotReloadingGuts/SimpleSocket.mm:17:
/host/spi-builder-workspace/Sources/HotReloadingGuts/include/SimpleSocket.h:11:9: fatal error: 'Foundation/Foundation.h' file not found
   11 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[5/44] Compiling HotReloadingGuts SimpleSocket.mm
[5/44] Write swift-version-24593BA9C3E375BF.txt
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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:eb0758f51dbd6991fb9e51dedbfbcbec142ffc0d3b9b8ad91fa19d35e5136f0a
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/39] Write sources
[2/39] Compiling DLKitCD trie_dladdr.mm
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.
[3/39] Compiling XprobeUI XprobePluginMenuController.m
[3/39] Compiling SwiftTraceGutsD xt_forwarding_trampoline_arm7.s
[3/39] Compiling SwiftTraceGutsD xt_forwarding_trampoline_x64.s
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.
[3/39] Compiling injectiondGuts SignerService.m
[3/39] Compiling SwiftTraceGutsD xt_forwarding_trampoline_x86.s
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>
      |         ^~~~~~~~~~~~~~~
[3/39] Compiling XprobeUI XprobeConsole.m
[3/39] Compiling DLKitCD trie_dlops.mm
[3/39] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.1 wasm