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 BitriseTrace, reference main (33b8c3), with Swift 6.2 (beta) for macOS (SPM) on 19 Jun 2025 02:40:52 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/bitrise-io/trace-cocoa-sdk.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/bitrise-io/trace-cocoa-sdk
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 33b8c33 Bump cocoapods-downloader from 1.4.0 to 1.6.3
Cloned https://github.com/bitrise-io/trace-cocoa-sdk.git
Revision (git rev-parse @):
33b8c3356a09210788c40391b0ca1b51d5fe1e8e
SUCCESS checkout https://github.com/bitrise-io/trace-cocoa-sdk.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/bitrise-io/trace-cocoa-sdk.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/66] Compiling TraceInternal_Recording_Tools KSSignalInfo.c
[1/66] Write swift-version-1EA4D86E10B52AF.txt
/Users/admin/builder/spi-builder-workspace/TraceInternal/CrashReporting/Recording/Tools/KSMachineContext.c:41:13: error: missing '#include <sys/_types/_ucontext64.h>'; 'ucontext64_t' must be declared before it is used
   41 |     typedef ucontext64_t SignalUserContext;
      |             ^
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.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.
[2/66] Compiling TraceInternal_Recording_Tools KSMachineContext.c
[2/66] Compiling TraceInternal_Recording_Tools KSLogger.c
[2/66] Compiling TraceInternal_Recording_Tools KSJSONCodecObjC.m
[2/66] Compiling TraceInternal_Recording_Tools KSMach.c
[2/66] Compiling TraceInternal_Swift Punycode.cpp
[2/66] Compiling TraceInternal_Recording_Tools KSMemory.c
[2/66] Compiling TraceInternal BRObjectiveCOnlyLoad.m
[2/66] Compiling TraceInternal KSCrashInstallation.m
[2/66] Compiling TraceInternal_Recording_Tools KSObjC.c
[2/66] Compiling TraceInternal BRReportingSink.m
BUILD FAILURE 6.2 macosSpm