Build Information
Failed to build swift-log-sentry, reference main (894ccf
), with Swift 6.0 for macOS (SPM) on 2 Nov 2024 04:25:59 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
Build Log
========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ericlewis/swift-log-sentry.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/ericlewis/swift-log-sentry
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 894ccf4 chore: update adding dep instructions
Cloned https://github.com/ericlewis/swift-log-sentry.git
Revision (git rev-parse @):
894ccf45cfda0b615bc3d69c9e6fc6137a2a07e5
SUCCESS checkout https://github.com/ericlewis/swift-log-sentry.git at main
Fetching https://github.com/getsentry/sentry-cocoa.git
Fetching https://github.com/apple/swift-log.git
[1/3660] Fetching swift-log
[3661/133510] Fetching swift-log, sentry-cocoa
Fetched https://github.com/apple/swift-log.git from cache (4.71s)
Fetched https://github.com/getsentry/sentry-cocoa.git from cache (4.71s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.1 (0.49s)
Computing version for https://github.com/getsentry/sentry-cocoa.git
Computed https://github.com/getsentry/sentry-cocoa.git at 7.31.5 (0.63s)
Creating working copy for https://github.com/getsentry/sentry-cocoa.git
Working copy of https://github.com/getsentry/sentry-cocoa.git resolved at 7.31.5
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.1
========================================
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": "swift-log-sentry",
"name": "swift-log-sentry",
"url": "https://github.com/ericlewis/swift-log-sentry.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-log-sentry",
"dependencies": [
{
"identity": "swift-log",
"name": "swift-log",
"url": "https://github.com/apple/swift-log.git",
"version": "1.6.1",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-log",
"dependencies": [
]
},
{
"identity": "sentry-cocoa",
"name": "Sentry",
"url": "https://github.com/getsentry/sentry-cocoa.git",
"version": "7.31.5",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/sentry-cocoa",
"dependencies": [
]
}
]
}
]
}
Fetching https://github.com/ericlewis/swift-log-sentry.git
[1/61] Fetching swift-log-sentry
Fetched https://github.com/ericlewis/swift-log-sentry.git from cache (0.66s)
Fetching https://github.com/apple/swift-log.git from cache
Fetching https://github.com/getsentry/sentry-cocoa.git from cache
Fetched https://github.com/apple/swift-log.git from cache (0.83s)
Fetched https://github.com/getsentry/sentry-cocoa.git from cache (0.83s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.1 (0.02s)
Computing version for https://github.com/getsentry/sentry-cocoa.git
Computed https://github.com/getsentry/sentry-cocoa.git at 7.31.5 (0.03s)
Creating working copy for https://github.com/getsentry/sentry-cocoa.git
Working copy of https://github.com/getsentry/sentry-cocoa.git resolved at 7.31.5
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.1
Creating working copy for https://github.com/ericlewis/swift-log-sentry.git
Working copy of https://github.com/ericlewis/swift-log-sentry.git resolved at main (894ccf4)
warning: '.resolve-product-dependencies': dependency 'swift-log-sentry' is not used by any target
Found 2 product dependencies
- swift-log
- Sentry
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/ericlewis/swift-log-sentry.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
Building for debugging...
[0/222] Write swift-version--7754E27361AE5C74.txt
[1/222] Write sources
[2/222] Compiling SentryCrashReportConverter.m
[3/222] Compiling NSData+Sentry.m
[4/222] Compiling NSArray+SentrySanitize.m
[5/222] Compiling NSLocale+Sentry.m
[6/222] Compiling NSMutableDictionary+Sentry.m
[7/222] Compiling Container+SentryDeepSearch.m
[8/222] Compiling SentryCrashIntegration.m
[8/222] Compiling SentryCrashUUIDConversion.c
[10/222] Compiling NSDate+SentryExtras.m
[11/222] Compiling SentryCrashReportFilterBasic.m
[12/222] Compiling NSDictionary+SentrySanitize.m
[13/222] Compiling NSData+SentryCompression.m
[14/222] Compiling SentryCrashCString.m
[15/222] Compiling SentryCrashString.c
[16/222] Compiling SentryCrashSignalInfo.c
[17/222] Compiling fishhook.c
[18/222] Compiling SentryCrashSymbolicator.c
[19/222] Compiling SentryCrashStackCursor.c
[20/222] Compiling SentryCrashStackCursor_Backtrace.c
[21/222] Compiling SentryCrashMemory.c
[22/222] Compiling SentryCrashStackCursor_SelfThread.c
[23/222] Compiling SentryCrashMach.c
/Users/admin/builder/spi-builder-workspace/.build/checkouts/sentry-cocoa/Sources/SentryCrash/Recording/Tools/SentryCrashMachineContext.c:42:9: error: missing '#include <sys/_types/_ucontext64.h>'; 'ucontext64_t' must be declared before it is used
42 | 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.
[24/222] Compiling SentryCrashMachineContext.c
[24/222] Compiling SentryCrashSysCtl.c
[24/222] Compiling SentryCrashJSONCodec.c
[24/222] Compiling SentryCrashJSONCodecObjC.m
[24/222] Compiling SentryCrashID.c
[24/222] Compiling SentryCrashThread.c
[24/222] Compiling SentryCrashLogger.c
[24/222] Compiling SentryCrashStackCursor_MachineContext.c
[24/222] Compiling SentryCrashObjC.c
[24/222] Compiling SentryHook.c
BUILD FAILURE 6.0 macosSpm