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 ProfileSwiftUI, reference main (813bd7), with Swift 5.8 for Linux on 19 Jul 2024 14:01:29 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.8-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.46.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/johnno1962/ProfileSwiftUI.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/ProfileSwiftUI
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 813bd75 Bump DLKit.
Cloned https://github.com/johnno1962/ProfileSwiftUI.git
Revision (git rev-parse @):
813bd75cc58be6aa993707c22262fb8f22d112d4
SUCCESS checkout https://github.com/johnno1962/ProfileSwiftUI.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.8
Building package at path:  $workDir
https://github.com/johnno1962/ProfileSwiftUI.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.8-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-5.8-latest: Pulling from finestructure/spi-images
Digest: sha256:b64e9b208a540cfe8c395754a98ad2db7976bcbca6a5320a43e0e41342f74819
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.8-latest
Fetching https://github.com/johnno1962/DLKit
Fetching https://github.com/johnno1962/SwiftRegex5
Fetching https://github.com/johnno1962/SwiftTrace
[1/350] Fetching dlkit
[351/553] Fetching dlkit, swiftregex5
[554/2620] Fetching dlkit, swiftregex5, swifttrace
Fetched https://github.com/johnno1962/SwiftRegex5 (0.38s)
Fetched https://github.com/johnno1962/DLKit (0.38s)
Fetched https://github.com/johnno1962/SwiftTrace (0.39s)
Computing version for https://github.com/johnno1962/DLKit
Computed https://github.com/johnno1962/DLKit at 3.4.3 (0.33s)
Fetching https://github.com/johnno1962/fishhook
[1/169] Fetching fishhook
Fetched https://github.com/johnno1962/fishhook (0.16s)
Computing version for https://github.com/johnno1962/fishhook
Computed https://github.com/johnno1962/fishhook at 1.2.1 (0.32s)
Computing version for https://github.com/johnno1962/SwiftTrace
Computed https://github.com/johnno1962/SwiftTrace at 8.6.1 (0.32s)
Computing version for https://github.com/johnno1962/SwiftRegex5
Computed https://github.com/johnno1962/SwiftRegex5 at 6.1.2 (0.32s)
Creating working copy for https://github.com/johnno1962/SwiftRegex5
Working copy of https://github.com/johnno1962/SwiftRegex5 resolved at 6.1.2
Creating working copy for https://github.com/johnno1962/DLKit
Working copy of https://github.com/johnno1962/DLKit resolved at 3.4.3
Creating working copy for https://github.com/johnno1962/SwiftTrace
Working copy of https://github.com/johnno1962/SwiftTrace resolved at 8.6.1
Creating working copy for https://github.com/johnno1962/fishhook
Working copy of https://github.com/johnno1962/fishhook resolved at 1.2.1
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: '-fmodules' [-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: '-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_x64.s.d' [-Wunused-command-line-argument]
/host/spi-builder-workspace/.build/checkouts/SwiftTrace/SwiftTraceGutsD/xt_forwarding_trampoline_x64.s:10:8: error: alignment must be a power of 2
.align 12
       ^
/host/spi-builder-workspace/.build/checkouts/SwiftTrace/SwiftTraceGutsD/xt_forwarding_trampoline_x64.s:17:8: error: alignment must be a power of 2
.align 12
       ^
[0/14] Compiling SwiftTraceGutsD xt_forwarding_trampoline_x64.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: '-fmodules' [-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: '-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_arm7.s.d' [-Wunused-command-line-argument]
/host/spi-builder-workspace/.build/checkouts/SwiftTrace/SwiftTraceGutsD/xt_forwarding_trampoline_arm7.s:17:8: error: alignment must be a power of 2
.align 14
       ^
/host/spi-builder-workspace/.build/checkouts/SwiftTrace/SwiftTraceGutsD/xt_forwarding_trampoline_arm7.s:25:8: error: Invalid rounding mode.
        push {r7, lr}           // save frame pointer and return addresss
              ^
/host/spi-builder-workspace/.build/checkouts/SwiftTrace/SwiftTraceGutsD/xt_forwarding_trampoline_arm7.s:26:2: error: unknown use of instruction mnemonic without a size suffix
        mov     r7, sp              // set up new frame
        ^
/host/spi-builder-workspace/.build/checkouts/SwiftTrace/SwiftTraceGutsD/xt_forwarding_trampoline_arm7.s:27:11: error: Invalid rounding mode.
    push {r0, r1, r2, r3, r9}   // save first four args on stack
          ^
/host/spi-builder-workspace/.build/checkouts/SwiftTrace/SwiftTraceGutsD/xt_forwarding_trampoline_arm7.s:28:14: error: unknown token in expression
    sub r12, #0x4000        // r12 = r12 - pagesize, that is where the data for this trampoline is stored
             ^
/host/spi-builder-workspace/.build/checkouts/SwiftTrace/SwiftTraceGutsD/xt_forwarding_trampoline_arm7.s:29:17: error: expected ']' in brackets expression
    ldr r0, [r12, #-4]      // first arg is user data ptr
                ^
/host/spi-builder-workspace/.build/checkouts/SwiftTrace/SwiftTraceGutsD/xt_forwarding_trampoline_arm7.s:30:5: error: invalid instruction mnemonic 'ldr'
    ldr r12, [r12]          // get pointer to tracer func
    ^~~
/host/spi-builder-workspace/.build/checkouts/SwiftTrace/SwiftTraceGutsD/xt_forwarding_trampoline_arm7.s:31:5: error: invalid instruction mnemonic 'blx'
    blx r12                 // call it
    ^~~
/host/spi-builder-workspace/.build/checkouts/SwiftTrace/SwiftTraceGutsD/xt_forwarding_trampoline_arm7.s:32:5: error: unknown use of instruction mnemonic without a size suffix
    mov r12, r0             // return value is original implementation
    ^
/host/spi-builder-workspace/.build/checkouts/SwiftTrace/SwiftTraceGutsD/xt_forwarding_trampoline_arm7.s:33:10: error: Invalid rounding mode.
    pop {r0, r1, r2, r3, r9}
         ^
/host/spi-builder-workspace/.build/checkouts/SwiftTrace/SwiftTraceGutsD/xt_forwarding_trampoline_arm7.s:34:2: error: unknown use of instruction mnemonic without a size suffix
        mov     sp, r7              // unwind stack
        [0/14] Compiling SwiftTraceGutsD xt_forwarding_trampoline_arm7.s
[0/14] Compiling DLKitCD trie_dlops.mm
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: '-fmodules' [-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: '-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
    ^
[0/14] Compiling SwiftTraceGutsD xt_forwarding_trampoline_x86.s
[0/14] Compiling DLKitCD trie_dladdr.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>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/14] Compiling SwiftTraceGutsD ObjCBridge.mm
[0/14] Compiling DLKitCD DLKitC.c
BUILD FAILURE 5.8 linux