Build Information
Failed to build EmbraceIO, reference main (584ee2
), with Swift 5.9 for macOS (SPM) on 15 Nov 2024 17:45:01 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.2.0.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.57.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/embrace-io/embrace-apple-sdk.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/embrace-io/embrace-apple-sdk
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 584ee27 Release/6.5.2 (#125)
Cloned https://github.com/embrace-io/embrace-apple-sdk.git
Revision (git rev-parse @):
584ee27911071342c948aeed0695d589557afbc0
SUCCESS checkout https://github.com/embrace-io/embrace-apple-sdk.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 5.9
Building package at path: $PWD
https://github.com/embrace-io/embrace-apple-sdk.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.2.0.app xcrun swift build --arch arm64
[1/1] Compiling plugin GRPCSwiftPlugin
[2/2] Compiling plugin SwiftProtobufPlugin
Building for debugging...
[2/35] Copying PrivacyInfo.xcprivacy
[2/35] Copying Info.plist
[4/35] Copying PrivacyInfo.xcprivacy
[6/35] Compiling KSCrashSignalInfo.c
[7/132] Compiling KSCrashMonitor_Zombie.c
[8/132] Compiling KSCrashMonitor_Signal.c
[9/132] Compiling KSCrashMonitor_User.c
[10/311] Compiling EMBBinaryImageProvider.m
[11/311] Compiling NSURLSessionTask+Embrace.m
[12/311] Compiling KSCrashMonitor_System.m
[13/311] Compiling KSCrashMonitor_NSException.m
[14/311] Compiling KSCrashMonitor_MachException.c
[15/311] Compiling KSCrashMonitor_Memory.m
[16/311] Compiling KSCrashRecording resource_bundle_accessor.m
[17/311] Compiling KSCrashMonitorType.c
[18/311] Compiling KSCrashMonitor_Deadlock.m
[19/311] Compiling KSCrashMonitor_AppState.c
[20/311] Compiling KSCrashMonitor.c
[20/311] Compiling KSCrashRecording KSCrashReportStore.c
[22/311] Compiling KSCrashRecording KSCrashReportFixer.c
[23/311] Compiling KSCrashRecording KSCrashCachedData.c
[24/311] Compiling KSCrashRecording KSCrashReport.c
[25/311] Compiling KSCrashRecording KSCrashDoctor.m
[26/311] Compiling KSCrashRecording KSCrashC.c
[27/311] Compiling EMBStackTraceProccessor.m
[28/311] Compiling KSCrashRecording KSCrashAppStateTracker.m
[29/311] Compiling KSCrashRecording KSCrashAppMemory.m
[30/311] Compiling KSCrashRecording KSCrashAppMemoryTracker.m
[31/311] Compiling KSCrashRecording KSCrash.m
In file included from <built-in>:1:
In file included from /Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/KSCrashRecording.build/DerivedSources/resource_bundle_accessor.h:1:
In file included from /Applications/Xcode-15.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:9:
/Applications/Xcode-15.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:601:1: error: expected unqualified-id
@class NSString, Protocol;
^
/Applications/Xcode-15.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:603:9: error: unknown type name 'NSString'
typedef NSString * NSExceptionName NS_TYPED_EXTENSIBLE_ENUM;
^
/Applications/Xcode-15.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:604:9: error: unknown type name 'NSString'
typedef NSString * NSRunLoopMode NS_TYPED_EXTENSIBLE_ENUM;
^
/Applications/Xcode-15.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:606:19: error: unknown type name 'NSString'
FOUNDATION_EXPORT NSString *NSStringFromSelector(SEL aSelector);
^
/Applications/Xcode-15.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:607:44: error: unknown type name 'NSString'
FOUNDATION_EXPORT SEL NSSelectorFromString(NSString *aSelectorName);
^
/Applications/Xcode-15.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:609:19: error: unknown type name 'NSString'
FOUNDATION_EXPORT NSString *NSStringFromClass(Class aClass);
^
/Applications/Xcode-15.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:610:53: error: unknown type name 'NSString'
FOUNDATION_EXPORT Class _Nullable NSClassFromString(NSString *aClassName);
^
/Applications/Xcode-15.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:612:19: error: unknown type name 'NSString'
FOUNDATION_EXPORT NSString *NSStringFromProtocol(Protocol *proto) API_AVAILABLE(macos(10.5), ios(2.0), watchos(2.0), tvos(9.0));
^
/Applications/Xcode-15.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:612:50: error: unknown type name 'Protocol'
FOUNDATION_EXPORT NSString *NSStringFromProtocol(Protocol *proto) API_AVAILABLE(macos(10.5), ios(2.0), watchos(2.0), tvos(9.0));
^
/Applications/Xcode-15.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:613:19: error: unknown type name 'Protocol'
FOUNDATION_EXPORT Protocol * _Nullable NSProtocolFromString(NSString *namestr) API_AVAILABLE(macos(10.5), ios(2.0), watchos(2.0), tvos(9.0));
^
/Applications/Xcode-15.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:613:61: error: unknown type name 'NSString'
FOUNDATION_EXPORT Protocol * _Nullable NSProtocolFromString(NSString *namestr) API_AVAILABLE(macos(10.5), ios(2.0), watchos(2.0), tvos(9.0));
^
/Applications/Xcode-15.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:617:30: error: unknown type name 'NSString'
FOUNDATION_EXPORT void NSLog(NSString *format, ...) NS_FORMAT_FUNCTION(1,2) NS_NO_TAIL_CALL;
^
/Applications/Xcode-15.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:617:53: error: format argument not a string type
FOUNDATION_EXPORT void NSLog(NSString *format, ...) NS_FORMAT_FUNCTION(1,2) NS_NO_TAIL_CALL;
~~~~~~~~~~~~~~~~ ^ ~
/Applications/Xcode-15.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:94:49: note: expanded from macro 'NS_FORMAT_FUNCTION'
#define NS_FORMAT_FUNCTION(F,A) __attribute__((format(__NSString__, F, A)))
^ ~
/Applications/Xcode-15.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:618:31: error: unknown type name 'NSString'
FOUNDATION_EXPORT void NSLogv(NSString *format, va_list args) NS_FORMAT_FUNCTION(1,0) NS_NO_TAIL_CALL;
^
/Applications/Xcode-15.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:618:63: error: format argument not a string type
FOUNDATION_EXPORT void NSLogv(NSString *format, va_list args) NS_FORMAT_FUNCTION(1,0) NS_NO_TAIL_CALL;
~~~~~~~~~~~~~~~~ ^ ~
/Applications/Xcode-15.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:94:49: note: expanded from macro 'NS_FORMAT_FUNCTION'
#define NS_FORMAT_FUNCTION(F,A) __attribute__((format(__NSString__, F, A)))
^ ~
In file included from <built-in>:1:
In file included from /Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/KSCrashRecording.build/DerivedSources/resource_bundle_accessor.h:1:
In file included from /Applications/Xcode-15.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:11:
In file included from /Applications/Xcode-15.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSArray.h:5:
In file included from /Applications/Xcode-15.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:7:
/Applications/Xcode-15.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSZone.h:9:1: error: expected unqualified-id
@class NSString;
^
/Applications/Xcode-15.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSZone.h:19:63: error: unknown type name 'NSString'
FOUNDATION_EXPORT void NSSetZoneName(NSZone * _Nullable zone, NSString *name)NS_SWIFT_UNAVAILABLE("Zone-based memory management is unavailable");
^
/Applications/Xcode-15.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSZone.h:20:19: error: unknown type name 'NSString'
FOUNDATION_EXPORT NSString *NSZoneName(NSZone * _Nullable zone) NS_SWIFT_UNAVAILABLE("Zone-based memory management is unavailable");
^
In file included from <built-in>:1:
In file included from /Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/KSCrashRecording.build/DerivedSources/resource_bundle_accessor.h:1:
In file included from /Applications/Xcode-15.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:11:
In file included from /Applications/Xcode-15.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSArray.h:5:
/Applications/Xcode-15.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:9:1: error: expected unqualified-id
@class NSInvocation, NSMethodSignature, NSCoder, NSString, NSEnumerator;
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
[32/311] Compiling KSCrashMonitor_CPPException.cpp
[32/311] Compiling EMBDevice.m
Fetching https://github.com/embrace-io/KSCrash.git
Fetching https://github.com/groue/GRDB.swift
Fetching https://github.com/open-telemetry/opentelemetry-swift
[1/11943] Fetching opentelemetry-swift
[1554/23666] Fetching opentelemetry-swift, kscrash
[22144/133585] Fetching opentelemetry-swift, kscrash, grdb.swift
Fetched https://github.com/groue/GRDB.swift (10.90s)
Fetched https://github.com/embrace-io/KSCrash.git (10.91s)
Fetched https://github.com/open-telemetry/opentelemetry-swift (10.91s)
Computing version for https://github.com/open-telemetry/opentelemetry-swift
Computed https://github.com/open-telemetry/opentelemetry-swift at 1.10.1 (0.51s)
Fetching https://github.com/undefinedlabs/opentracing-objc
Fetching https://github.com/undefinedlabs/Thrift-Swift
Fetching https://github.com/apple/swift-metrics.git
[1/508] Fetching opentracing-objc
[159/1160] Fetching opentracing-objc, thrift-swift
[277/3248] Fetching opentracing-objc, thrift-swift, swift-metrics
Fetched https://github.com/undefinedlabs/opentracing-objc (0.77s)
Fetching https://github.com/apple/swift-log.git
[596/2740] Fetching thrift-swift, swift-metrics
Fetched https://github.com/undefinedlabs/Thrift-Swift (1.00s)
Fetched https://github.com/apple/swift-metrics.git (1.00s)
Fetching https://github.com/grpc/grpc-swift.git
Fetching https://github.com/apple/swift-protobuf.git
[1/3691] Fetching swift-log
Fetched https://github.com/apple/swift-log.git (1.05s)
Fetching https://github.com/apple/swift-nio.git
[1/37854] Fetching swift-protobuf
[380/86210] Fetching swift-protobuf, grpc-swift
[23342/157752] Fetching swift-protobuf, grpc-swift, swift-nio
Fetched https://github.com/grpc/grpc-swift.git (3.88s)
Fetched https://github.com/apple/swift-protobuf.git (3.88s)
[4371/71542] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git (23.72s)
Computing version for https://github.com/embrace-io/KSCrash.git
Computed https://github.com/embrace-io/KSCrash.git at 2.0.6 (0.57s)
Computing version for https://github.com/undefinedlabs/opentracing-objc
Computed https://github.com/undefinedlabs/opentracing-objc at 0.5.2 (2.06s)
Computing version for https://github.com/undefinedlabs/Thrift-Swift
Computed https://github.com/undefinedlabs/Thrift-Swift at 1.1.2 (1.94s)
Computing version for https://github.com/groue/GRDB.swift
Computed https://github.com/groue/GRDB.swift at 6.29.3 (0.54s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.1 (0.40s)
Computing version for https://github.com/apple/swift-metrics.git
Computed https://github.com/apple/swift-metrics.git at 2.5.0 (0.40s)
Computing version for https://github.com/apple/swift-protobuf.git
Computed https://github.com/apple/swift-protobuf.git at 1.28.2 (0.43s)
Computing version for https://github.com/grpc/grpc-swift.git
Computed https://github.com/grpc/grpc-swift.git at 1.24.2 (0.61s)
Fetching https://github.com/apple/swift-nio-ssl.git
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-collections.git
[1/1569] Fetching swift-atomics
[457/17044] Fetching swift-atomics, swift-collections
[2344/30351] Fetching swift-atomics, swift-collections, swift-nio-ssl
Fetched https://github.com/apple/swift-atomics.git (2.06s)
Fetching https://github.com/apple/swift-nio-extras.git
Fetched https://github.com/apple/swift-nio-ssl.git (2.06s)
Fetching https://github.com/apple/swift-nio-transport-services.git
Fetched https://github.com/apple/swift-collections.git (2.06s)
Fetching https://github.com/apple/swift-nio-http2.git
[1/2279] Fetching swift-nio-transport-services
[115/7448] Fetching swift-nio-transport-services, swift-nio-extras
[591/18591] Fetching swift-nio-transport-services, swift-nio-extras, swift-nio-http2
Fetched https://github.com/apple/swift-nio-extras.git (1.14s)
Fetched https://github.com/apple/swift-nio-transport-services.git (1.14s)
[1672/11143] Fetching swift-nio-http2
Fetched https://github.com/apple/swift-nio-http2.git (1.66s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (0.46s)
Computing version for https://github.com/apple/swift-nio-extras.git
Computed https://github.com/apple/swift-nio-extras.git at 1.24.1 (0.47s)
Fetching https://github.com/apple/swift-http-types
[1/662] Fetching swift-http-types
Fetched https://github.com/apple/swift-http-types (0.92s)
Computing version for https://github.com/apple/swift-nio-http2.git
Computed https://github.com/apple/swift-nio-http2.git at 1.34.1 (0.42s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.1.4 (0.58s)
Computing version for https://github.com/apple/swift-http-types
Computed https://github.com/apple/swift-http-types at 1.3.1 (0.50s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.29.0 (0.52s)
Computing version for https://github.com/apple/swift-nio-transport-services.git
Computed https://github.com/apple/swift-nio-transport-services.git at 1.23.0 (0.47s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.76.1 (0.62s)
Fetching https://github.com/apple/swift-system.git
[1/3901] Fetching swift-system
Fetched https://github.com/apple/swift-system.git (1.14s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.4.0 (0.40s)
Creating working copy for https://github.com/undefinedlabs/Thrift-Swift
Working copy of https://github.com/undefinedlabs/Thrift-Swift resolved at 1.1.2
Creating working copy for https://github.com/embrace-io/KSCrash.git
Working copy of https://github.com/embrace-io/KSCrash.git resolved at 2.0.6
Creating working copy for https://github.com/open-telemetry/opentelemetry-swift
Working copy of https://github.com/open-telemetry/opentelemetry-swift resolved at 1.10.1
Creating working copy for https://github.com/apple/swift-nio-extras.git
Working copy of https://github.com/apple/swift-nio-extras.git resolved at 1.24.1
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.1
Creating working copy for https://github.com/undefinedlabs/opentracing-objc
Working copy of https://github.com/undefinedlabs/opentracing-objc resolved at 0.5.2
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.1.4
Creating working copy for https://github.com/groue/GRDB.swift
Working copy of https://github.com/groue/GRDB.swift resolved at 6.29.3
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.2.0
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.76.1
Creating working copy for https://github.com/apple/swift-nio-http2.git
Working copy of https://github.com/apple/swift-nio-http2.git resolved at 1.34.1
Creating working copy for https://github.com/apple/swift-nio-transport-services.git
Working copy of https://github.com/apple/swift-nio-transport-services.git resolved at 1.23.0
Creating working copy for https://github.com/apple/swift-http-types
Working copy of https://github.com/apple/swift-http-types resolved at 1.3.1
Creating working copy for https://github.com/apple/swift-protobuf.git
Working copy of https://github.com/apple/swift-protobuf.git resolved at 1.28.2
Creating working copy for https://github.com/grpc/grpc-swift.git
Working copy of https://github.com/grpc/grpc-swift.git resolved at 1.24.2
Creating working copy for https://github.com/apple/swift-nio-ssl.git
Working copy of https://github.com/apple/swift-nio-ssl.git resolved at 2.29.0
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.4.0
Creating working copy for https://github.com/apple/swift-metrics.git
Working copy of https://github.com/apple/swift-metrics.git resolved at 2.5.0
BUILD FAILURE 5.9 macosSpm