Build Information
Failed to build EmbraceIO, reference main (584ee2
), with Swift 5.10 for macOS (SPM) on 15 Nov 2024 17:45:50 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.4.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.10
Building package at path: $PWD
https://github.com/embrace-io/embrace-apple-sdk.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.4.0.app xcrun swift build --arch arm64
[1/1] Compiling plugin GRPCSwiftPlugin
[2/2] Compiling plugin SwiftProtobufPlugin
Building for debugging...
[2/53] Write sources
[9/53] Copying PrivacyInfo.xcprivacy
[9/53] Write sources
[9/53] Copying PrivacyInfo.xcprivacy
[9/53] Copying Info.plist
[13/53] Write sources
[16/53] Copying PrivacyInfo.xcprivacy
[18/53] Write sources
[21/53] Write swift-version-33747A42983211AE.txt
[22/53] Compiling KSCrashSignalInfo.c
[23/64] Compiling KSCrashMonitor_User.c
[24/300] Compiling KSCrashMonitor_Signal.c
[25/305] Compiling KSCrashMonitor_Zombie.c
[26/329] Compiling KSCrashRecording resource_bundle_accessor.m
[27/329] Compiling EMBStackTraceProccessor.m
[28/329] Compiling NSURLSessionTask+Embrace.m
[29/329] Compiling KSCrashMonitor_MachException.c
[30/329] Compiling KSCrashMonitor_NSException.m
[31/329] Compiling KSCrashMonitor_Deadlock.m
[32/329] Compiling KSCrashMonitor_Memory.m
[33/329] Compiling KSCrashMonitor_AppState.c
[34/329] Compiling EMBBinaryImageProvider.m
[35/329] Compiling KSCrashMonitorType.c
[36/329] Compiling KSCrashMonitor.c
[37/329] Compiling KSCrashRecording KSCrashReportStore.c
[38/329] Compiling KSCrashRecording KSCrashReportFixer.c
[39/329] Compiling KSCrashMonitor_System.m
[40/329] Compiling KSCrashRecording KSCrashReport.c
[41/329] Compiling KSCrashRecording KSCrashCachedData.c
[42/329] Compiling KSCrashRecording KSCrashC.c
[43/329] Compiling KSCrashRecording KSCrashDoctor.m
[44/329] Compiling KSCrashRecording KSCrashAppStateTracker.m
[45/329] Write sources
[46/329] Compiling KSCrashRecording KSCrashAppMemory.m
[47/329] Compiling KSCrashRecording KSCrashAppMemoryTracker.m
[48/329] 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.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:9:
/Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:601:1: error: expected unqualified-id
@class NSString, Protocol;
^
/Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.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.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.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.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.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.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.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.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.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.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.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.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.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.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.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.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.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.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.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.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.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.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.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.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.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.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.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.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.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.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.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.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:11:
In file included from /Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSArray.h:5:
In file included from /Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:7:
/Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSZone.h:9:1: error: expected unqualified-id
@class NSString;
^
/Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.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.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.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.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:11:
In file included from /Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSArray.h:5:
/Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.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.
[49/329] Compiling KSCrashMonitor_CPPException.cpp
[49/329] Compiling EMBDevice.m
Fetching https://github.com/groue/GRDB.swift
Fetching https://github.com/open-telemetry/opentelemetry-swift
Fetching https://github.com/embrace-io/KSCrash.git
[1/11943] Fetching opentelemetry-swift
[599/23666] Fetching opentelemetry-swift, kscrash
[12588/133585] Fetching opentelemetry-swift, kscrash, grdb.swift
Fetched https://github.com/open-telemetry/opentelemetry-swift from cache (9.77s)
Fetched https://github.com/groue/GRDB.swift from cache (9.77s)
Fetched https://github.com/embrace-io/KSCrash.git from cache (9.77s)
Computing version for https://github.com/open-telemetry/opentelemetry-swift
Computed https://github.com/open-telemetry/opentelemetry-swift at 1.10.1 (0.50s)
Fetching https://github.com/undefinedlabs/Thrift-Swift
Fetching https://github.com/undefinedlabs/opentracing-objc
Fetching https://github.com/apple/swift-protobuf.git
Fetching https://github.com/apple/swift-metrics.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/grpc/grpc-swift.git
Fetching https://github.com/apple/swift-nio.git
[1/508] Fetching opentracing-objc
[484/2596] Fetching opentracing-objc, swift-metrics
[652/3248] Fetching opentracing-objc, swift-metrics, thrift-swift
[776/6939] Fetching opentracing-objc, swift-metrics, thrift-swift, swift-log
Fetched https://github.com/undefinedlabs/opentracing-objc from cache (0.96s)
Fetched https://github.com/undefinedlabs/Thrift-Swift from cache (0.96s)
[1884/5779] Fetching swift-metrics, swift-log
[4489/43633] Fetching swift-metrics, swift-log, swift-protobuf
[4490/115175] Fetching swift-metrics, swift-log, swift-protobuf, swift-nio
[8011/163531] Fetching swift-metrics, swift-log, swift-protobuf, swift-nio, grpc-swift
Fetched https://github.com/apple/swift-protobuf.git from cache (3.94s)
Fetched https://github.com/apple/swift-log.git from cache (3.94s)
Fetched https://github.com/apple/swift-nio.git from cache (3.94s)
Fetched https://github.com/apple/swift-metrics.git from cache (3.95s)
Fetched https://github.com/grpc/grpc-swift.git from cache (3.95s)
Computing version for https://github.com/embrace-io/KSCrash.git
Computed https://github.com/embrace-io/KSCrash.git at 2.0.6 (0.60s)
Computing version for https://github.com/undefinedlabs/opentracing-objc
Computed https://github.com/undefinedlabs/opentracing-objc at 0.5.2 (1.78s)
Computing version for https://github.com/undefinedlabs/Thrift-Swift
Computed https://github.com/undefinedlabs/Thrift-Swift at 1.1.2 (1.78s)
Computing version for https://github.com/groue/GRDB.swift
Computed https://github.com/groue/GRDB.swift at 6.29.3 (0.55s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.1 (0.34s)
Computing version for https://github.com/apple/swift-metrics.git
Computed https://github.com/apple/swift-metrics.git at 2.5.0 (0.36s)
Computing version for https://github.com/apple/swift-protobuf.git
Computed https://github.com/apple/swift-protobuf.git at 1.28.2 (0.42s)
Computing version for https://github.com/grpc/grpc-swift.git
Computed https://github.com/grpc/grpc-swift.git at 1.24.2 (0.60s)
Fetching https://github.com/apple/swift-nio-ssl.git
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-nio-extras.git
Fetching https://github.com/apple/swift-nio-transport-services.git
Fetching https://github.com/apple/swift-nio-http2.git
Fetching https://github.com/apple/swift-collections.git
[1/1569] Fetching swift-atomics
[33/3848] Fetching swift-atomics, swift-nio-transport-services
[766/9017] Fetching swift-atomics, swift-nio-transport-services, swift-nio-extras
[1193/24492] Fetching swift-atomics, swift-nio-transport-services, swift-nio-extras, swift-collections
[2083/35635] Fetching swift-atomics, swift-nio-transport-services, swift-nio-extras, swift-collections, swift-nio-http2
[4718/48942] Fetching swift-atomics, swift-nio-transport-services, swift-nio-extras, swift-collections, swift-nio-http2, swift-nio-ssl
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (1.93s)
Fetched https://github.com/apple/swift-nio-extras.git from cache (1.93s)
Fetched https://github.com/apple/swift-nio-http2.git from cache (1.93s)
Fetched https://github.com/apple/swift-collections.git from cache (1.93s)
Fetched https://github.com/apple/swift-atomics.git from cache (1.93s)
Fetched https://github.com/apple/swift-nio-ssl.git from cache (1.98s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (0.37s)
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.38s)
Fetching https://github.com/apple/swift-http-types
[1/662] Fetching swift-http-types
Fetched https://github.com/apple/swift-http-types from cache (0.83s)
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.65s)
Computing version for https://github.com/apple/swift-http-types
Computed https://github.com/apple/swift-http-types at 1.3.1 (0.51s)
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.54s)
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.46s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.76.1 (0.81s)
Fetching https://github.com/apple/swift-system.git
[1/3901] Fetching swift-system
Fetched https://github.com/apple/swift-system.git from cache (1.05s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.4.0 (0.50s)
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/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/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/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/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-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/Thrift-Swift
Working copy of https://github.com/undefinedlabs/Thrift-Swift resolved at 1.1.2
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-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-http-types
Working copy of https://github.com/apple/swift-http-types resolved at 1.3.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/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-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.4.0
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-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.1.4
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
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
BUILD FAILURE 5.10 macosSpm