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 XprobePlugin, reference main (c80f08), with Swift 6.2 (beta) for Wasm on 22 Jun 2025 04:01:35 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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: 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/XprobePlugin
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
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 main
========================================
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-4606859-3":/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.48s)
Computing version for https://github.com/johnno1962/SwiftTrace
Computed https://github.com/johnno1962/SwiftTrace at 8.6.1 (0.99s)
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] Write sources
[1/21] Compiling XprobeSweep XprobeSweep.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
         ^
[2/21] Compiling SwiftTraceGutsD xt_forwarding_trampoline_x86.s
[2/21] Compiling SwiftTraceGutsD xt_forwarding_trampoline_arm7.s
/host/spi-builder-workspace/.build/checkouts/SwiftTrace/SwiftTraceGutsD/xt_forwarding_trampoline_x64.s:25:13: error: Unexpected token in operand: %
    popq    %r11    // recover trampoline return address
            ^
/host/spi-builder-workspace/.build/checkouts/SwiftTrace/SwiftTraceGutsD/xt_forwarding_trampoline_x64.s:26:13: error: Unexpected token in operand: %
    pushq   %rbp    // save frame pointer
            ^
/host/spi-builder-workspace/.build/checkouts/SwiftTrace/SwiftTraceGutsD/xt_forwarding_trampoline_x64.s:27:13: error: Unexpected token in operand: %
    movq    %rsp, %rbp
            ^
/host/spi-builder-workspace/.build/checkouts/SwiftTrace/SwiftTraceGutsD/xt_forwarding_trampoline_x64.s:28:13: error: Unexpected token in operand: %
    pushq   %rbp    // align stack to 16 bytes
            ^
/host/spi-builder-workspace/.build/checkouts/SwiftTrace/SwiftTraceGutsD/xt_forwarding_trampoline_x64.s:29:13: error: Unexpected token in operand: %
    pushq   %rbx
            ^
/host/spi-builder-workspace/.build/checkouts/SwiftTrace/SwiftTraceGutsD/xt_forwarding_trampoline_x64.s:30:13: error: Unexpected token in operand: %
    pushq   %rax    // pointer for return of struct
            ^
/host/spi-builder-workspace/.build/checkouts/SwiftTrace/SwiftTraceGutsD/xt_forwarding_trampoline_x64.s:31:13: error: Unexpected token in operand: %
    pushq   %r10
            ^
/host/spi-builder-workspace/.build/checkouts/SwiftTrace/SwiftTraceGutsD/xt_forwarding_trampoline_x64.s:32:13: error: Unexpected token in operand: %
    pushq   %r9     // push the 6 registers for int parameters
            ^
/host/spi-builder-workspace/.build/checkouts/SwiftTrace/SwiftTraceGutsD/xt_forwarding_trampoline_x64.s:33:13: error: Unexpected token in operand: %
    pushq   %r8
            ^
/host/spi-builder-workspace/.build/checkouts/SwiftTrace/SwiftTraceGutsD/xt_forwarding_trampoline_x64.s:34:13: error: Unexpected token in operand: %
    pushq   %rcx
            ^
/host/spi-builder-workspace/.build/checkouts/SwiftTrace/SwiftTraceGutsD/xt_forwarding_trampoline_x64.s:35:13: error: Unexpected token in operand: %
    pushq   %rdx
            ^
/host/spi-builder-workspace/.build/checkouts/SwiftTrace/SwiftTraceGutsD/xt_forwarding_trampoline_x64.s:36:13: error: Unexpected token in operand: %
    pushq   %rsi
        [2/21] Compiling SwiftTraceGutsD xt_forwarding_trampoline_x64.s
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>
      |         ^~~~~~~~~~~~~~~
1 error generated.
[2/21] Compiling XprobeUI XprobeConsole.m
In file included from /host/spi-builder-workspace/.build/checkouts/SwiftTrace/SwiftTraceGutsD/Trampolines.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 Trampolines.mm
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
In file included from /host/spi-builder-workspace/Sources/XprobeUI/XprobePluginMenuController.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>
      |         ^~~~~~~~~~~~~~~
1 error generated.
[2/21] Compiling XprobeUI XprobePluginMenuController.m
[2/21] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.2 wasm