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.1 for macOS (SPM) on 26 Apr 2025 19:17:06 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.61.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/getsentry/sentry-cocoa.git
Fetching https://github.com/apple/swift-log.git from cache
[1/150985] Fetching sentry-cocoa
Fetched https://github.com/getsentry/sentry-cocoa.git from cache (4.52s)
Fetched https://github.com/apple/swift-log.git from cache (4.52s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (5.00s)
Computing version for https://github.com/getsentry/sentry-cocoa.git
Computed https://github.com/getsentry/sentry-cocoa.git at 7.31.5 (0.56s)
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.3
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.3",
          "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.62s)
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.73s)
Fetched https://github.com/apple/swift-log.git from cache (0.73s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (0.78s)
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/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
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.3
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.1
Building package at path:  $PWD
https://github.com/ericlewis/swift-log-sentry.git
https://github.com/ericlewis/swift-log-sentry.git
{
  "dependencies" : [
    {
      "identity" : "swift-log",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-log.git"
    },
    {
      "identity" : "sentry-cocoa",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "7.0.0",
            "upper_bound" : "8.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/getsentry/sentry-cocoa.git"
    }
  ],
  "manifest_display_name" : "swift-log-sentry",
  "name" : "swift-log-sentry",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "9.0"
    },
    {
      "name" : "macos",
      "version" : "10.10"
    },
    {
      "name" : "tvos",
      "version" : "9.0"
    },
    {
      "name" : "watchos",
      "version" : "2.0"
    }
  ],
  "products" : [
    {
      "name" : "SentryLogHandler",
      "targets" : [
        "swift-log-sentry"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "swift_log_sentryTests",
      "module_type" : "SwiftTarget",
      "name" : "swift-log-sentryTests",
      "path" : "Tests/swift-log-sentryTests",
      "product_dependencies" : [
        "Logging",
        "Sentry"
      ],
      "sources" : [
        "swift_log_sentryTests.swift"
      ],
      "target_dependencies" : [
        "swift-log-sentry"
      ],
      "type" : "test"
    },
    {
      "c99name" : "swift_log_sentry",
      "module_type" : "SwiftTarget",
      "name" : "swift-log-sentry",
      "path" : "Sources/swift-log-sentry",
      "product_dependencies" : [
        "Logging",
        "Sentry"
      ],
      "product_memberships" : [
        "SentryLogHandler"
      ],
      "sources" : [
        "LogHandler.swift",
        "SentryClient+Live.swift",
        "SentryClient.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.5"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.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-2F0A5646E1D333AE.txt
[1/222] Write sources
[2/222] Compiling NSDictionary+SentrySanitize.m
[3/222] Compiling SentryAppState.m
[4/222] Compiling SentryAppStateManager.m
[5/222] Compiling Container+SentryDeepSearch.m
[6/222] Compiling SentryAsynchronousOperation.m
[7/222] Compiling SentryAttachment.m
[8/222] Compiling SentryCrashReportFilterBasic.m
[9/222] Compiling SentryCrashCString.m
[10/222] Compiling SentryCrashUUIDConversion.c
[11/222] Compiling NSData+SentryCompression.m
[12/222] Compiling NSArray+SentrySanitize.m
[13/222] Compiling NSDate+SentryExtras.m
[14/222] Compiling SentryCrashString.c
[15/222] Compiling NSData+Sentry.m
[16/222] Compiling SentryCrashSignalInfo.c
[17/222] Compiling fishhook.c
[18/222] Compiling SentryCrashStackCursor_SelfThread.c
[19/222] Compiling SentryCrashStackCursor_MachineContext.c
[20/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.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.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.
[21/222] Compiling SentryCrashMachineContext.c
[21/222] Compiling SentryCrashStackCursor.c
[21/222] Compiling SentryCrashLogger.c
[21/222] Compiling SentryCrashSymbolicator.c
[21/222] Compiling SentryCrashThread.c
[21/222] Compiling SentryCrashObjC.c
[21/222] Compiling SentryCrashSysCtl.c
[21/222] Compiling SentryHook.c
[21/222] Compiling SentryCrashMach.c
[21/222] Compiling SentryCrashStackCursor_Backtrace.c
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
[0/1] Planning build
Building for debugging...
[0/202] Compiling SentryCrashThread.c
[1/202] Compiling SentryCrashSysCtl.c
[2/202] Compiling SentryHook.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.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.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.
[3/202] Compiling SentryCrashMachineContext.c
[3/202] Compiling SentryCrashJSONCodec.c
[3/202] Compiling SentryCrashJSONCodecObjC.m
[3/202] Compiling SentryCrashMach.c
[3/202] Compiling SentryCrashStackCursor.c
[3/202] Compiling SentryCrashStackCursor_Backtrace.c
[3/202] Compiling SentryCrashLogger.c
[3/202] Compiling SentryCrashSymbolicator.c
[3/202] Compiling SentryCrashObjC.c
[3/202] Write swift-version-2F0A5646E1D333AE.txt
BUILD FAILURE 6.1 macosSpm