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

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.4.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
Fetching https://github.com/johnno1962/DLKit
Fetching https://github.com/johnno1962/SwiftRegex5
Fetching https://github.com/johnno1962/SwiftTrace
[1/203] Fetching swiftregex5
[8/553] Fetching swiftregex5, dlkit
[223/2620] Fetching swiftregex5, dlkit, swifttrace
Fetched https://github.com/johnno1962/SwiftRegex5 from cache (1.87s)
Fetched https://github.com/johnno1962/DLKit from cache (1.87s)
Fetched https://github.com/johnno1962/SwiftTrace from cache (1.87s)
Computing version for https://github.com/johnno1962/DLKit
Computed https://github.com/johnno1962/DLKit at 3.4.3 (0.56s)
Fetching https://github.com/johnno1962/fishhook
[1/169] Fetching fishhook
Fetched https://github.com/johnno1962/fishhook from cache (0.68s)
Computing version for https://github.com/johnno1962/fishhook
Computed https://github.com/johnno1962/fishhook at 1.2.1 (0.55s)
Computing version for https://github.com/johnno1962/SwiftTrace
Computed https://github.com/johnno1962/SwiftTrace at 8.6.1 (0.54s)
Computing version for https://github.com/johnno1962/SwiftRegex5
Computed https://github.com/johnno1962/SwiftRegex5 at 6.1.2 (0.56s)
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
Creating working copy for https://github.com/johnno1962/fishhook
Working copy of https://github.com/johnno1962/fishhook resolved at 1.2.1
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "profileswiftui",
      "name": "ProfileSwiftUI",
      "url": "https://github.com/johnno1962/ProfileSwiftUI.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/ProfileSwiftUI",
      "dependencies": [
        {
          "identity": "swifttrace",
          "name": "SwiftTrace",
          "url": "https://github.com/johnno1962/SwiftTrace",
          "version": "8.6.1",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwiftTrace",
          "dependencies": [
          ]
        },
        {
          "identity": "swiftregex5",
          "name": "SwiftRegex",
          "url": "https://github.com/johnno1962/SwiftRegex5",
          "version": "6.1.2",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwiftRegex5",
          "dependencies": [
          ]
        },
        {
          "identity": "dlkit",
          "name": "DLKit",
          "url": "https://github.com/johnno1962/DLKit",
          "version": "3.4.3",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/DLKit",
          "dependencies": [
            {
              "identity": "fishhook",
              "name": "fishhook",
              "url": "https://github.com/johnno1962/fishhook",
              "version": "1.2.1",
              "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/fishhook",
              "dependencies": [
              ]
            }
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/johnno1962/ProfileSwiftUI.git
[1/74] Fetching profileswiftui
Fetched https://github.com/johnno1962/ProfileSwiftUI.git from cache (0.72s)
Fetching https://github.com/johnno1962/DLKit from cache
Fetching https://github.com/johnno1962/SwiftRegex5 from cache
Fetching https://github.com/johnno1962/SwiftTrace from cache
Fetched https://github.com/johnno1962/SwiftRegex5 from cache (0.55s)
Fetched https://github.com/johnno1962/DLKit from cache (0.55s)
Fetched https://github.com/johnno1962/SwiftTrace from cache (0.55s)
Computing version for https://github.com/johnno1962/DLKit
Computed https://github.com/johnno1962/DLKit at 3.4.3 (0.03s)
Fetching https://github.com/johnno1962/fishhook from cache
Fetched https://github.com/johnno1962/fishhook from cache (0.46s)
Computing version for https://github.com/johnno1962/fishhook
Computed https://github.com/johnno1962/fishhook at 1.2.1 (0.03s)
Computing version for https://github.com/johnno1962/SwiftTrace
Computed https://github.com/johnno1962/SwiftTrace at 8.6.1 (0.03s)
Computing version for https://github.com/johnno1962/SwiftRegex5
Computed https://github.com/johnno1962/SwiftRegex5 at 6.1.2 (0.03s)
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/SwiftRegex5
Working copy of https://github.com/johnno1962/SwiftRegex5 resolved at 6.1.2
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/ProfileSwiftUI.git
Working copy of https://github.com/johnno1962/ProfileSwiftUI.git resolved at main (813bd75)
Creating working copy for https://github.com/johnno1962/SwiftTrace
Working copy of https://github.com/johnno1962/SwiftTrace resolved at 8.6.1
warning: '.resolve-product-dependencies': dependency 'profileswiftui' is not used by any target
Found 3 product dependencies
  - SwiftTrace
  - SwiftRegex
  - DLKit
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.10
Building package at path:  $workDir
https://github.com/johnno1962/ProfileSwiftUI.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/18] Write sources
[3/18] Write swift-version-33747A42983211AE.txt
[4/18] Compiling SwiftTraceGutsD xt_forwarding_trampoline_x64.s
[5/18] Compiling SwiftTraceGutsD xt_forwarding_trampoline_x86.s
[6/18] Compiling SwiftTraceGutsD xt_forwarding_trampoline_arm7.s
[7/18] Compiling SwiftTraceGutsD xt_forwarding_trampoline_arm64.s
[8/20] Compiling SwiftTraceGutsD fishhook.c
[9/20] 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.
[10/20] Compiling DLKitCD trie_dlops.mm
/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.
[11/20] Compiling DLKitCD trie_dladdr.mm
[11/20] Compiling SwiftTraceGutsD SwiftTrace.mm
[11/20] Compiling SwiftTraceGutsD ObjCBridge.mm
[11/20] Compiling SwiftTraceGutsD Trampolines.mm
[11/20] Compiling SwiftTraceGutsD fast_dladdr.mm
[17/32] Compiling SwiftRegex TupleRegex.swift
[18/32] Emitting module SwiftRegex
[19/32] Compiling SwiftTraceD SwiftStats.swift
[20/33] Compiling SwiftTraceD SwiftInvoke.swift
[21/33] Compiling SwiftTraceD SwiftLifetime.swift
[22/33] Compiling SwiftTraceD SwiftStack.swift
[23/33] Compiling SwiftTraceD SwiftSwizzle.swift
[24/33] Compiling SwiftTraceD SwiftMeta.swift
[25/33] Compiling SwiftTraceD SwiftTrace.swift
[26/33] Compiling SwiftTraceD SwiftInterpose.swift
[27/33] Compiling SwiftTraceD EasyPointer.swift
[28/33] Compiling SwiftTraceD StringIndex.swift
[29/33] Emitting module SwiftTraceD
[30/33] Compiling SwiftTraceD SwiftArgs.swift
[31/33] Compiling SwiftTraceD SwiftAspects.swift
[31/33] Write Objects.LinkFileList
[32/33] Linking libSwiftTraceD.dylib
error: emit-module command failed with exit code 1 (use -v to see invocation)
[34/35] 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,
                ^~~~~~~~~~~
[35/35] 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
BUILD FAILURE 5.10 macosSpm