Build Information
Failed to build BitriseTrace, reference 1.7.39 (5dace8
), with Swift 6.0 for macOS (SPM) on 1 Nov 2024 21:03:00 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
Build Log
========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/bitrise-io/trace-cocoa-sdk.git
Reference: 1.7.39
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/bitrise-io/trace-cocoa-sdk
* tag 1.7.39 -> FETCH_HEAD
HEAD is now at 5dace83 Bumped version to 1.7.39
Cloned https://github.com/bitrise-io/trace-cocoa-sdk.git
Revision (git rev-parse @):
5dace831481550cfd1c17d0641b521915c948530
SUCCESS checkout https://github.com/bitrise-io/trace-cocoa-sdk.git at 1.7.39
========================================
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": "trace-cocoa-sdk",
"name": "BitriseTrace",
"url": "https://github.com/bitrise-io/trace-cocoa-sdk.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/trace-cocoa-sdk",
"dependencies": [
]
}
]
}
Fetching https://github.com/bitrise-io/trace-cocoa-sdk.git
[1/6886] Fetching trace-cocoa-sdk
Fetched https://github.com/bitrise-io/trace-cocoa-sdk.git from cache (395.17s)
Creating working copy for https://github.com/bitrise-io/trace-cocoa-sdk.git
Working copy of https://github.com/bitrise-io/trace-cocoa-sdk.git resolved at 1.7.39 (5dace83)
warning: '.resolve-product-dependencies': dependency 'trace-cocoa-sdk' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/bitrise-io/trace-cocoa-sdk.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
Building for debugging...
[0/66] Compiling TraceInternal_Recording KSCrashC.c
[1/66] Write swift-version--7754E27361AE5C74.txt
[2/66] Compiling TraceInternal_Recording KSCrashCachedData.c
[3/66] Compiling TraceInternal_Swift Punycode.cpp
[4/66] Compiling TraceInternal_Swift OldDemangler.cpp
[5/66] Compiling TraceInternal_Swift ManglingUtils.cpp
[6/66] Compiling TraceInternal_Swift NodePrinter.cpp
[7/66] Compiling TraceInternal KSCrashInstallation.m
[8/66] Compiling TraceInternal BRObjectiveCOnlyLoad.m
[9/66] Compiling TraceInternal_Recording KSCrash.m
[10/66] Compiling TraceInternal BRFilterPipeline.m
[11/66] Compiling TraceInternal BRLogger.m
[12/66] Compiling TraceInternal BRFilterStringToData.m
[13/66] Compiling TraceInternal_Reporting_Tools KSCString.m
[14/66] Compiling TraceInternal_Recording KSCrashDoctor.m
[15/66] Compiling TraceInternal BRReportingSink.m
[16/66] Compiling TraceInternal_Recording_Tools NSError+SimpleConstructor.m
[17/66] Compiling TraceInternal_Reporting_Filters_Tools Container+DeepSearch.m
[18/66] Compiling TraceInternal_Recording_Tools KSSymbolicator.c
[19/66] Compiling TraceInternal_Recording_Tools KSSysCtl.c
[20/66] Compiling TraceInternal_Recording_Tools KSgetsect.c
[21/66] Compiling TraceInternal_Reporting_Filters KSCrashReportFilterAppleFmt.m
[22/66] Compiling TraceInternal_Recording_Tools KSString.c
[23/66] Compiling TraceInternal_Recording_Tools KSStackCursor_SelfThread.c
[24/66] Compiling TraceInternal_Recording_Tools KSStackCursor_Backtrace.c
[25/66] Compiling TraceInternal_Recording_Tools KSStackCursor_MachineContext.c
[26/66] Compiling TraceInternal_Recording_Tools KSStackCursor.c
[27/66] Compiling TraceInternal_Recording_Tools KSSignalInfo.c
[28/66] Compiling TraceInternal_Swift Demangle.cpp
[29/66] Compiling TraceInternal_Recording_Tools KSThread.c
[30/66] Compiling TraceInternal_Recording_Tools KSMemory.c
[31/66] Compiling TraceInternal_Swift Demangler.cpp
[32/66] Compiling TraceInternal_Recording_Tools KSMach.c
/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-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.
[33/66] Compiling TraceInternal_Recording_Tools KSMachineContext.c
[33/66] Compiling TraceInternal_Recording_Tools KSDemangle_Swift.cpp
[33/66] Compiling TraceInternal_Recording_Tools KSDynamicLinker.c
[33/66] Compiling TraceInternal_Recording_Tools KSID.c
[33/66] Compiling TraceInternal_Recording_Tools KSJSONCodec.c
[33/66] Compiling TraceInternal_Recording_Tools KSFileUtils.c
[33/66] Compiling TraceInternal_Recording_Tools KSLogger.c
[33/66] Compiling TraceInternal_Swift Context.cpp
[33/66] Compiling TraceInternal_Recording_Tools KSJSONCodecObjC.m
[33/66] Compiling TraceInternal_Recording_Tools KSObjC.c
BUILD FAILURE 6.0 macosSpm