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 8.6.1 (589f37), with Swift 5.8 for macOS (SPM) on 25 Jun 2024 05:30:07 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.43.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/johnno1962/SwiftTrace.git
Reference: 8.6.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/johnno1962/SwiftTrace
 * tag               8.6.1      -> FETCH_HEAD
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 8.6.1
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.8
Building package at path:  $workDir
https://github.com/johnno1962/SwiftTrace.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-14.3.1.app xcrun swift build --arch arm64
Building for debugging...
[0/22] Compiling SwiftTraceGutsD xt_forwarding_trampoline_x86.s
[1/22] Compiling SwiftTraceGuts xt_forwarding_trampoline_x64.s
[2/22] Compiling SwiftTraceGuts xt_forwarding_trampoline_x86.s
[2/22] Compiling SwiftTraceGutsD xt_forwarding_trampoline_x64.s
[4/22] Compiling SwiftTraceGuts xt_forwarding_trampoline_arm7.s
[5/22] Compiling SwiftTraceGuts xt_forwarding_trampoline_arm64.s
[6/22] Compiling SwiftTraceGutsD xt_forwarding_trampoline_arm7.s
[7/22] Compiling SwiftTraceGutsD xt_forwarding_trampoline_arm64.s
[8/22] Compiling SwiftTraceGutsD fishhook.c
[9/22] Compiling SwiftTraceGuts fishhook.c
[10/22] Compiling SwiftTraceGuts ObjCBridge.mm
[11/22] Compiling SwiftTraceGuts Trampolines.mm
[11/22] Compiling SwiftTraceGuts SwiftTrace.mm
[11/22] Compiling SwiftTraceGutsD ObjCBridge.mm
[11/22] Compiling SwiftTraceGutsD Trampolines.mm
[11/22] Compiling SwiftTraceGuts fast_dladdr.mm
[11/22] Compiling SwiftTraceGutsD fast_dladdr.mm
[11/22] Compiling SwiftTraceGutsD SwiftTrace.mm
Undefined symbols for architecture arm64:
  "_NSLog", referenced from:
      _method_getSignature in SwiftTrace.mm.o
      _fast_dlsym in fast_dladdr.mm.o
      _fast_dlscan in fast_dladdr.mm.o
  "_OBJC_CLASS_$_NSAssertionHandler", referenced from:
      objc-class-ref in Trampolines.mm.o
  "_OBJC_CLASS_$_NSBundle", referenced from:
      objc-class-ref in SwiftTrace.mm.o
  "_OBJC_CLASS_$_NSMethodSignature", referenced from:
      objc-class-ref in SwiftTrace.mm.o
  "_OBJC_CLASS_$_NSMutableArray", referenced from:
      objc-class-ref in SwiftTrace.mm.o
      objc-class-ref in Trampolines.mm.o
  "_OBJC_CLASS_$_NSObject", referenced from:
      __OBJC_$_CATEGORY_NSObject_$_SwiftTrace in ObjCBridge.mm.o
      objc-class-ref in fast_dladdr.mm.o
  "_OBJC_CLASS_$_NSString", referenced from:
      objc-class-ref in Trampolines.mm.o
      objc-class-ref in fast_dladdr.mm.o
  "_OBJC_CLASS_$_NSThread", referenced from:
      objc-class-ref in fast_dladdr.mm.o
  "_OBJC_CLASS_$_NSValue", referenced from:
      objc-class-ref in Trampolines.mm.o
  "_OBJC_CLASS_$_SwiftMeta", referenced from:
      objc-class-ref in ObjCBridge.mm.o
  "_OBJC_CLASS_$_SwiftTrace", referenced from:
      objc-class-ref in ObjCBridge.mm.o
  "_OBJC_EHTYPE_$_NSException", referenced from:
      GCC_except_table1 in SwiftTrace.mm.o
  "___CFConstantStringClassReference", referenced from:
      CFString in SwiftTrace.mm.o
      CFString in Trampolines.mm.o
      CFString in Trampolines.mm.o
      CFString in Trampolines.mm.o
      CFString in Trampolines.mm.o
      CFString in fast_dladdr.mm.o
      CFString in fast_dladdr.mm.o
      ...
  "___objc_personality_v0", referenced from:
      _objc_classArray in SwiftTrace.mm.o
      _method_getSignature in SwiftTrace.mm.o
      _sig_argumentType in SwiftTrace.mm.o
      _sig_returnType in SwiftTrace.mm.o
      _searchMainImage in SwiftTrace.mm.o
      _searchBundleImages in SwiftTrace.mm.o
      _findSwiftSymbols in SwiftTrace.mm.o
      ...
  "_class_getImageName", referenced from:
      _swiftUIBundlePath in SwiftTrace.mm.o
  "_class_getSuperclass", referenced from:
      _objc_classArray in SwiftTrace.mm.o
  "_method_getTypeEncoding", referenced from:
      _method_getSignature in SwiftTrace.mm.o
  "_objc_autoreleasePoolPop", referenced from:
      __GLOBAL__sub_I_fast_dladdr.mm in fast_dladdr.mm.o
  "_objc_autoreleasePoolPush", referenced from:
      __GLOBAL__sub_I_fast_dladdr.mm in fast_dladdr.mm.o
  "_objc_autoreleaseReturnValue", referenced from:
      _objc_classArray in SwiftTrace.mm.o
      _method_getSignature in SwiftTrace.mm.o
      _findSwizzleOf in Trampolines.mm.o
      _describeImageSymbol in fast_dladdr.mm.o
      _describeImageInfo in fast_dladdr.mm.o
      _describeImagePointer in fast_dladdr.mm.o
  "_objc_begin_catch", referenced from:
      _method_getSignature in SwiftTrace.mm.o
  "_objc_copyClassList", referenced from:
      _objc_classArray in SwiftTrace.mm.o
  "_objc_end_catch", referenced from:
      _method_getSignature in SwiftTrace.mm.o
  "_objc_enumerationMutation", referenced from:
      _findSwizzleOf in Trampolines.mm.o
      _injection_stack in fast_dladdr.mm.o
  "_objc_release", referenced from:
      _searchMainImage in SwiftTrace.mm.o
      _searchBundleImages in SwiftTrace.mm.o
      _appBundleImages in SwiftTrace.mm.o
      nextTrampolinePage() in Trampolines.mm.o
      _findSwizzleOf in Trampolines.mm.o
      ____ZL18nextTrampolinePagev_block_invoke in Trampolines.mm.o
      SPLForwardingTrampolinePageAlloc() in Trampolines.mm.o
      ...
  "_objc_retain", referenced from:
      _objc_classArray in SwiftTrace.mm.o
      _method_getSignature in SwiftTrace.mm.o
      nextTrampolinePage() in Trampolines.mm.o
      _findSwizzleOf in Trampolines.mm.o
  "_objc_retainAutorelease", referenced from:
      _sig_argumentType in SwiftTrace.mm.o
      _sig_returnType in SwiftTrace.mm.o
      _searchMainImage in SwiftTrace.mm.o
      _searchBundleImages in SwiftTrace.mm.o
      _appBundleImages in SwiftTrace.mm.o
      _injection_stack in fast_dladdr.mm.o
  "_objc_retainAutoreleasedReturnValue", referenced from:
      _method_getSignature in SwiftTrace.mm.o
      _searchMainImage in SwiftTrace.mm.o
      _searchBundleImages in SwiftTrace.mm.o
      _appBundleImages in SwiftTrace.mm.o
      nextTrampolinePage() in Trampolines.mm.o
      ____ZL18nextTrampolinePagev_block_invoke in Trampolines.mm.o
      SPLForwardingTrampolinePageAlloc() in Trampolines.mm.o
      ...
  "_objc_retainBlock", referenced from:
      _findHiddenSwiftSymbols in SwiftTrace.mm.o
  "_objc_storeStrong", referenced from:
      +[NSObject(SwiftTrace) setSwiftTraceMethodExclusionPattern:] in ObjCBridge.mm.o
      +[NSObject(SwiftTrace) setSwiftTraceMethodInclusionPattern:] in ObjCBridge.mm.o
      +[NSObject(SwiftTrace) setSwiftTraceFunctionSuffixes:] in ObjCBridge.mm.o
      +[NSObject(SwiftTrace) swiftTraceClassesMatchingPattern:] in ObjCBridge.mm.o
      +[NSObject(SwiftTrace) swiftTraceClassesMatchingPattern:subLevels:] in ObjCBridge.mm.o
      +[NSObject(SwiftTrace) swiftTraceProtocolsInBundleWithMatchingPattern:] in ObjCBridge.mm.o
      +[NSObject(SwiftTrace) swiftTraceProtocolsInBundleWithMatchingPattern:subLevels:] in ObjCBridge.mm.o
      ...
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
[18/46] Linking libSwiftTraceGutsD.dylib
Undefined symbols for architecture arm64:
  "_NSLog", referenced from:
      _method_getSignature in SwiftTrace.mm.o
      _fast_dlsym in fast_dladdr.mm.o
      _fast_dlscan in fast_dladdr.mm.o
  "_OBJC_CLASS_$_NSAssertionHandler", referenced from:
      objc-class-ref in Trampolines.mm.o
  "_OBJC_CLASS_$_NSBundle", referenced from:
      objc-class-ref in SwiftTrace.mm.o
  "_OBJC_CLASS_$_NSMethodSignature", referenced from:
      objc-class-ref in SwiftTrace.mm.o
  "_OBJC_CLASS_$_NSMutableArray", referenced from:
      objc-class-ref in SwiftTrace.mm.o
      objc-class-ref in Trampolines.mm.o
  "_OBJC_CLASS_$_NSObject", referenced from:
      __OBJC_$_CATEGORY_NSObject_$_SwiftTrace in ObjCBridge.mm.o
      objc-class-ref in fast_dladdr.mm.o
  "_OBJC_CLASS_$_NSString", referenced from:
      objc-class-ref in Trampolines.mm.o
      objc-class-ref in fast_dladdr.mm.o
  "_OBJC_CLASS_$_NSThread", referenced from:
      objc-class-ref in fast_dladdr.mm.o
  "_OBJC_CLASS_$_NSValue", referenced from:
      objc-class-ref in Trampolines.mm.o
  "_OBJC_CLASS_$_SwiftMeta", referenced from:
      objc-class-ref in ObjCBridge.mm.o
clang: error: unable to execute command: Interrupt: 2
clang: error: linker command failed due to signal (use -v to see invocation)
[18/46] Linking libSwiftTraceGuts.dylib
BUILD FAILURE 5.8 macosSpm