The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build SentryCocoaLumberjack, reference 0.0.1-alpha.2 (e30623), with Swift 6.0 for macOS (SPM) on 27 Nov 2024 16:31:56 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: 0.0.1-alpha.2
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/bruno-garcia/SentryCocoaLumberjack
 * tag               0.0.1-alpha.2 -> FETCH_HEAD
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 0.0.1-alpha.2
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.70s)
Fetched https://github.com/CocoaLumberjack/CocoaLumberjack from cache (4.70s)
Computing version for https://github.com/CocoaLumberjack/CocoaLumberjack
Computed https://github.com/CocoaLumberjack/CocoaLumberjack at 3.6.2 (0.60s)
Computing version for https://github.com/getsentry/sentry-cocoa
Computed https://github.com/getsentry/sentry-cocoa at 5.2.2 (0.59s)
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.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.22s)
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.84s)
Fetched https://github.com/CocoaLumberjack/CocoaLumberjack from cache (0.85s)
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.50s)
Fetching https://github.com/apple/swift-log
[1/3698] Fetching swift-log
Fetched https://github.com/apple/swift-log from cache (1.17s)
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/apple/swift-log
Working copy of https://github.com/apple/swift-log resolved at 1.6.2
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/bruno-garcia/SentryCocoaLumberjack.git
Working copy of https://github.com/bruno-garcia/SentryCocoaLumberjack.git resolved at 0.0.1-alpha.2 (e30623b)
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 SentryAutoBreadcrumbTrackingIntegration.m
[2/137] Compiling Sentry SentryBreadcrumb.m
[3/137] Compiling Sentry SentryAsynchronousOperation.m
[4/137] Compiling Tools Container+SentryDeepSearch.m
[5/137] Compiling Sentry NSDictionary+SentrySanitize.m
[6/137] Compiling Sentry NSString+SentryUnsignedLongLongValue.m
[7/137] Compiling Sentry NSDate+SentryExtras.m
[8/137] Compiling Filters SentryCrashReportFilterBasic.m
[9/137] Compiling Sentry NSArray+SentrySanitize.m
[10/137] Compiling Tools SentryCrashCString.m
[11/137] Compiling Sentry SentryAutoSessionTrackingIntegration.m
[12/137] Compiling Tools SentryCrashStackCursor_Backtrace.c
[13/137] Compiling Tools SentryCrashSignalInfo.c
[14/137] Compiling Sentry NSData+SentryCompression.m
[15/137] Compiling Tools SentryCrashStackCursor.c
[16/137] Compiling Tools SentryCrashString.c
[17/137] Compiling Tools SentryCrashStackCursor_MachineContext.c
[18/137] Compiling Tools SentryCrashJSONCodecObjC.m
[19/137] Compiling Tools SentryCrashSysCtl.c
[20/137] Compiling Tools SentryCrashMach.c
[21/137] Compiling Tools SentryCrashID.c
[22/137] Compiling Tools SentryCrashJSONCodec.c
[23/137] Compiling Tools SentryCrashFileUtils.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.
[24/137] Compiling Tools SentryCrashMachineContext.c
[24/137] Compiling Tools SentryCrashDebug.c
[24/137] Compiling Tools SentryCrashDate.c
[24/137] Compiling Tools SentryCrashStackCursor_SelfThread.c
[24/137] Compiling Tools SentryCrashSymbolicator.c
[24/137] Compiling Tools SentryCrashObjC.c
[24/137] Compiling Tools SentryCrashLogger.c
[24/137] Compiling Tools SentryCrashMemory.c
[24/137] Compiling Tools SentryCrashThread.c
[24/137] Compiling Tools SentryCrashDynamicLinker.c
warning: 'spi-builder-workspace': Invalid Exclude '/Users/admin/builder/spi-builder-workspace/Sources/SentryCocoaLumberjack/Example': File not found.
BUILD FAILURE 6.0 macosSpm