The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build XprobePlugin, reference main (c80f08), with Swift 5.9 for Linux on 24 Sep 2024 22:23:46 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.54.2
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:         linux
Swift version:             5.9
Building package at path:  $PWD
https://github.com/johnno1962/XprobePlugin.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-5.9-latest: Pulling from finestructure/spi-images
Digest: sha256:66706f89ac15d55dcb11e8d3274e2fe11925b5da93d240b09d5a1eb775db6cc2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.9-latest
Fetching https://github.com/johnno1962/SwiftTrace
[1/2067] Fetching swifttrace
Fetched https://github.com/johnno1962/SwiftTrace (0.36s)
Computing version for https://github.com/johnno1962/SwiftTrace
Computed https://github.com/johnno1962/SwiftTrace at 8.6.1 (0.34s)
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/17] Compiling XprobeSweep XprobeSweep.m
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
#import <Cocoa/Cocoa.h>
        ^~~~~~~~~~~~~~~
1 error generated.
[1/17] Compiling XprobeUI XprobePluginMenuController.m
[1/17] Compiling SwiftTraceGutsD xt_forwarding_trampoline_x64.s
[1/17] Compiling XprobeUI XprobeConsole.m
clang-13: warning: argument unused during compilation: '-D SWIFT_PACKAGE=1' [-Wunused-command-line-argument]
clang-13: warning: argument unused during compilation: '-D DEBUG=1' [-Wunused-command-line-argument]
clang-13: warning: argument unused during compilation: '-fblocks' [-Wunused-command-line-argument]
clang-13: warning: argument unused during compilation: '-fmodule-name=SwiftTraceGutsD' [-Wunused-command-line-argument]
clang-13: warning: argument unused during compilation: '-fmodules-cache-path=/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/ModuleCache' [-Wunused-command-line-argument]
clang-13: warning: argument unused during compilation: '-D DEBUG_ONLY' [-Wunused-command-line-argument]
clang-13: warning: argument unused during compilation: '-fno-omit-frame-pointer' [-Wunused-command-line-argument]
clang-13: warning: argument unused during compilation: '-MD' [-Wunused-command-line-argument]
clang-13: warning: argument unused during compilation: '-MT dependencies' [-Wunused-command-line-argument]
clang-13: warning: argument unused during compilation: '-MF /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/SwiftTraceGutsD.build/xt_forwarding_trampoline_x86.s.d' [-Wunused-command-line-argument]
/host/spi-builder-workspace/.build/checkouts/SwiftTrace/SwiftTraceGutsD/xt_forwarding_trampoline_x86.s:9:8: error: alignment must be a power of 2
.align 12
       ^
/host/spi-builder-workspace/.build/checkouts/SwiftTrace/SwiftTraceGutsD/xt_forwarding_trampoline_x86.s:17:5: error: instruction requires: Not 64-bit mode
    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:5: error: instruction requires: Not 64-bit mode
    pushl %ebp          // save frame pointer
    ^
/host/spi-builder-workspace/.build/checkouts/SwiftTrace/SwiftTraceGutsD/xt_forwarding_trampoline_x86.s:21:5: error: instruction requires: Not 64-bit mode
    pushl %eax          // save pointer to trampoline data (func+data)
    ^
/host/spi-builder-workspace/.build/checkouts/SwiftTrace/SwiftTraceGutsD/xt_forwarding_trampoline_x86.s:23:5: error: instruction requires: Not 64-bit mode
    pushl %eax          // save pointer to user data
    ^
/host/spi-builder-workspace/.build/checkouts/SwiftTrace/SwiftTraceGutsD/xt_forwarding_trampoline_x86.s:26:5: error: instruction requires: Not 64-bit mode
    popl %ebp
    ^
/host/spi-builder-workspace/.build/checkouts/SwiftTrace/SwiftTraceGutsD/xt_forwarding_trampoline_x86.s:27:5: error: instruction requires: Not 64-bit mode
    popl %ebp
    ^
/host/spi-builder-workspace/.build/checkouts/SwiftTrace/SwiftTraceGutsD/xt_forwarding_trampoline_x86.s:28:5: error: instruction requires: Not 64-bit mode
    popl %ebp           // restore frame pointer
    ^
/host/spi-builder-workspace/.build/checkouts/SwiftTrace/SwiftTraceGutsD/xt_forwarding_trampoline_x86.s:29:5: error: instruction requires: Not 64-bit mode
    jmpl *%eax          // pass on to original implementation
    ^
[1/17] Compiling SwiftTraceGutsD xt_forwarding_trampoline_x86.s
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
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
[1/17] Compiling SwiftTraceGutsD Trampolines.mm
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
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
[1/17] Compiling SwiftTraceGutsD ObjCBridge.mm
In file included from /host/spi-builder-workspace/.build/checkouts/SwiftTrace/SwiftTraceGutsD/fast_dladdr.mm:10:
/host/spi-builder-workspace/.build/checkouts/SwiftTrace/SwiftTraceGutsD/include/SwiftTrace.h:16:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
[1/17] Compiling SwiftTraceGutsD fast_dladdr.mm
BUILD FAILURE 5.9 linux