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.9 for macOS (SPM) on 19 Jul 2024 14:02:22 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.2.0.app xcrun swift build --arch arm64

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 /Users/admin/builder/spi-builder-workspace/.git/
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:         macosSpm
Swift version:             5.9
Building package at path:  $workDir
https://github.com/johnno1962/ProfileSwiftUI.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.2.0.app xcrun swift build --arch arm64
Building for debugging...
[0/13] Compiling SwiftTraceGutsD xt_forwarding_trampoline_x86.s
[1/13] Compiling SwiftTraceGutsD xt_forwarding_trampoline_arm64.s
[2/13] Compiling SwiftTraceGutsD xt_forwarding_trampoline_x64.s
[3/15] Compiling SwiftTraceGutsD xt_forwarding_trampoline_arm7.s
[4/15] Compiling SwiftTraceGutsD fishhook.c
[5/15] Compiling DLKitCD DLKitC.c
/Users/admin/builder/spi-builder-workspace/.build/checkouts/DLKit/Sources/DLKitCD/trie_dlops.mm:166:46: warning: range-based for loop is a C++11 extension [-Wc++11-extensions]
            for (uint32_t aVisitedNodeOffset : visitedNodeOffsets) {
                                             ^
1 warning generated.
/Users/admin/builder/spi-builder-workspace/.build/checkouts/DLKit/Sources/DLKitCD/trie_dladdr.mm:86:5: warning: 'auto' type specifier is a C++11 extension [-Wc++11-extensions]
    auto it = upper_bound(array.begin(), array.end(), value);
    ^
1 warning generated.
[6/15] Compiling SwiftTraceGutsD SwiftTrace.mm
[7/15] Compiling SwiftTraceGutsD ObjCBridge.mm
[7/15] Compiling SwiftTraceGutsD Trampolines.mm
[7/15] Compiling DLKitCD trie_dlops.mm
[7/15] Compiling DLKitCD trie_dladdr.mm
[11/15] Compiling SwiftTraceGutsD fast_dladdr.mm
[13/27] Emitting module SwiftRegex
[14/27] Compiling SwiftRegex TupleRegex.swift
[15/27] Compiling SwiftTraceD SwiftStats.swift
[16/28] Compiling SwiftTraceD SwiftLifetime.swift
[17/28] Compiling SwiftTraceD SwiftStack.swift
[18/28] Compiling SwiftTraceD SwiftSwizzle.swift
[19/28] Compiling SwiftTraceD SwiftInvoke.swift
[20/28] Compiling SwiftTraceD SwiftMeta.swift
[21/28] Compiling SwiftTraceD SwiftInterpose.swift
[22/28] Compiling SwiftTraceD SwiftTrace.swift
[23/28] Emitting module SwiftTraceD
[24/28] Compiling SwiftTraceD EasyPointer.swift
[25/28] Compiling SwiftTraceD StringIndex.swift
[26/28] Compiling SwiftTraceD SwiftArgs.swift
[27/28] Compiling SwiftTraceD SwiftAspects.swift
[27/28] Linking libSwiftTraceD.dylib
error: emit-module command failed with exit code 1 (use -v to see invocation)
[29/30] Emitting module ProfileSwiftUI
/Users/admin/builder/spi-builder-workspace/Sources/ProfileSwiftUI/ProfileSwiftUI.swift:58:17: error: cannot find 'trie_dladdr' in scope
                trie_dladdr(existing, &info) != 0 && strstr(info.dli_fname,
                ^~~~~~~~~~~
[30/30] Compiling ProfileSwiftUI ProfileSwiftUI.swift
/Users/admin/builder/spi-builder-workspace/Sources/ProfileSwiftUI/ProfileSwiftUI.swift:58:17: error: cannot find 'trie_dladdr' in scope
                trie_dladdr(existing, &info) != 0 && strstr(info.dli_fname,
                ^~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ProfileSwiftUI/ProfileSwiftUI.swift:129:27: error: cannot find 'trie_dladdr' in scope
                    guard trie_dladdr(caller, &info) != 0, let sym = info.dli_sname else { continue }
                          ^~~~~~~~~~~
error: fatalError
Fetching https://github.com/johnno1962/SwiftRegex5
Fetching https://github.com/johnno1962/SwiftTrace
Fetching https://github.com/johnno1962/DLKit
[1/350] Fetching dlkit
[232/553] Fetching dlkit, swiftregex5
[241/2620] Fetching dlkit, swiftregex5, swifttrace
Fetched https://github.com/johnno1962/SwiftTrace (1.90s)
Fetched https://github.com/johnno1962/DLKit (1.91s)
Fetched https://github.com/johnno1962/SwiftRegex5 (1.91s)
Computing version for https://github.com/johnno1962/DLKit
Computed https://github.com/johnno1962/DLKit at 3.4.3 (0.60s)
Fetching https://github.com/johnno1962/fishhook
[1/169] Fetching fishhook
Fetched https://github.com/johnno1962/fishhook (0.68s)
Computing version for https://github.com/johnno1962/fishhook
Computed https://github.com/johnno1962/fishhook at 1.2.1 (0.57s)
Computing version for https://github.com/johnno1962/SwiftTrace
Computed https://github.com/johnno1962/SwiftTrace at 8.6.1 (0.55s)
Computing version for https://github.com/johnno1962/SwiftRegex5
Computed https://github.com/johnno1962/SwiftRegex5 at 6.1.2 (0.55s)
Creating working copy for https://github.com/johnno1962/fishhook
Working copy of https://github.com/johnno1962/fishhook resolved at 1.2.1
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/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
BUILD FAILURE 5.9 macosSpm