Build Information
Failed to build XprobePlugin, reference 2.9.10 (c80f08
), with Swift 6.2 (beta) for Wasm on 22 Jun 2025 04:01:44 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/johnno1962/XprobePlugin.git
Reference: 2.9.10
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/XprobePlugin
* tag 2.9.10 -> FETCH_HEAD
HEAD is now at c80f086 WatchOS
Submodule path 'codemirror5': checked out 'be9e01eedbf33282fe85ebec69d026e12a6e2959'
Submodule 'codemirror5' (https://github.com/codemirror/codemirror5) registered for path 'codemirror5'
Cloning into '/host/spi-builder-workspace/codemirror5'...
Cloned https://github.com/johnno1962/XprobePlugin.git
Revision (git rev-parse @):
c80f086ca7038c5e9236e1b15fea3f9e59395183
SUCCESS checkout https://github.com/johnno1962/XprobePlugin.git at 2.9.10
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/johnno1962/XprobePlugin.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:44384f43f933eaa0f42803e9ef7c3d8388c5841ccc831a15a5edf63d8c273423
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
Fetching https://github.com/johnno1962/SwiftTrace
[1/2067] Fetching swifttrace
Fetched https://github.com/johnno1962/SwiftTrace from cache (0.44s)
Computing version for https://github.com/johnno1962/SwiftTrace
Computed https://github.com/johnno1962/SwiftTrace at 8.6.1 (0.86s)
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/21] Compiling XprobeSweep XprobeSweep.m
[1/21] 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
^
[2/21] Compiling SwiftTraceGutsD xt_forwarding_trampoline_x86.s
[2/21] Compiling SwiftTraceGutsD xt_forwarding_trampoline_x64.s
[2/21] Compiling XprobeUI XprobePluginMenuController.m
In file included from /host/spi-builder-workspace/.build/checkouts/SwiftTrace/SwiftTraceGutsD/ObjCBridge.mm:11:
/host/spi-builder-workspace/.build/checkouts/SwiftTrace/SwiftTraceGutsD/include/SwiftTrace.h:16:9: fatal error: 'Foundation/Foundation.h' file not found
16 | #import <Foundation/Foundation.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~
[2/21] Compiling SwiftTraceGutsD ObjCBridge.mm
In file included from /host/spi-builder-workspace/Sources/XprobeUI/XprobeConsole.m:11:
/host/spi-builder-workspace/Sources/XprobeUI/include/XprobePluginMenuController.h:11:9: fatal error: 'Cocoa/Cocoa.h' file not found
11 | #import <Cocoa/Cocoa.h>
| ^~~~~~~~~~~~~~~
[2/21] Compiling XprobeUI XprobeConsole.m
In file included from /host/spi-builder-workspace/.build/checkouts/SwiftTrace/SwiftTraceGutsD/fishhook.c:31:
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-30-a_wasm.artifactbundle/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-30-a_wasm/wasm32-unknown-wasi/WASI.sdk/include/wasm32-wasi/sys/mman.h:2:2: error: "WASI lacks a true mmap; to enable minimal mmap emulation, compile with -D_WASI_EMULATED_MMAN and link with -lwasi-emulated-mman"
2 | #error "WASI lacks a true mmap; to enable minimal mmap emulation, \
| ^
/host/spi-builder-workspace/.build/checkouts/SwiftTrace/SwiftTraceGutsD/fishhook.c:33:10: fatal error: 'mach/mach.h' file not found
33 | #include <mach/mach.h>
| ^~~~~~~~~~~~~
[2/21] Compiling SwiftTraceGutsD fishhook.c
In file included from /host/spi-builder-workspace/.build/checkouts/SwiftTrace/SwiftTraceGutsD/SwiftTrace.mm:10:
/host/spi-builder-workspace/.build/checkouts/SwiftTrace/SwiftTraceGutsD/include/SwiftTrace.h:16:9: fatal error: 'Foundation/Foundation.h' file not found
16 | #import <Foundation/Foundation.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~
[2/21] Compiling SwiftTraceGutsD SwiftTrace.mm
[2/21] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.2 wasm