Build Information
Failed to build HotReloading, reference main (592ef2
), with Swift 6.1 for Wasm on 7 Jun 2025 10:02:59 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" 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.63.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 592ef22 Client connections.
Cloned https://github.com/johnno1962/HotReloading.git
Revision (git rev-parse @):
592ef227cef758e77c34d3a79fb0c2671ac3a6dc
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-2":/host -w "$PWD" 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:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/johnno1962/ProfileSwiftUI
Fetching https://github.com/johnno1962/SwiftTrace
Fetching https://github.com/johnno1962/Remote
Fetching https://github.com/johnno1962/SwiftRegex5
Fetching https://github.com/johnno1962/XprobePlugin
[1/209] Fetching swiftregex5
[3/283] Fetching swiftregex5, profileswiftui
[284/1193] Fetching swiftregex5, profileswiftui, remote
[430/3166] Fetching swiftregex5, profileswiftui, remote, xprobeplugin
[1786/5233] Fetching swiftregex5, profileswiftui, remote, xprobeplugin, swifttrace
Fetched https://github.com/johnno1962/SwiftRegex5 from cache (0.51s)
Fetched https://github.com/johnno1962/ProfileSwiftUI from cache (0.51s)
[3099/4950] Fetching remote, xprobeplugin, swifttrace
Fetched https://github.com/johnno1962/SwiftTrace from cache (0.67s)
[2883/2883] Fetching remote, xprobeplugin
Fetched https://github.com/johnno1962/Remote from cache (0.78s)
Fetched https://github.com/johnno1962/XprobePlugin from cache (0.78s)
Computing version for https://github.com/johnno1962/ProfileSwiftUI
Computed https://github.com/johnno1962/ProfileSwiftUI at 1.1.3 (2.03s)
Fetching https://github.com/johnno1962/DLKit
[1/399] Fetching dlkit
Fetched https://github.com/johnno1962/DLKit from cache (0.52s)
Computing version for https://github.com/johnno1962/Remote
Computed https://github.com/johnno1962/Remote at 2.3.5 (1.60s)
Computing version for https://github.com/johnno1962/XprobePlugin
Computed https://github.com/johnno1962/XprobePlugin at 2.9.10 (0.65s)
Computing version for https://github.com/johnno1962/SwiftTrace
Computed https://github.com/johnno1962/SwiftTrace at 8.6.1 (0.69s)
Computing version for https://github.com/johnno1962/SwiftRegex5
Computed https://github.com/johnno1962/SwiftRegex5 at 6.1.3 (1.01s)
Computing version for https://github.com/johnno1962/DLKit
Computed https://github.com/johnno1962/DLKit at 3.4.8 (0.75s)
Fetching https://github.com/johnno1962/fishhook
[1/169] Fetching fishhook
Fetched https://github.com/johnno1962/fishhook from cache (0.25s)
Computing version for https://github.com/johnno1962/fishhook
Computed https://github.com/johnno1962/fishhook at 1.2.1 (0.96s)
Creating working copy for https://github.com/johnno1962/DLKit
Working copy of https://github.com/johnno1962/DLKit resolved at 3.4.8
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
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
Building for debugging...
[0/44] Write sources
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/44] Compiling injectiondGuts SignerService.m
[3/44] Compiling XprobeSweep XprobeSweep.m
/host/spi-builder-workspace/Sources/HotReloadingGuts/Unhide.mm:14:9: fatal error: 'Foundation/Foundation.h' file not found
14 | #import <Foundation/Foundation.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~
[3/44] Compiling HotReloadingGuts Unhide.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/44] Compiling XprobeUI XprobePluginMenuController.m
[3/44] Compiling SwiftTraceGutsD xt_forwarding_trampoline_x86.s
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>
| ^~~~~~~~~~~~~~~~~~~~~~~~~
[3/44] Compiling HotReloadingGuts SimpleSocket.mm
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/44] Compiling XprobeUI XprobeConsole.m
[3/44] Write swift-version-24593BA9C3E375BF.txt
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" 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:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
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/42] 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.
[3/41] Compiling XprobeUI XprobePluginMenuController.m
[3/41] Compiling SwiftTraceGutsD xt_forwarding_trampoline_x64.s
[3/41] Compiling SwiftTraceGutsD xt_forwarding_trampoline_arm7.s
[3/41] Compiling injectiondGuts SignerService.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>
| ^~~~~~~~~~~~~~~
[3/41] Compiling XprobeUI XprobeConsole.m
/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/41] Compiling SwiftTraceGutsD xt_forwarding_trampoline_x86.s
[3/41] Compiling XprobeSweep XprobeSweep.m
[3/41] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.1 wasm