The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build swift-log-sentry, reference 1.0.0 (308062), with Swift 6.0 for macOS (SPM) on 28 Nov 2024 10:39:11 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/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/3702] Fetching swift-log
[3703/135871] Fetching swift-log, sentry-cocoa
Fetched https://github.com/apple/swift-log.git from cache (4.78s)
Fetched https://github.com/getsentry/sentry-cocoa.git from cache (4.78s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.2 (0.44s)
Computing version for https://github.com/getsentry/sentry-cocoa.git
Computed https://github.com/getsentry/sentry-cocoa.git at 7.31.5 (0.54s)
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.2
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",
  "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.2",
          "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.71s)
Fetching https://github.com/apple/swift-log.git from cache
Fetching https://github.com/getsentry/sentry-cocoa.git from cache
Fetched https://github.com/getsentry/sentry-cocoa.git from cache (0.79s)
Fetched https://github.com/apple/swift-log.git from cache (0.79s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.2 (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.02s)
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/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.2
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.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 -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/222] Write swift-version--7754E27361AE5C74.txt
[1/222] Write sources
[2/222] Compiling PrivateSentrySDKOnly.m
[3/222] Compiling NSData+Sentry.m
[4/222] Compiling SentryANRTracker.m
[5/222] Compiling Container+SentryDeepSearch.m
[6/222] Compiling NSData+SentryCompression.m
[7/222] Compiling NSDictionary+SentrySanitize.m
[8/222] Compiling NSLocale+Sentry.m
[9/222] Compiling SentryCrashReportFilterBasic.m
[10/222] Compiling SentryCrashUUIDConversion.c
[11/222] Compiling NSDate+SentryExtras.m
[12/222] Compiling SentryCrashCString.m
[13/222] Compiling NSArray+SentrySanitize.m
[14/222] Compiling SentryCrashString.c
[15/222] Compiling NSMutableDictionary+Sentry.m
[16/222] Compiling SentryCrashSignalInfo.c
[17/222] Compiling SentryCrashStackCursor_Backtrace.c
[18/222] Compiling fishhook.c
[19/222] Compiling SentryCrashMemory.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.
[20/222] Compiling SentryCrashMachineContext.c
[20/222] Compiling SentryCrashStackCursor.c
[20/222] Compiling SentryCrashSysCtl.c
[20/222] Compiling SentryCrashMach.c
[20/222] Compiling SentryCrashStackCursor_SelfThread.c
[20/222] Compiling SentryCrashSymbolicator.c
[20/222] Compiling SentryCrashStackCursor_MachineContext.c
[20/222] Compiling SentryHook.c
[20/222] Compiling SentryCrashObjC.c
[20/222] Compiling SentryCrashThread.c
BUILD FAILURE 6.0 macosSpm