Build Information
Failed to build llama, reference master (d5a409
), with Swift 6.0 for macOS (SPM) on 4 Nov 2024 19:13:14 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/ggerganov/llama.cpp.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/ggerganov/llama.cpp
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at d5a409e ggml : fix gelu tables initialization (#10172)
Submodule path 'ggml/src/kompute': checked out '4565194ed7c32d1d2efa32ceab4d3c6cae006306'
Submodule 'kompute' (https://github.com/nomic-ai/kompute.git) registered for path 'ggml/src/kompute'
Cloning into '/Users/admin/builder/spi-builder-workspace/ggml/src/kompute'...
Cloned https://github.com/ggerganov/llama.cpp.git
Revision (git rev-parse @):
d5a409e57fe8bd24fef597ab8a31110d390a6392
SUCCESS checkout https://github.com/ggerganov/llama.cpp.git at master
========================================
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": "llama.cpp",
"name": "llama",
"url": "https://github.com/ggerganov/llama.cpp.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/llama.cpp",
"dependencies": [
]
}
]
}
Fetching https://github.com/ggerganov/llama.cpp.git
[1/124252] Fetching llama.cpp
Fetched https://github.com/ggerganov/llama.cpp.git from cache (30.38s)
Creating working copy for https://github.com/ggerganov/llama.cpp.git
Working copy of https://github.com/ggerganov/llama.cpp.git resolved at master (d5a409e)
warning: '.resolve-product-dependencies': dependency 'llama.cpp' 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/ggerganov/llama.cpp.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/15] Copying ggml-metal.metal
In file included from <built-in>:1:
In file included from /Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/llama.build/DerivedSources/resource_bundle_accessor.h:1:
In file included from /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:9:
/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:612:1: error: expected unqualified-id
612 | @class NSString, Protocol;
| ^
/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:614:9: error: unknown type name 'NSString'
614 | typedef NSString * NSExceptionName NS_TYPED_EXTENSIBLE_ENUM;
| ^
/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:615:9: error: unknown type name 'NSString'
615 | typedef NSString * NSRunLoopMode NS_TYPED_EXTENSIBLE_ENUM;
| ^
/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:617:19: error: unknown type name 'NSString'
617 | FOUNDATION_EXPORT NSString *NSStringFromSelector(SEL aSelector);
| ^
/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:618:44: error: unknown type name 'NSString'
618 | FOUNDATION_EXPORT SEL NSSelectorFromString(NSString *aSelectorName);
| ^
/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:620:19: error: unknown type name 'NSString'
620 | FOUNDATION_EXPORT NSString *NSStringFromClass(Class aClass);
| ^
/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:621:53: error: unknown type name 'NSString'
621 | FOUNDATION_EXPORT Class _Nullable NSClassFromString(NSString *aClassName);
| ^
/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:623:19: error: unknown type name 'NSString'
623 | FOUNDATION_EXPORT NSString *NSStringFromProtocol(Protocol *proto) API_AVAILABLE(macos(10.5), ios(2.0), watchos(2.0), tvos(9.0));
| ^
/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:624:61: error: unknown type name 'NSString'
624 | FOUNDATION_EXPORT Protocol * _Nullable NSProtocolFromString(NSString *namestr) API_AVAILABLE(macos(10.5), ios(2.0), watchos(2.0), tvos(9.0));
| ^
/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:628:30: error: unknown type name 'NSString'
628 | FOUNDATION_EXPORT void NSLog(NSString *format, ...) NS_FORMAT_FUNCTION(1,2) NS_NO_TAIL_CALL;
| ^
/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:628:53: error: format argument not a string type
628 | FOUNDATION_EXPORT void NSLog(NSString *format, ...) NS_FORMAT_FUNCTION(1,2) NS_NO_TAIL_CALL;
| ~~~~~~~~~~~~~~~~ ^ ~
/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:94:49: note: expanded from macro 'NS_FORMAT_FUNCTION'
94 | #define NS_FORMAT_FUNCTION(F,A) __attribute__((format(__NSString__, F, A)))
| ^ ~
/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:629:31: error: unknown type name 'NSString'
629 | FOUNDATION_EXPORT void NSLogv(NSString *format, va_list args) NS_FORMAT_FUNCTION(1,0) NS_NO_TAIL_CALL;
| ^
/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:629:63: error: format argument not a string type
629 | FOUNDATION_EXPORT void NSLogv(NSString *format, va_list args) NS_FORMAT_FUNCTION(1,0) NS_NO_TAIL_CALL;
| ~~~~~~~~~~~~~~~~ ^ ~
/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:94:49: note: expanded from macro 'NS_FORMAT_FUNCTION'
94 | #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/llama.build/DerivedSources/resource_bundle_accessor.h:1:
In file included from /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:11:
In file included from /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSArray.h:5:
In file included from /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:7:
/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSZone.h:9:1: error: expected unqualified-id
9 | @class NSString;
| ^
/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSZone.h:19:63: error: unknown type name 'NSString'
19 | FOUNDATION_EXPORT void NSSetZoneName(NSZone * _Nullable zone, NSString *name)NS_SWIFT_UNAVAILABLE("Zone-based memory management is unavailable");
| ^
/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSZone.h:20:19: error: unknown type name 'NSString'
20 | 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/llama.build/DerivedSources/resource_bundle_accessor.h:1:
In file included from /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:11:
In file included from /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSArray.h:5:
/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:9:1: error: expected unqualified-id
9 | @class NSInvocation, NSMethodSignature, NSCoder, NSString, NSEnumerator;
| ^
/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:10:1: error: expected unqualified-id
10 | @class Protocol;
| ^
/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:16:1: error: expected unqualified-id
16 | @protocol NSCopying
| ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
[1/15] Compiling llama-vocab.cpp
In file included from <built-in>:1:
In file included from /Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/llama.build/DerivedSources/resource_bundle_accessor.h:1:
In file included from /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:9:
/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:612:1: error: expected unqualified-id
612 | @class NSString, Protocol;
| ^
/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:614:9: error: unknown type name 'NSString'
614 | typedef NSString * NSExceptionName NS_TYPED_EXTENSIBLE_ENUM;
| ^
/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:615:9: error: unknown type name 'NSString'
615 | typedef NSString * NSRunLoopMode NS_TYPED_EXTENSIBLE_ENUM;
| ^
/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:617:19: error: unknown type name 'NSString'
617 | FOUNDATION_EXPORT NSString *NSStringFromSelector(SEL aSelector);
| ^
/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:618:44: error: unknown type name 'NSString'
618 | FOUNDATION_EXPORT SEL NSSelectorFromString(NSString *aSelectorName);
| ^
/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:620:19: error: unknown type name 'NSString'
620 | FOUNDATION_EXPORT NSString *NSStringFromClass(Class aClass);
| ^
/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:621:53: error: unknown type name 'NSString'
621 | FOUNDATION_EXPORT Class _Nullable NSClassFromString(NSString *aClassName);
| ^
/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:623:19: error: unknown type name 'NSString'
623 | FOUNDATION_EXPORT NSString *NSStringFromProtocol(Protocol *proto) API_AVAILABLE(macos(10.5), ios(2.0), watchos(2.0), tvos(9.0));
| ^
/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:624:61: error: unknown type name 'NSString'
624 | FOUNDATION_EXPORT Protocol * _Nullable NSProtocolFromString(NSString *namestr) API_AVAILABLE(macos(10.5), ios(2.0), watchos(2.0), tvos(9.0));
| ^
/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:628:30: error: unknown type name 'NSString'
628 | FOUNDATION_EXPORT void NSLog(NSString *format, ...) NS_FORMAT_FUNCTION(1,2) NS_NO_TAIL_CALL;
| ^
/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:628:53: error: format argument not a string type
628 | FOUNDATION_EXPORT void NSLog(NSString *format, ...) NS_FORMAT_FUNCTION(1,2) NS_NO_TAIL_CALL;
| ~~~~~~~~~~~~~~~~ ^ ~
/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:94:49: note: expanded from macro 'NS_FORMAT_FUNCTION'
94 | #define NS_FORMAT_FUNCTION(F,A) __attribute__((format(__NSString__, F, A)))
| ^ ~
/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:629:31: error: unknown type name 'NSString'
629 | FOUNDATION_EXPORT void NSLogv(NSString *format, va_list args) NS_FORMAT_FUNCTION(1,0) NS_NO_TAIL_CALL;
| ^
/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:629:63: error: format argument not a string type
629 | FOUNDATION_EXPORT void NSLogv(NSString *format, va_list args) NS_FORMAT_FUNCTION(1,0) NS_NO_TAIL_CALL;
| ~~~~~~~~~~~~~~~~ ^ ~
/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:94:49: note: expanded from macro 'NS_FORMAT_FUNCTION'
94 | #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/llama.build/DerivedSources/resource_bundle_accessor.h:1:
In file included from /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:11:
In file included from /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSArray.h:5:
In file included from /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:7:
/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSZone.h:9:1: error: expected unqualified-id
9 | @class NSString;
| ^
/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSZone.h:19:63: error: unknown type name 'NSString'
19 | FOUNDATION_EXPORT void NSSetZoneName(NSZone * _Nullable zone, NSString *name)NS_SWIFT_UNAVAILABLE("Zone-based memory management is unavailable");
| ^
/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSZone.h:20:19: error: unknown type name 'NSString'
20 | 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/llama.build/DerivedSources/resource_bundle_accessor.h:1:
In file included from /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:11:
In file included from /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSArray.h:5:
/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:9:1: error: expected unqualified-id
9 | @class NSInvocation, NSMethodSignature, NSCoder, NSString, NSEnumerator;
| ^
/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:10:1: error: expected unqualified-id
10 | @class Protocol;
| ^
/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:16:1: error: expected unqualified-id
16 | @protocol NSCopying
| ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
[1/15] Compiling llama-grammar.cpp
In file included from <built-in>:1:
In file included from /Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/llama.build/DerivedSources/resource_bundle_accessor.h:1:
In file included from /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:9:
/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:612:1: error: expected unqualified-id
612 | @class NSString, Protocol;
| ^
/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:614:9: error: unknown type name 'NSString'
614 | typedef NSString * NSExceptionName NS_TYPED_EXTENSIBLE_ENUM;
| ^
/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:615:9: error: unknown type name 'NSString'
615 | typedef NSString * NSRunLoopMode NS_TYPED_EXTENSIBLE_ENUM;
| ^
/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:617:19: error: unknown type name 'NSString'
617 | FOUNDATION_EXPORT NSString *NSStringFromSelector(SEL aSelector);
| ^
/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:618:44: error: unknown type name 'NSString'
618 | FOUNDATION_EXPORT SEL NSSelectorFromString(NSString *aSelectorName);
| ^
/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:620:19: error: unknown type name 'NSString'
620 | FOUNDATION_EXPORT NSString *NSStringFromClass(Class aClass);
| ^
/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:621:53: error: unknown type name 'NSString'
621 | FOUNDATION_EXPORT Class _Nullable NSClassFromString(NSString *aClassName);
| ^
/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:623:19: error: unknown type name 'NSString'
623 | FOUNDATION_EXPORT NSString *NSStringFromProtocol(Protocol *proto) API_AVAILABLE(macos(10.5), ios(2.0), watchos(2.0), tvos(9.0));
| ^
/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:624:61: error: unknown type name 'NSString'
624 | FOUNDATION_EXPORT Protocol * _Nullable NSProtocolFromString(NSString *namestr) API_AVAILABLE(macos(10.5), ios(2.0), watchos(2.0), tvos(9.0));
| ^
/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:628:30: error: unknown type name 'NSString'
628 | FOUNDATION_EXPORT void NSLog(NSString *format, ...) NS_FORMAT_FUNCTION(1,2) NS_NO_TAIL_CALL;
| ^
/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:628:53: error: format argument not a string type
628 | FOUNDATION_EXPORT void NSLog(NSString *format, ...) NS_FORMAT_FUNCTION(1,2) NS_NO_TAIL_CALL;
| ~~~~~~~~~~~~~~~~ ^ ~
/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:94:49: note: expanded from macro 'NS_FORMAT_FUNCTION'
94 | #define NS_FORMAT_FUNCTION(F,A) __attribute__((format(__NSString__, F, A)))
| ^ ~
/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:629:31: error: unknown type name 'NSString'
629 | FOUNDATION_EXPORT void NSLogv(NSString *format, va_list args) NS_FORMAT_FUNCTION(1,0) NS_NO_TAIL_CALL;
| ^
/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:629:63: error: format argument not a string type
629 | FOUNDATION_EXPORT void NSLogv(NSString *format, va_list args) NS_FORMAT_FUNCTION(1,0) NS_NO_TAIL_CALL;
| ~~~~~~~~~~~~~~~~ ^ ~
/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:94:49: note: expanded from macro 'NS_FORMAT_FUNCTION'
94 | #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/llama.build/DerivedSources/resource_bundle_accessor.h:1:
In file included from /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:11:
In file included from /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSArray.h:5:
In file included from /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:7:
/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSZone.h:9:1: error: expected unqualified-id
9 | @class NSString;
| ^
/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSZone.h:19:63: error: unknown type name 'NSString'
19 | FOUNDATION_EXPORT void NSSetZoneName(NSZone * _Nullable zone, NSString *name)NS_SWIFT_UNAVAILABLE("Zone-based memory management is unavailable");
| ^
/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSZone.h:20:19: error: unknown type name 'NSString'
20 | 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/llama.build/DerivedSources/resource_bundle_accessor.h:1:
In file included from /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:11:
In file included from /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSArray.h:5:
/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:9:1: error: expected unqualified-id
9 | @class NSInvocation, NSMethodSignature, NSCoder, NSString, NSEnumerator;
| ^
/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:10:1: error: expected unqualified-id
10 | @class Protocol;
| ^
/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:16:1: error: expected unqualified-id
16 | @protocol NSCopying
| ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
[1/15] Compiling unicode-data.cpp
In file included from <built-in>:1:
In file included from /Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/llama.build/DerivedSources/resource_bundle_accessor.h:1:
In file included from /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:9:
/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:612:1: error: expected unqualified-id
612 | @class NSString, Protocol;
| ^
/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:614:9: error: unknown type name 'NSString'
614 | typedef NSString * NSExceptionName NS_TYPED_EXTENSIBLE_ENUM;
| ^
/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:615:9: error: unknown type name 'NSString'
615 | typedef NSString * NSRunLoopMode NS_TYPED_EXTENSIBLE_ENUM;
| ^
/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:617:19: error: unknown type name 'NSString'
617 | FOUNDATION_EXPORT NSString *NSStringFromSelector(SEL aSelector);
| ^
/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:618:44: error: unknown type name 'NSString'
618 | FOUNDATION_EXPORT SEL NSSelectorFromString(NSString *aSelectorName);
| ^
/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:620:19: error: unknown type name 'NSString'
620 | FOUNDATION_EXPORT NSString *NSStringFromClass(Class aClass);
| ^
/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:621:53: error: unknown type name 'NSString'
621 | FOUNDATION_EXPORT Class _Nullable NSClassFromString(NSString *aClassName);
| ^
/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:623:19: error: unknown type name 'NSString'
623 | FOUNDATION_EXPORT NSString *NSStringFromProtocol(Protocol *proto) API_AVAILABLE(macos(10.5), ios(2.0), watchos(2.0), tvos(9.0));
| ^
/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:624:61: error: unknown type name 'NSString'
624 | FOUNDATION_EXPORT Protocol * _Nullable NSProtocolFromString(NSString *namestr) API_AVAILABLE(macos(10.5), ios(2.0), watchos(2.0), tvos(9.0));
| ^
/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:628:30: error: unknown type name 'NSString'
628 | FOUNDATION_EXPORT void NSLog(NSString *format, ...) NS_FORMAT_FUNCTION(1,2) NS_NO_TAIL_CALL;
| ^
/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:628:53: error: format argument not a string type
628 | FOUNDATION_EXPORT void NSLog(NSString *format, ...) NS_FORMAT_FUNCTION(1,2) NS_NO_TAIL_CALL;
| ~~~~~~~~~~~~~~~~ ^ ~
/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:94:49: note: expanded from macro 'NS_FORMAT_FUNCTION'
94 | #define NS_FORMAT_FUNCTION(F,A) __attribute__((format(__NSString__, F, A)))
| ^ ~
/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:629:31: error: unknown type name 'NSString'
629 | FOUNDATION_EXPORT void NSLogv(NSString *format, va_list args) NS_FORMAT_FUNCTION(1,0) NS_NO_TAIL_CALL;
| ^
/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:629:63: error: format argument not a string type
629 | FOUNDATION_EXPORT void NSLogv(NSString *format, va_list args) NS_FORMAT_FUNCTION(1,0) NS_NO_TAIL_CALL;
| ~~~~~~~~~~~~~~~~ ^ ~
/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:94:49: note: expanded from macro 'NS_FORMAT_FUNCTION'
94 | #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/llama.build/DerivedSources/resource_bundle_accessor.h:1:
In file included from /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:11:
In file included from /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSArray.h:5:
In file included from /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:7:
/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSZone.h:9:1: error: expected unqualified-id
9 | @class NSString;
| ^
/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSZone.h:19:63: error: unknown type name 'NSString'
19 | FOUNDATION_EXPORT void NSSetZoneName(NSZone * _Nullable zone, NSString *name)NS_SWIFT_UNAVAILABLE("Zone-based memory management is unavailable");
| ^
/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSZone.h:20:19: error: unknown type name 'NSString'
20 | 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/llama.build/DerivedSources/resource_bundle_accessor.h:1:
In file included from /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:11:
In file included from /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSArray.h:5:
/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:9:1: error: expected unqualified-id
9 | @class NSInvocation, NSMethodSignature, NSCoder, NSString, NSEnumerator;
| ^
/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:10:1: error: expected unqualified-id
10 | @class Protocol;
| ^
/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:16:1: error: expected unqualified-id
16 | @protocol NSCopying
| ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
[1/15] Compiling llama-sampling.cpp
In file included from <built-in>:1:
In file included from /Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/llama.build/DerivedSources/resource_bundle_accessor.h:1:
In file included from /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:9:
/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:612:1: error: expected unqualified-id
612 | @class NSString, Protocol;
| ^
/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:614:9: error: unknown type name 'NSString'
614 | typedef NSString * NSExceptionName NS_TYPED_EXTENSIBLE_ENUM;
| ^
/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:615:9: error: unknown type name 'NSString'
615 | typedef NSString * NSRunLoopMode NS_TYPED_EXTENSIBLE_ENUM;
| ^
/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:617:19: error: unknown type name 'NSString'
617 | FOUNDATION_EXPORT NSString *NSStringFromSelector(SEL aSelector);
| ^
/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:618:44: error: unknown type name 'NSString'
618 | FOUNDATION_EXPORT SEL NSSelectorFromString(NSString *aSelectorName);
| ^
/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:620:19: error: unknown type name 'NSString'
620 | FOUNDATION_EXPORT NSString *NSStringFromClass(Class aClass);
| ^
/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:621:53: error: unknown type name 'NSString'
621 | FOUNDATION_EXPORT Class _Nullable NSClassFromString(NSString *aClassName);
| ^
/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:623:19: error: unknown type name 'NSString'
623 | FOUNDATION_EXPORT NSString *NSStringFromProtocol(Protocol *proto) API_AVAILABLE(macos(10.5), ios(2.0), watchos(2.0), tvos(9.0));
| ^
/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:624:61: error: unknown type name 'NSString'
624 | FOUNDATION_EXPORT Protocol * _Nullable NSProtocolFromString(NSString *namestr) API_AVAILABLE(macos(10.5), ios(2.0), watchos(2.0), tvos(9.0));
| ^
/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:628:30: error: unknown type name 'NSString'
628 | FOUNDATION_EXPORT void NSLog(NSString *format, ...) NS_FORMAT_FUNCTION(1,2) NS_NO_TAIL_CALL;
| ^
/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:628:53: error: format argument not a string type
628 | FOUNDATION_EXPORT void NSLog(NSString *format, ...) NS_FORMAT_FUNCTION(1,2) NS_NO_TAIL_CALL;
| ~~~~~~~~~~~~~~~~ ^ ~
/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:94:49: note: expanded from macro 'NS_FORMAT_FUNCTION'
94 | #define NS_FORMAT_FUNCTION(F,A) __attribute__((format(__NSString__, F, A)))
| ^ ~
/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:629:31: error: unknown type name 'NSString'
629 | FOUNDATION_EXPORT void NSLogv(NSString *format, va_list args) NS_FORMAT_FUNCTION(1,0) NS_NO_TAIL_CALL;
| ^
/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:629:63: error: format argument not a string type
629 | FOUNDATION_EXPORT void NSLogv(NSString *format, va_list args) NS_FORMAT_FUNCTION(1,0) NS_NO_TAIL_CALL;
| ~~~~~~~~~~~~~~~~ ^ ~
/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:94:49: note: expanded from macro 'NS_FORMAT_FUNCTION'
94 | #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/llama.build/DerivedSources/resource_bundle_accessor.h:1:
In file included from /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:11:
In file included from /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSArray.h:5:
In file included from /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:7:
/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSZone.h:9:1: error: expected unqualified-id
9 | @class NSString;
| ^
/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSZone.h:19:63: error: unknown type name 'NSString'
19 | FOUNDATION_EXPORT void NSSetZoneName(NSZone * _Nullable zone, NSString *name)NS_SWIFT_UNAVAILABLE("Zone-based memory management is unavailable");
| ^
/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSZone.h:20:19: error: unknown type name 'NSString'
20 | 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/llama.build/DerivedSources/resource_bundle_accessor.h:1:
In file included from /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:11:
In file included from /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSArray.h:5:
/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:9:1: error: expected unqualified-id
9 | @class NSInvocation, NSMethodSignature, NSCoder, NSString, NSEnumerator;
| ^
/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:10:1: error: expected unqualified-id
10 | @class Protocol;
| ^
/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:16:1: error: expected unqualified-id
16 | @protocol NSCopying
| ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
[1/15] Compiling unicode.cpp
[1/15] Compiling llama resource_bundle_accessor.m
[1/15] Compiling ggml.c
In file included from /Users/admin/builder/spi-builder-workspace/ggml/src/ggml-quants.c:5:
/Users/admin/builder/spi-builder-workspace/ggml/src/ggml-impl.h:141:1: warning: ambiguous expansion of macro 'static_assert' [-Wambiguous-macro]
141 | static_assert(sizeof(ggml_bitset_t) == 4, "bitset_t constants must be updated");
| ^
/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/usr/include/_static_assert.h:29:9: note: expanding this definition of 'static_assert'
29 | #define static_assert _Static_assert
| ^
/Users/admin/builder/spi-builder-workspace/ggml/src/ggml-common.h:62:9: note: other definition of 'static_assert'
62 | #define static_assert(cond, msg) _Static_assert(cond, msg)
| ^
/Users/admin/builder/spi-builder-workspace/ggml/src/ggml-quants.c:3115:5: warning: ambiguous expansion of macro 'static_assert' [-Wambiguous-macro]
3115 | static_assert(QK4_0 == 32, "QK4_0 must be 32");
| ^
/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/usr/include/_static_assert.h:29:9: note: expanding this definition of 'static_assert'
29 | #define static_assert _Static_assert
| ^
/Users/admin/builder/spi-builder-workspace/ggml/src/ggml-common.h:62:9: note: other definition of 'static_assert'
62 | #define static_assert(cond, msg) _Static_assert(cond, msg)
| ^
/Users/admin/builder/spi-builder-workspace/ggml/src/ggml-quants.c:3158:5: warning: ambiguous expansion of macro 'static_assert' [-Wambiguous-macro]
3158 | static_assert(QK4_1 == 32, "QK4_1 must be 32");
| ^
/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/usr/include/_static_assert.h:29:9: note: expanding this definition of 'static_assert'
29 | #define static_assert _Static_assert
| ^
/Users/admin/builder/spi-builder-workspace/ggml/src/ggml-common.h:62:9: note: other definition of 'static_assert'
62 | #define static_assert(cond, msg) _Static_assert(cond, msg)
| ^
/Users/admin/builder/spi-builder-workspace/ggml/src/ggml-quants.c:3203:5: warning: ambiguous expansion of macro 'static_assert' [-Wambiguous-macro]
3203 | static_assert(QK5_0 == 32, "QK5_0 must be 32");
| ^
/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/usr/include/_static_assert.h:29:9: note: expanding this definition of 'static_assert'
29 | #define static_assert _Static_assert
| ^
/Users/admin/builder/spi-builder-workspace/ggml/src/ggml-common.h:62:9: note: other definition of 'static_assert'
62 | #define static_assert(cond, msg) _Static_assert(cond, msg)
| ^
/Users/admin/builder/spi-builder-workspace/ggml/src/ggml-quants.c:3257:5: warning: ambiguous expansion of macro 'static_assert' [-Wambiguous-macro]
3257 | static_assert(QK5_1 == 32, "QK5_1 must be 32");
| ^
/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/usr/include/_static_assert.h:29:9: note: expanding this definition of 'static_assert'
29 | #define static_assert _Static_assert
| ^
/Users/admin/builder/spi-builder-workspace/ggml/src/ggml-common.h:62:9: note: other definition of 'static_assert'
62 | #define static_assert(cond, msg) _Static_assert(cond, msg)
| ^
/Users/admin/builder/spi-builder-workspace/ggml/src/ggml-quants.c:12475:5: warning: ambiguous expansion of macro 'static_assert' [-Wambiguous-macro]
12475 | static_assert(QK4_NL == QK8_0, "QK4_NL and QK8_0 must be the same");
| ^
/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/usr/include/_static_assert.h:29:9: note: expanding this definition of 'static_assert'
29 | #define static_assert _Static_assert
| ^
/Users/admin/builder/spi-builder-workspace/ggml/src/ggml-common.h:62:9: note: other definition of 'static_assert'
62 | #define static_assert(cond, msg) _Static_assert(cond, msg)
| ^
[1/15] Compiling ggml-quants.c
In file included from <built-in>:1:
In file included from /Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/llama.build/DerivedSources/resource_bundle_accessor.h:1:
In file included from /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:9:
/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:612:1: error: expected unqualified-id
612 | @class NSString, Protocol;
| ^
/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:614:9: error: unknown type name 'NSString'
614 | typedef NSString * NSExceptionName NS_TYPED_EXTENSIBLE_ENUM;
| ^
/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:615:9: error: unknown type name 'NSString'
615 | typedef NSString * NSRunLoopMode NS_TYPED_EXTENSIBLE_ENUM;
| ^
/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:617:19: error: unknown type name 'NSString'
617 | FOUNDATION_EXPORT NSString *NSStringFromSelector(SEL aSelector);
| ^
/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:618:44: error: unknown type name 'NSString'
618 | FOUNDATION_EXPORT SEL NSSelectorFromString(NSString *aSelectorName);
| ^
/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:620:19: error: unknown type name 'NSString'
620 | FOUNDATION_EXPORT NSString *NSStringFromClass(Class aClass);
| ^
/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:621:53: error: unknown type name 'NSString'
621 | FOUNDATION_EXPORT Class _Nullable NSClassFromString(NSString *aClassName);
| ^
/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:623:19: error: unknown type name 'NSString'
623 | FOUNDATION_EXPORT NSString *NSStringFromProtocol(Protocol *proto) API_AVAILABLE(macos(10.5), ios(2.0), watchos(2.0), tvos(9.0));
| ^
/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:624:61: error: unknown type name 'NSString'
624 | FOUNDATION_EXPORT Protocol * _Nullable NSProtocolFromString(NSString *namestr) API_AVAILABLE(macos(10.5), ios(2.0), watchos(2.0), tvos(9.0));
| ^
/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:628:30: error: unknown type name 'NSString'
628 | FOUNDATION_EXPORT void NSLog(NSString *format, ...) NS_FORMAT_FUNCTION(1,2) NS_NO_TAIL_CALL;
| ^
/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:628:53: error: format argument not a string type
628 | FOUNDATION_EXPORT void NSLog(NSString *format, ...) NS_FORMAT_FUNCTION(1,2) NS_NO_TAIL_CALL;
| ~~~~~~~~~~~~~~~~ ^ ~
/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:94:49: note: expanded from macro 'NS_FORMAT_FUNCTION'
94 | #define NS_FORMAT_FUNCTION(F,A) __attribute__((format(__NSString__, F, A)))
| ^ ~
/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:629:31: error: unknown type name 'NSString'
629 | FOUNDATION_EXPORT void NSLogv(NSString *format, va_list args) NS_FORMAT_FUNCTION(1,0) NS_NO_TAIL_CALL;
| ^
/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:629:63: error: format argument not a string type
629 | FOUNDATION_EXPORT void NSLogv(NSString *format, va_list args) NS_FORMAT_FUNCTION(1,0) NS_NO_TAIL_CALL;
| ~~~~~~~~~~~~~~~~ ^ ~
/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:94:49: note: expanded from macro 'NS_FORMAT_FUNCTION'
94 | #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/llama.build/DerivedSources/resource_bundle_accessor.h:1:
In file included from /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:11:
In file included from /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSArray.h:5:
In file included from /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:7:
/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSZone.h:9:1: error: expected unqualified-id
9 | @class NSString;
| ^
/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSZone.h:19:63: error: unknown type name 'NSString'
19 | FOUNDATION_EXPORT void NSSetZoneName(NSZone * _Nullable zone, NSString *name)NS_SWIFT_UNAVAILABLE("Zone-based memory management is unavailable");
| ^
/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSZone.h:20:19: error: unknown type name 'NSString'
20 | 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/llama.build/DerivedSources/resource_bundle_accessor.h:1:
In file included from /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:11:
In file included from /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSArray.h:5:
/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:9:1: error: expected unqualified-id
9 | @class NSInvocation, NSMethodSignature, NSCoder, NSString, NSEnumerator;
| ^
/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:10:1: error: expected unqualified-id
10 | @class Protocol;
| ^
/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:16:1: error: expected unqualified-id
16 | @protocol NSCopying
| ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
[1/15] Compiling llama.cpp
[1/15] Compiling ggml-metal.m
BUILD FAILURE 6.0 macosSpm