Build Information
Failed to build SentryCocoaLumberjack, reference main (e30623
), with Swift 6.0 for macOS (SPM) on 27 Nov 2024 16:32:02 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Build Log
========================================
RunAll
========================================
Builder version: 4.58.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/bruno-garcia/SentryCocoaLumberjack.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/bruno-garcia/SentryCocoaLumberjack
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
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 main
Fetching https://github.com/getsentry/sentry-cocoa
Fetching https://github.com/CocoaLumberjack/CocoaLumberjack
[1/18338] Fetching cocoalumberjack
[18339/150501] Fetching cocoalumberjack, sentry-cocoa
Fetched https://github.com/getsentry/sentry-cocoa from cache (4.53s)
Fetched https://github.com/CocoaLumberjack/CocoaLumberjack from cache (4.53s)
Computing version for https://github.com/CocoaLumberjack/CocoaLumberjack
Computed https://github.com/CocoaLumberjack/CocoaLumberjack at 3.6.2 (0.56s)
Computing version for https://github.com/getsentry/sentry-cocoa
Computed https://github.com/getsentry/sentry-cocoa at 5.2.2 (0.55s)
Creating working copy for https://github.com/getsentry/sentry-cocoa
Working copy of https://github.com/getsentry/sentry-cocoa resolved at 5.2.2
Creating working copy for https://github.com/CocoaLumberjack/CocoaLumberjack
Working copy of https://github.com/CocoaLumberjack/CocoaLumberjack resolved at 3.6.2
========================================
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": "sentrycocoalumberjack",
"name": "SentryCocoaLumberjack",
"url": "https://github.com/bruno-garcia/SentryCocoaLumberjack.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SentryCocoaLumberjack",
"dependencies": [
{
"identity": "sentry-cocoa",
"name": "Sentry",
"url": "https://github.com/getsentry/sentry-cocoa",
"version": "5.2.2",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/sentry-cocoa",
"dependencies": [
]
},
{
"identity": "cocoalumberjack",
"name": "CocoaLumberjack",
"url": "https://github.com/CocoaLumberjack/CocoaLumberjack",
"version": "3.8.5",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/CocoaLumberjack",
"dependencies": [
{
"identity": "swift-log",
"name": "swift-log",
"url": "https://github.com/apple/swift-log",
"version": "1.6.2",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-log",
"dependencies": [
]
}
]
}
]
}
]
}
Fetching https://github.com/bruno-garcia/SentryCocoaLumberjack.git
[1/59] Fetching sentrycocoalumberjack
Fetched https://github.com/bruno-garcia/SentryCocoaLumberjack.git from cache (1.30s)
Fetching https://github.com/CocoaLumberjack/CocoaLumberjack from cache
Fetching https://github.com/getsentry/sentry-cocoa from cache
Fetched https://github.com/CocoaLumberjack/CocoaLumberjack from cache (1.93s)
Fetched https://github.com/getsentry/sentry-cocoa from cache (1.93s)
Computing version for https://github.com/getsentry/sentry-cocoa
Computed https://github.com/getsentry/sentry-cocoa at 5.2.2 (0.02s)
Computing version for https://github.com/CocoaLumberjack/CocoaLumberjack
Computed https://github.com/CocoaLumberjack/CocoaLumberjack at 3.8.5 (0.42s)
Fetching https://github.com/apple/swift-log
[1/3698] Fetching swift-log
Fetched https://github.com/apple/swift-log from cache (1.09s)
Computing version for https://github.com/apple/swift-log
Computed https://github.com/apple/swift-log at 1.6.2 (0.41s)
Creating working copy for https://github.com/bruno-garcia/SentryCocoaLumberjack.git
Working copy of https://github.com/bruno-garcia/SentryCocoaLumberjack.git resolved at main (e30623b)
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/getsentry/sentry-cocoa
Working copy of https://github.com/getsentry/sentry-cocoa resolved at 5.2.2
Creating working copy for https://github.com/apple/swift-log
Working copy of https://github.com/apple/swift-log resolved at 1.6.2
warning: '.resolve-product-dependencies': dependency 'sentrycocoalumberjack' is not used by any target
Found 2 product dependencies
- Sentry
- CocoaLumberjack
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/bruno-garcia/SentryCocoaLumberjack.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/137] Write swift-version--7754E27361AE5C74.txt
[1/137] Compiling Sentry NSDate+SentryExtras.m
[2/137] Compiling Sentry SentryCurrentDate.m
[3/137] Compiling Sentry SentryHttpDateParser.m
[4/137] Compiling Tools Container+SentryDeepSearch.m
[5/137] Compiling Sentry NSString+SentryUnsignedLongLongValue.m
[6/137] Compiling Sentry SentryAutoSessionTrackingIntegration.m
[7/137] Compiling Filters SentryCrashReportFilterBasic.m
[8/137] Compiling Sentry NSDictionary+SentrySanitize.m
[9/137] Compiling Sentry SentryAutoBreadcrumbTrackingIntegration.m
[10/137] Compiling Tools SentryCrashCString.m
[11/137] Compiling Tools SentryCrashStackCursor_Backtrace.c
[12/137] Compiling Sentry SentryAsynchronousOperation.m
[13/137] Compiling Tools SentryCrashStackCursor_MachineContext.c
[14/137] Compiling Tools SentryCrashSignalInfo.c
[15/137] Compiling Tools SentryCrashString.c
[16/137] Compiling Tools SentryCrashStackCursor.c
[17/137] Compiling Sentry SentryHttpTransport.m
[18/137] Compiling Tools SentryCrashJSONCodecObjC.m
[19/137] Compiling Tools SentryCrashSysCtl.c
[20/137] Compiling Tools SentryCrashID.c
[21/137] Compiling Tools SentryCrashJSONCodec.c
[22/137] Compiling Tools SentryCrashStackCursor_SelfThread.c
[23/137] Compiling Tools SentryCrashMach.c
[24/137] Compiling Tools SentryCrashFileUtils.c
[25/137] Compiling Tools SentryCrashDebug.c
[26/137] Compiling Tools SentryCrashDate.c
[27/137] Compiling Tools SentryCrashCPU_x86_64.c
[28/137] Compiling Tools SentryCrashCPU_x86_32.c
[29/137] Compiling Tools SentryCrashDynamicLinker.c
[30/137] Compiling Tools SentryCrashCPU_arm.c
[31/137] Compiling Tools SentryCrashThread.c
[32/137] Compiling Tools SentryCrashCPU_arm64.c
[33/137] Compiling Tools SentryCrashCPU.c
[34/137] 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-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.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.
[35/137] Compiling Tools SentryCrashMachineContext.c
[35/137] Compiling Monitors SentryCrashMonitor_User.c
[35/137] Compiling Monitors SentryCrashMonitor_NSException.m
[35/137] Compiling Monitors SentryCrashMonitor_Signal.c
[35/137] Compiling Tools SentryCrashSymbolicator.c
[35/137] Compiling Monitors SentryCrashMonitor_System.m
[35/137] Compiling Monitors SentryCrashMonitor_Zombie.c
[35/137] Compiling Tools SentryCrashLogger.c
[35/137] Compiling Tools NSError+SentrySimpleConstructor.m
[35/137] Compiling Tools SentryCrashObjC.c
warning: 'spi-builder-workspace': Invalid Exclude '/Users/admin/builder/spi-builder-workspace/Sources/SentryCocoaLumberjack/Example': File not found.
BUILD FAILURE 6.0 macosSpm