Build Information
Failed to build SentryCocoaLumberjack, reference main (e30623
), with Swift 6.1 for macOS (SPM) on 26 Apr 2025 02:39:41 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.61.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/18504] Fetching cocoalumberjack
[8143/169480] Fetching cocoalumberjack, sentry-cocoa
Fetched https://github.com/getsentry/sentry-cocoa from cache (4.37s)
Fetched https://github.com/CocoaLumberjack/CocoaLumberjack from cache (4.37s)
Computing version for https://github.com/CocoaLumberjack/CocoaLumberjack
Computed https://github.com/CocoaLumberjack/CocoaLumberjack at 3.6.2 (4.97s)
Computing version for https://github.com/getsentry/sentry-cocoa
Computed https://github.com/getsentry/sentry-cocoa at 5.2.2 (0.58s)
Creating working copy for https://github.com/CocoaLumberjack/CocoaLumberjack
Working copy of https://github.com/CocoaLumberjack/CocoaLumberjack resolved at 3.6.2
Creating working copy for https://github.com/getsentry/sentry-cocoa
Working copy of https://github.com/getsentry/sentry-cocoa resolved at 5.2.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.3",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-log",
"dependencies": [
]
}
]
}
]
}
]
}
Fetching https://github.com/bruno-garcia/SentryCocoaLumberjack.git
[3/59] Fetching sentrycocoalumberjack
Fetched https://github.com/bruno-garcia/SentryCocoaLumberjack.git from cache (1.16s)
Fetching https://github.com/getsentry/sentry-cocoa from cache
Fetching https://github.com/CocoaLumberjack/CocoaLumberjack from cache
Fetched https://github.com/getsentry/sentry-cocoa from cache (0.77s)
Fetched https://github.com/CocoaLumberjack/CocoaLumberjack from cache (0.77s)
Computing version for https://github.com/getsentry/sentry-cocoa
Computed https://github.com/getsentry/sentry-cocoa at 5.2.2 (0.83s)
Computing version for https://github.com/CocoaLumberjack/CocoaLumberjack
Computed https://github.com/CocoaLumberjack/CocoaLumberjack at 3.8.5 (0.46s)
Fetching https://github.com/apple/swift-log from cache
Fetched https://github.com/apple/swift-log from cache (0.60s)
Computing version for https://github.com/apple/swift-log
Computed https://github.com/apple/swift-log at 1.6.3 (1.09s)
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.3
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
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.1
Building package at path: $PWD
https://github.com/bruno-garcia/SentryCocoaLumberjack.git
https://github.com/bruno-garcia/SentryCocoaLumberjack.git
{
"dependencies" : [
{
"identity" : "sentry-cocoa",
"requirement" : {
"range" : [
{
"lower_bound" : "5.2.2",
"upper_bound" : "6.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/getsentry/sentry-cocoa"
},
{
"identity" : "cocoalumberjack",
"requirement" : {
"range" : [
{
"lower_bound" : "3.6.2",
"upper_bound" : "4.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/CocoaLumberjack/CocoaLumberjack"
}
],
"manifest_display_name" : "SentryCocoaLumberjack",
"name" : "SentryCocoaLumberjack",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.10"
},
{
"name" : "ios",
"version" : "9.0"
},
{
"name" : "tvos",
"version" : "9.0"
},
{
"name" : "watchos",
"version" : "3.0"
}
],
"products" : [
{
"name" : "SentryCocoaLumberjack",
"targets" : [
"SentryCocoaLumberjack"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "Example",
"targets" : [
"Example"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "SentryCocoaLumberjack",
"module_type" : "SwiftTarget",
"name" : "SentryCocoaLumberjack",
"path" : "Sources/SentryCocoaLumberjack",
"product_dependencies" : [
"Sentry",
"CocoaLumberjackSwift"
],
"product_memberships" : [
"SentryCocoaLumberjack",
"Example"
],
"sources" : [
"SentryLogger.swift"
],
"type" : "library"
},
{
"c99name" : "Example",
"module_type" : "SwiftTarget",
"name" : "Example",
"path" : "Example",
"product_dependencies" : [
"Sentry",
"CocoaLumberjackSwift"
],
"product_memberships" : [
"Example"
],
"sources" : [
"main.swift"
],
"target_dependencies" : [
"SentryCocoaLumberjack"
],
"type" : "executable"
}
],
"tools_version" : "5.2"
}
warning: 'spi-builder-workspace': Invalid Exclude '/Users/admin/builder/spi-builder-workspace/Sources/SentryCocoaLumberjack/Example': File not found.
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.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-2F0A5646E1D333AE.txt
[1/137] Compiling Sentry NSDate+SentryExtras.m
[2/137] Compiling Sentry SentryAutoSessionTrackingIntegration.m
[3/137] Compiling Sentry NSArray+SentrySanitize.m
[4/137] Compiling Tools Container+SentryDeepSearch.m
[5/137] Compiling Filters SentryCrashReportFilterBasic.m
[6/137] Compiling Sentry NSString+SentryUnsignedLongLongValue.m
[7/137] Compiling Tools SentryCrashCString.m
[8/137] Compiling Sentry SentryAutoBreadcrumbTrackingIntegration.m
[9/137] Compiling Sentry NSData+SentryCompression.m
[10/137] Compiling Sentry NSDictionary+SentrySanitize.m
[11/137] Compiling Tools SentryCrashStackCursor_Backtrace.c
[12/137] Compiling Tools SentryCrashSignalInfo.c
[13/137] Compiling Tools SentryCrashString.c
[14/137] Compiling Tools SentryCrashStackCursor_MachineContext.c
[15/137] Compiling Tools SentryCrashStackCursor.c
[16/137] Compiling Sentry SentryAsynchronousOperation.m
[17/137] Compiling Tools SentryCrashMemory.c
[18/137] Compiling Tools SentryCrashSysCtl.c
[19/137] Compiling Tools SentryCrashJSONCodec.c
[20/137] Compiling Tools SentryCrashStackCursor_SelfThread.c
[21/137] Compiling Tools SentryCrashJSONCodecObjC.m
[22/137] Compiling Tools SentryCrashID.c
[23/137] Compiling Tools SentryCrashFileUtils.c
[24/137] Compiling Tools SentryCrashSymbolicator.c
[25/137] Compiling Tools SentryCrashDebug.c
[26/137] Compiling Tools SentryCrashDate.c
[27/137] Compiling Tools SentryCrashDynamicLinker.c
[28/137] Compiling Tools SentryCrashCPU_x86_64.c
[29/137] Compiling Tools SentryCrashCPU_x86_32.c
[30/137] Compiling Tools SentryCrashThread.c
[31/137] Compiling Tools SentryCrashCPU_arm64.c
[32/137] Compiling Tools SentryCrashCPU_arm.c
[33/137] Compiling Tools SentryCrashCPU.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.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.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.
[34/137] Compiling Tools SentryCrashMachineContext.c
[34/137] Compiling Monitors SentryCrashMonitor_System.m
[34/137] Compiling Tools SentryCrashMach.c
[34/137] Compiling Monitors SentryCrashMonitor_Signal.c
[34/137] Compiling Monitors SentryCrashMonitor_User.c
[34/137] Compiling Tools NSError+SentrySimpleConstructor.m
[34/137] Compiling Tools SentryCrashLogger.c
[34/137] Compiling Monitors SentryCrashMonitor_Zombie.c
[34/137] Compiling Tools SentryCrashObjC.c
[34/137] Compiling Sentry SentryCrashExceptionApplication.m
warning: 'spi-builder-workspace': Invalid Exclude '/Users/admin/builder/spi-builder-workspace/Sources/SentryCocoaLumberjack/Example': File not found.
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
[0/1] Planning build
Building for debugging...
[0/104] Compiling Tools SentryCrashMach.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.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.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.
[1/104] Compiling Tools SentryCrashMachineContext.c
[1/104] Compiling Monitors SentryCrashMonitor_Signal.c
[1/104] Compiling Monitors SentryCrashMonitor_NSException.m
[1/104] Compiling Monitors SentryCrashMonitor_User.c
[1/104] Compiling Tools SentryCrashObjC.c
[1/104] Compiling Tools NSError+SentrySimpleConstructor.m
[1/104] Compiling Monitors SentryCrashMonitor_System.m
[1/104] Compiling Tools SentryCrashLogger.c
[1/104] Compiling Monitors SentryCrashMonitor_Zombie.c
[1/104] Write swift-version-2F0A5646E1D333AE.txt
warning: 'spi-builder-workspace': Invalid Exclude '/Users/admin/builder/spi-builder-workspace/Sources/SentryCocoaLumberjack/Example': File not found.
BUILD FAILURE 6.1 macosSpm