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 SwiftTrace, reference main (589f37), with Swift 5.9 for Linux on 25 Jun 2024 05:28:25 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$workDir" 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.43.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/johnno1962/SwiftTrace.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/SwiftTrace
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 589f371 Modulemap problems.
Cloned https://github.com/johnno1962/SwiftTrace.git
Revision (git rev-parse @):
589f37149d5b32cbdd44c70809df23b4f4fa0260
SUCCESS checkout https://github.com/johnno1962/SwiftTrace.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.9
Building package at path:  $workDir
https://github.com/johnno1962/SwiftTrace.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$workDir" 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:2fa6b0d7467390f3ae6945b12138e4a70f9e62fbd91fe905e9254915c71b67e7
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.9-latest
Building for debugging...
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=SwiftTraceGuts' [-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: '-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/SwiftTraceGuts.build/xt_forwarding_trampoline_x86.s.d' [-Wunused-command-line-argument]
/host/spi-builder-workspace/SwiftTraceGuts/xt_forwarding_trampoline_x86.s:9:8: error: alignment must be a power of 2
.align 12
       ^
/host/spi-builder-workspace/SwiftTraceGuts/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/SwiftTraceGuts/xt_forwarding_trampoline_x86.s:18:5: error: instruction requires: Not 64-bit mode
    pushl %ebp          // save frame pointer
    ^
/host/spi-builder-workspace/SwiftTraceGuts/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/SwiftTraceGuts/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/SwiftTraceGuts/xt_forwarding_trampoline_x86.s:26:5: error: instruction requires: Not 64-bit mode
    popl %ebp
    ^
/host/spi-builder-workspace/SwiftTraceGuts/xt_forwarding_trampoline_x86.s:27:5: error: instruction requires: Not 64-bit mode
    popl %ebp
    ^
/host/spi-builder-workspace/SwiftTraceGuts/xt_forwarding_trampoline_x86.s:28:5: error: instruction requires: Not 64-bit mode
    popl %ebp           // restore frame pointer
    ^
/host/spi-builder-workspace/SwiftTraceGuts/xt_forwarding_trampoline_x86.s:29:5: error: instruction requires: Not 64-bit mode
    jmpl *%eax          // pass on to original implementation
    ^
[0/24] Compiling SwiftTraceGuts xt_forwarding_trampoline_x86.s
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/SwiftTraceGutsD/xt_forwarding_trampoline_x86.s:9:8: error: alignment must be a power of 2
.align 12
       ^
/host/spi-builder-workspace/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/SwiftTraceGutsD/xt_forwarding_trampoline_x86.s:18:5: error: instruction requires: Not 64-bit mode
    pushl %ebp          // save frame pointer
    ^
/host/spi-builder-workspace/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/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/SwiftTraceGutsD/xt_forwarding_trampoline_x86.s:26:5: error: instruction requires: Not 64-bit mode
    popl %ebp
    ^
/host/spi-builder-workspace/SwiftTraceGutsD/xt_forwarding_trampoline_x86.s:27:5: error: instruction requires: Not 64-bit mode
    popl %ebp
    ^
/host/spi-builder-workspace/SwiftTraceGutsD/xt_forwarding_trampoline_x86.s:28:5: error: instruction requires: Not 64-bit mode
    popl %ebp           // restore frame pointer
    ^
/host/spi-builder-workspace/SwiftTraceGutsD/xt_forwarding_trampoline_x86.s:29:5: error: instruction requires: Not 64-bit mode
    jmpl *%eax          // pass on to original implementation
    ^
[0/24] Compiling SwiftTraceGutsD xt_forwarding_trampoline_x86.s
In file included from /host/spi-builder-workspace/SwiftTraceGuts/Trampolines.mm:11:
/host/spi-builder-workspace/SwiftTraceGuts/include/SwiftTrace.h:16:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/24] Compiling SwiftTraceGuts Trampolines.mm
In file included from /host/spi-builder-workspace/SwiftTraceGuts/SwiftTrace.mm:10:
/host/spi-builder-workspace/SwiftTraceGuts/include/SwiftTrace.h:16:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/24] Compiling SwiftTraceGuts SwiftTrace.mm
[0/24] Compiling SwiftTraceGuts fishhook.c
In file included from /host/spi-builder-workspace/SwiftTraceGuts/ObjCBridge.mm:11:
/host/spi-builder-workspace/SwiftTraceGuts/include/SwiftTrace.h:16:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/24] Compiling SwiftTraceGuts ObjCBridge.mm
In file included from /host/spi-builder-workspace/SwiftTraceGuts/fast_dladdr.mm:10:
/host/spi-builder-workspace/SwiftTraceGuts/include/SwiftTrace.h:16:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/24] Compiling SwiftTraceGuts fast_dladdr.mm
BUILD FAILURE 5.9 linux