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 main (589f37), with Swift 5.9 for macOS (SPM) on 25 Jun 2024 05:28:52 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.2.0.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: main
Initialized empty Git repository in /Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.git/
From https://github.com/johnno1962/SwiftTrace
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
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 main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.9
Building package at path:  $workDir
https://github.com/johnno1962/SwiftTrace.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.2.0.app xcrun swift build --arch arm64
Building for debugging...
[0/22] Compiling SwiftTraceGutsD xt_forwarding_trampoline_x64.s
[0/22] Compiling SwiftTraceGutsD xt_forwarding_trampoline_arm7.s
[2/22] Compiling SwiftTraceGutsD xt_forwarding_trampoline_x86.s
[3/22] Compiling SwiftTraceGutsD xt_forwarding_trampoline_arm64.s
[4/22] Compiling SwiftTraceGuts xt_forwarding_trampoline_x86.s
[5/22] Compiling SwiftTraceGuts xt_forwarding_trampoline_x64.s
[6/22] Compiling SwiftTraceGuts xt_forwarding_trampoline_arm7.s
[7/22] Compiling SwiftTraceGuts xt_forwarding_trampoline_arm64.s
[8/22] Compiling SwiftTraceGuts fishhook.c
[9/22] Compiling SwiftTraceGutsD fishhook.c
[10/22] Compiling SwiftTraceGutsD SwiftTrace.mm
[11/22] Compiling SwiftTraceGutsD Trampolines.mm
[11/22] Compiling SwiftTraceGutsD ObjCBridge.mm
[13/22] Compiling SwiftTraceGuts Trampolines.mm
[14/22] Compiling SwiftTraceGutsD fast_dladdr.mm
[15/22] Compiling SwiftTraceGuts SwiftTrace.mm
[16/34] Compiling SwiftTraceGuts fast_dladdr.mm
ld: Undefined symbols:
  _NSLog, referenced from:
      _method_getSignature in SwiftTrace.mm.o
      _fast_dlsym in fast_dladdr.mm.o
      _fast_dlscan in fast_dladdr.mm.o
      _fast_dlscan in fast_dladdr.mm.o
  _OBJC_CLASS_$_NSAssertionHandler, referenced from:
       in Trampolines.mm.o
  _OBJC_CLASS_$_NSBundle, referenced from:
       in SwiftTrace.mm.o
  _OBJC_CLASS_$_NSMethodSignature, referenced from:
       in SwiftTrace.mm.o
  _OBJC_CLASS_$_NSMutableArray, referenced from:
       in SwiftTrace.mm.o
  _OBJC_CLASS_$_NSObject, referenced from:
      __OBJC_$_CATEGORY_NSObject_$_SwiftTrace in ObjCBridge.mm.o
       in fast_dladdr.mm.o
  _OBJC_CLASS_$_NSString, referenced from:
       in Trampolines.mm.o
  _OBJC_CLASS_$_NSThread, referenced from:
       in fast_dladdr.mm.o
  _OBJC_CLASS_$_NSValue, referenced from:
       in Trampolines.mm.o
  _OBJC_CLASS_$_SwiftMeta, referenced from:
       in ObjCBridge.mm.o
  _OBJC_CLASS_$_SwiftTrace, referenced from:
       in ObjCBridge.mm.o
  _OBJC_EHTYPE_$_NSException, referenced from:
      GCC_except_table1 in SwiftTrace.mm.o
  ___CFConstantStringClassReference, referenced from:
       in SwiftTrace.mm.o
       in Trampolines.mm.o
       in Trampolines.mm.o
       in Trampolines.mm.o
       in Trampolines.mm.o
       in fast_dladdr.mm.o
       in fast_dladdr.mm.o
      ...
  ___objc_personality_v0, referenced from:
      /Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/SwiftTraceGutsD.build/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
      _method_getSignature in SwiftTrace.mm.o
  _objc_enumerationMutation, referenced from:
      _findSwizzleOf in Trampolines.mm.o
      _injection_stack in fast_dladdr.mm.o
  _objc_msgSend, referenced from:
       in objc-stubs-file
  _objc_release, referenced from:
      _searchMainImage in SwiftTrace.mm.o
      _searchMainImage in SwiftTrace.mm.o
      _searchMainImage in SwiftTrace.mm.o
      _searchMainImage in SwiftTrace.mm.o
      _searchBundleImages in SwiftTrace.mm.o
      _searchBundleImages in SwiftTrace.mm.o
      _searchBundleImages in SwiftTrace.mm.o
      _searchBundleImages in SwiftTrace.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
      _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
      _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
      _searchMainImage in SwiftTrace.mm.o
      _searchBundleImages in SwiftTrace.mm.o
      _searchBundleImages in SwiftTrace.mm.o
      _appBundleImages in SwiftTrace.mm.o
      _appBundleImages in SwiftTrace.mm.o
      _appBundleImages in SwiftTrace.mm.o
      ...
  _objc_retainBlock, referenced from:
      _findHiddenSwiftSymbols in SwiftTrace.mm.o
  _objc_storeStrong, referenced from:
      +[NSObject(SwiftTrace) setSwiftTraceMethodExclusionPattern:] in ObjCBridge.mm.o
      +[NSObject(SwiftTrace) setSwiftTraceMethodExclusionPattern:] in ObjCBridge.mm.o
      +[NSObject(SwiftTrace) setSwiftTraceMethodExclusionPattern:] in ObjCBridge.mm.o
      +[NSObject(SwiftTrace) setSwiftTraceMethodInclusionPattern:] in ObjCBridge.mm.o
      +[NSObject(SwiftTrace) setSwiftTraceMethodInclusionPattern:] in ObjCBridge.mm.o
      +[NSObject(SwiftTrace) setSwiftTraceMethodInclusionPattern:] in ObjCBridge.mm.o
      +[NSObject(SwiftTrace) setSwiftTraceFunctionSuffixes:] in ObjCBridge.mm.o
      +[NSObject(SwiftTrace) setSwiftTraceFunctionSuffixes:] in ObjCBridge.mm.o
      +[NSObject(SwiftTrace) setSwiftTraceFunctionSuffixes:] in ObjCBridge.mm.o
      ...
clang: error: linker command failed with exit code 1 (use -v to see invocation)
[17/34] Linking libSwiftTraceGutsD.dylib
[17/34] Compiling SwiftTraceGuts ObjCBridge.mm
BUILD FAILURE 5.9 macosSpm