The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build SentryCocoaLumberjack, reference 0.0.1-alpha.2 (e30623), with Swift 6.2 (beta) for macOS (SPM) on 18 Jun 2025 16:46:17 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/bruno-garcia/SentryCocoaLumberjack.git
Reference: 0.0.1-alpha.2
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/bruno-garcia/SentryCocoaLumberjack
 * tag               0.0.1-alpha.2 -> FETCH_HEAD
HEAD is now at e30623b build
Cloned https://github.com/bruno-garcia/SentryCocoaLumberjack.git
Revision (git rev-parse @):
e30623b76a27647e87d8cba0752724b782ec40ab
SUCCESS checkout https://github.com/bruno-garcia/SentryCocoaLumberjack.git at 0.0.1-alpha.2
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/bruno-garcia/SentryCocoaLumberjack.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/140] Write Example-entitlement.plist
[1/140] Write swift-version-1EA4D86E10B52AF.txt
[2/140] Compiling Tools SentryCrashSysCtl.c
[3/140] Compiling Tools SentryCrashThread.c
[4/140] Compiling Tools SentryCrashSymbolicator.c
[5/140] Compiling Tools SentryCrashString.c
[6/140] Compiling Tools SentryCrashStackCursor_SelfThread.c
[7/140] Compiling Tools SentryCrashStackCursor_MachineContext.c
[8/140] Compiling Tools SentryCrashStackCursor_Backtrace.c
[9/140] Compiling Tools SentryCrashStackCursor.c
[10/140] Compiling Tools SentryCrashSignalInfo.c
[11/140] Compiling Tools SentryCrashMemory.c
/Users/admin/builder/spi-builder-workspace/.build/checkouts/sentry-cocoa/Sources/SentryCrash/Recording/Tools/SentryCrashMachineContext.c:41:9: error: missing '#include <sys/_types/_ucontext64.h>'; 'ucontext64_t' must be declared before it is used
   41 | typedef ucontext64_t SignalUserContext;
      |         ^
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/usr/include/sys/_types/_ucontext64.h:52:33: note: declaration here is not visible
   52 | typedef _STRUCT_UCONTEXT64      ucontext64_t;   /* [???] user context */
      |                                 ^
1 error generated.
[12/140] Compiling Tools SentryCrashMachineContext.c
[12/140] Compiling Sentry SentryAutoBreadcrumbTrackingIntegration.m
[12/140] Compiling Filters SentryCrashReportFilterBasic.m
[12/140] Compiling Sentry NSData+SentryCompression.m
[12/140] Compiling Sentry NSDictionary+SentrySanitize.m
[12/140] Compiling Tools Container+SentryDeepSearch.m
[12/140] Compiling Sentry NSArray+SentrySanitize.m
[12/140] Compiling Tools SentryCrashObjC.c
[12/140] Compiling Sentry NSDate+SentryExtras.m
[12/140] Compiling Tools SentryCrashCString.m
Fetching https://github.com/getsentry/sentry-cocoa
Fetching https://github.com/CocoaLumberjack/CocoaLumberjack
[1/18508] Fetching cocoalumberjack
[1482/181166] Fetching cocoalumberjack, sentry-cocoa
Fetched https://github.com/CocoaLumberjack/CocoaLumberjack from cache (5.07s)
Fetched https://github.com/getsentry/sentry-cocoa from cache (5.07s)
Computing version for https://github.com/getsentry/sentry-cocoa
Computed https://github.com/getsentry/sentry-cocoa at 5.2.2 (5.63s)
Computing version for https://github.com/CocoaLumberjack/CocoaLumberjack
Computed https://github.com/CocoaLumberjack/CocoaLumberjack at 3.8.5 (0.43s)
Fetching https://github.com/apple/swift-log
[1/3836] Fetching swift-log
Fetched https://github.com/apple/swift-log from cache (1.11s)
Computing version for https://github.com/apple/swift-log
Computed https://github.com/apple/swift-log at 1.6.3 (1.56s)
Creating working copy for https://github.com/CocoaLumberjack/CocoaLumberjack
Working copy of https://github.com/CocoaLumberjack/CocoaLumberjack resolved at 3.8.5
Creating working copy for https://github.com/apple/swift-log
Working copy of https://github.com/apple/swift-log resolved at 1.6.3
Creating working copy for https://github.com/getsentry/sentry-cocoa
Working copy of https://github.com/getsentry/sentry-cocoa resolved at 5.2.2
warning: 'spi-builder-workspace': Invalid Exclude '/Users/admin/builder/spi-builder-workspace/Sources/SentryCocoaLumberjack/Example': File not found.
BUILD FAILURE 6.2 macosSpm