The Swift Package Index logo.Swift Package Index

Build Information

Failed to build swift-log-sentry, reference main (894ccf), with Swift 6.3 for macOS (SPM) on 12 Apr 2026 18:29:55 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.70.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/apple/swift-log.git
Fetching https://github.com/getsentry/sentry-cocoa.git
[1/6521] Fetching swift-log
[6522/228746] Fetching swift-log, sentry-cocoa
Fetched https://github.com/apple/swift-log.git from cache (24.17s)
Fetched https://github.com/getsentry/sentry-cocoa.git from cache (24.17s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.11.0 (24.81s)
Computing version for https://github.com/getsentry/sentry-cocoa.git
Computed https://github.com/getsentry/sentry-cocoa.git at 7.31.5 (0.65s)
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.11.0
========================================
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",
  "traits": [
    "default"
  ],
  "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",
      "traits": [
        "default"
      ],
      "dependencies": [
        {
          "identity": "swift-log",
          "name": "swift-log",
          "url": "https://github.com/apple/swift-log.git",
          "version": "1.11.0",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-log",
          "traits": [
          ],
          "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",
          "traits": [
            "default"
          ],
          "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.59s)
Fetching https://github.com/getsentry/sentry-cocoa.git from cache
Fetching https://github.com/apple/swift-log.git from cache
Fetched https://github.com/getsentry/sentry-cocoa.git from cache (0.88s)
Fetched https://github.com/apple/swift-log.git from cache (0.88s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.11.0 (0.98s)
Computing version for https://github.com/getsentry/sentry-cocoa.git
Computed https://github.com/getsentry/sentry-cocoa.git at 7.31.5 (0.04s)
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.11.0
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/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.3
Building package at path:  $PWD
https://github.com/ericlewis/swift-log-sentry.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/222] Write swift-version--6988338F2F200930.txt
[1/222] Write sources
[2/222] Compiling SentryAppStartMeasurement.m
[3/222] Compiling SentryANRTracker.m
[4/222] Compiling SentryCrashCString.m
[5/222] Compiling SentryAppState.m
[6/222] Compiling Container+SentryDeepSearch.m
[7/222] Compiling NSMutableDictionary+Sentry.m
[8/222] Compiling SentryANRTrackingIntegration.m
[9/222] Compiling SentryCrashUUIDConversion.c
[10/222] Compiling PrivateSentrySDKOnly.m
[11/222] Compiling SentryCrashReportFilterBasic.m
[12/222] Compiling SentryCrashDefaultMachineContextWrapper.m
[13/222] Compiling SentryAppStartTrackingIntegration.m
[14/222] Compiling SentryCrashString.c
[15/222] Compiling SentryAppStartTracker.m
[16/222] Compiling SentryCrashSignalInfo.c
[17/222] Compiling SentryCrashStackCursor_SelfThread.c
[18/222] Compiling SentryCrashSymbolicator.c
[19/222] Compiling SentryCrashStackCursor.c
[20/222] Compiling SentryCrashMemory.c
[21/222] Compiling SentryCrashMach.c
[22/222] Compiling SentryCrashThread.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-26.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.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.
[23/222] Compiling SentryCrashMachineContext.c
[23/222] Compiling SentryCrashJSONCodec.c
[23/222] Compiling SentryCrashSysCtl.c
[23/222] Compiling SentryCrashJSONCodecObjC.m
[23/222] Compiling SentryCrashStackCursor_MachineContext.c
[23/222] Compiling SentryCrashObjC.c
[23/222] Compiling SentryCrashStackCursor_Backtrace.c
[23/222] Compiling SentryCrashLogger.c
[23/222] Compiling SentryHook.c
[23/222] Compiling fishhook.c
BUILD FAILURE 6.3 macosSpm