The Swift Package Index logo.Swift Package Index

Build Information

Failed to build swift-log-sentry, reference 1.0.0 (308062), with Swift 6.3 for macOS (SPM) on 12 Apr 2026 18:29:36 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: 1.0.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/ericlewis/swift-log-sentry
 * tag               1.0.0      -> FETCH_HEAD
HEAD is now at 3080626 chore: fix link in readme
Cloned https://github.com/ericlewis/swift-log-sentry.git
Revision (git rev-parse @):
3080626539ec70b0ff648a565132810f29a4f7d7
SUCCESS checkout https://github.com/ericlewis/swift-log-sentry.git at 1.0.0
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/getsentry/sentry-cocoa.git
[1/6521] Fetching swift-log
Fetched https://github.com/apple/swift-log.git from cache (1.14s)
[1/222225] Fetching sentry-cocoa
Fetched https://github.com/getsentry/sentry-cocoa.git from cache (8.31s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.11.0 (8.95s)
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/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
========================================
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.60s)
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.48s)
Fetched https://github.com/getsentry/sentry-cocoa.git from cache (0.84s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.11.0 (0.92s)
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/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/ericlewis/swift-log-sentry.git
Working copy of https://github.com/ericlewis/swift-log-sentry.git resolved at 1.0.0 (3080626)
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
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 sources
[1/222] Compiling SentryCrashUUIDConversion.c
[2/222] Write swift-version--6988338F2F200930.txt
[3/222] Compiling SentryCrashString.c
[4/222] Compiling SentryCrashStackCursor_SelfThread.c
[5/222] Compiling SentryCrashSysCtl.c
[6/222] Compiling SentryCrashStackCursor_MachineContext.c
[7/222] Compiling SentryCrashSymbolicator.c
[8/222] Compiling SentryCrashStackCursor_Backtrace.c
[9/222] Compiling SentryCrashStackCursor.c
[10/222] Compiling SentryCrashSignalInfo.c
[11/222] Compiling SentryCrashMemory.c
[12/222] Compiling SentryCrashMach.c
[13/222] Compiling fishhook.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.
[14/222] Compiling SentryCrashMachineContext.c
[14/222] Compiling SentryCrashJSONCodecObjC.m
[14/222] Compiling SentryCrashJSONCodec.c
[14/222] Compiling SentryHook.c
[14/222] Compiling SentryCrashThread.c
[14/222] Compiling Container+SentryDeepSearch.m
[14/222] Compiling SentryCrashObjC.c
[14/222] Compiling SentryCrashLogger.c
[14/222] Compiling SentryCrashReportFilterBasic.m
[14/222] Compiling SentryCrashCString.m
BUILD FAILURE 6.3 macosSpm