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 1.1.3 (813bd7), with Swift 5.10 for macOS (SPM) on 19 Jul 2024 14:00:49 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: 1.1.3
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/johnno1962/ProfileSwiftUI
 * tag               1.1.3      -> FETCH_HEAD
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 1.1.3
Fetching https://github.com/johnno1962/SwiftRegex5
Fetching https://github.com/johnno1962/DLKit
Fetching https://github.com/johnno1962/SwiftTrace
[1/203] Fetching swiftregex5
[16/553] Fetching swiftregex5, dlkit
[287/2620] Fetching swiftregex5, dlkit, swifttrace
Fetched https://github.com/johnno1962/DLKit from cache (1.88s)
Fetched https://github.com/johnno1962/SwiftRegex5 from cache (1.88s)
Fetched https://github.com/johnno1962/SwiftTrace from cache (1.88s)
Computing version for https://github.com/johnno1962/DLKit
Computed https://github.com/johnno1962/DLKit at 3.4.3 (0.61s)
Fetching https://github.com/johnno1962/fishhook
[1/169] Fetching fishhook
Fetched https://github.com/johnno1962/fishhook from cache (0.74s)
Computing version for https://github.com/johnno1962/fishhook
Computed https://github.com/johnno1962/fishhook at 1.2.1 (0.61s)
Computing version for https://github.com/johnno1962/SwiftTrace
Computed https://github.com/johnno1962/SwiftTrace at 8.6.1 (0.60s)
Computing version for https://github.com/johnno1962/SwiftRegex5
Computed https://github.com/johnno1962/SwiftRegex5 at 6.1.2 (0.59s)
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/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
========================================
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.68s)
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/SwiftTrace from cache (0.48s)
Fetched https://github.com/johnno1962/SwiftRegex5 from cache (0.48s)
Fetched https://github.com/johnno1962/DLKit from cache (0.48s)
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.47s)
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.02s)
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 1.1.3 (813bd75)
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
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 swift-version-33747A42983211AE.txt
[1/18] Write sources
[4/18] Compiling SwiftTraceGutsD xt_forwarding_trampoline_x64.s
[5/18] Compiling SwiftTraceGutsD xt_forwarding_trampoline_x86.s
[5/18] Compiling SwiftTraceGutsD xt_forwarding_trampoline_arm7.s
[7/20] 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_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.
/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_dladdr.mm
[11/20] Compiling DLKitCD trie_dlops.mm
[11/20] Compiling SwiftTraceGutsD SwiftTrace.mm
[11/20] Compiling SwiftTraceGutsD ObjCBridge.mm
[11/20] Compiling SwiftTraceGutsD Trampolines.mm
[15/20] Compiling SwiftTraceGutsD fast_dladdr.mm
[17/32] Emitting module SwiftRegex
[18/32] Compiling SwiftRegex TupleRegex.swift
[19/32] Compiling SwiftTraceD SwiftInvoke.swift
[20/32] Compiling SwiftTraceD SwiftLifetime.swift
[21/33] Compiling SwiftTraceD SwiftStack.swift
[22/33] Compiling SwiftTraceD SwiftStats.swift
[23/33] Compiling SwiftTraceD SwiftSwizzle.swift
[24/33] Emitting module SwiftTraceD
[25/33] Compiling SwiftTraceD SwiftMeta.swift
[26/33] Compiling SwiftTraceD SwiftTrace.swift
[27/33] Compiling SwiftTraceD SwiftInterpose.swift
[28/33] Compiling SwiftTraceD SwiftArgs.swift
[29/33] Compiling SwiftTraceD SwiftAspects.swift
[30/33] Compiling SwiftTraceD EasyPointer.swift
[31/33] Compiling SwiftTraceD StringIndex.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