Build Information
Failed to build CocoaImageHashing, reference master (ad01ee), with Swift 6.3 for Linux on 12 Apr 2026 12:45:23 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest swift build --triple x86_64-unknown-linux-gnu 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ameingast/cocoaimagehashing.git
Reference: master
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/ameingast/cocoaimagehashing
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at ad01eee ARM support
Cloned https://github.com/ameingast/cocoaimagehashing.git
Revision (git rev-parse @):
ad01eee3c3f91bd181f7f4eba7f48f7cb211b51c
SUCCESS checkout https://github.com/ameingast/cocoaimagehashing.git at master
========================================
Build
========================================
Selected platform: linux
Swift version: 6.3
Building package at path: $PWD
https://github.com/ameingast/cocoaimagehashing.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:5a7d791d2ead8a924b1292cb31bf3288eabcfe8880e0b005b00b45b71a5bc36a
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest
Building for debugging...
In file included from /host/spi-builder-workspace/CocoaImageHashing/OSDHash.m:9:
/host/spi-builder-workspace/CocoaImageHashing/OSCategories.h:9:1: error: use of '@import' when modules are disabled
9 | @import Foundation;
| ^
/host/spi-builder-workspace/CocoaImageHashing/OSCategories.h:19:1: error: use of '@import' when modules are disabled
19 | @import Cocoa;
| ^
/host/spi-builder-workspace/CocoaImageHashing/OSCategories.h:29:1: error: unknown type name 'NS_ASSUME_NONNULL_BEGIN'
29 | NS_ASSUME_NONNULL_BEGIN
| ^
/host/spi-builder-workspace/CocoaImageHashing/OSCategories.h:31:12: error: cannot find interface declaration for 'NSArray'
31 | @interface NSArray (CocoaImageHashing)
| ^
/host/spi-builder-workspace/CocoaImageHashing/OSCategories.h:33:4: error: expected a type
33 | - (NSArray<OSTuple<id, id> *> *)arrayWithPairCombinations;
| ^
/host/spi-builder-workspace/CocoaImageHashing/OSCategories.h:39:1: error: unknown type name 'NS_ASSUME_NONNULL_END'
39 | NS_ASSUME_NONNULL_END
| ^
/host/spi-builder-workspace/CocoaImageHashing/OSCategories.h:43:24: error: expected ';' after top level declarator
43 | NS_ASSUME_NONNULL_BEGIN
| ^
| ;
/host/spi-builder-workspace/CocoaImageHashing/OSCategories.h:50:1: error: '@end' must appear in an Objective-C context
50 | @end
| ^
/host/spi-builder-workspace/CocoaImageHashing/OSCategories.h:52:1: error: unknown type name 'NS_ASSUME_NONNULL_END'
52 | NS_ASSUME_NONNULL_END
| ^
/host/spi-builder-workspace/CocoaImageHashing/OSCategories.h:58:24: error: expected ';' after top level declarator
58 | NS_ASSUME_NONNULL_BEGIN
| ^
| ;
/host/spi-builder-workspace/CocoaImageHashing/OSCategories.h:67:1: error: '@end' must appear in an Objective-C context
67 | @end
| ^
/host/spi-builder-workspace/CocoaImageHashing/OSCategories.h:69:1: error: unknown type name 'NS_ASSUME_NONNULL_END'
69 | NS_ASSUME_NONNULL_END
| ^
/host/spi-builder-workspace/CocoaImageHashing/OSCategories.h:77:24: error: expected ';' after top level declarator
77 | NS_ASSUME_NONNULL_BEGIN
| ^
| ;
/host/spi-builder-workspace/CocoaImageHashing/OSCategories.h:83:1: error: '@end' must appear in an Objective-C context
83 | @end
| ^
/host/spi-builder-workspace/CocoaImageHashing/OSCategories.h:85:1: error: unknown type name 'NS_ASSUME_NONNULL_END'
85 | NS_ASSUME_NONNULL_END
| ^
/host/spi-builder-workspace/CocoaImageHashing/OSCategories.h:107:24: error: expected ';' after top level declarator
107 | NS_ASSUME_NONNULL_BEGIN
| ^
| ;
/host/spi-builder-workspace/CocoaImageHashing/OSCategories.h:113:1: error: '@end' must appear in an Objective-C context
113 | @end
| ^
/host/spi-builder-workspace/CocoaImageHashing/OSCategories.h:115:1: error: unknown type name 'NS_ASSUME_NONNULL_END'
115 | NS_ASSUME_NONNULL_END
| ^
In file included from /host/spi-builder-workspace/CocoaImageHashing/OSDHash.m:10:
In file included from /host/spi-builder-workspace/CocoaImageHashing/OSDHash.h:9:
In file included from /host/spi-builder-workspace/CocoaImageHashing/OSImageHashing.h:9:
/host/spi-builder-workspace/CocoaImageHashing/OSTypes.h:9:2: error: prefix attribute must be followed by an interface, protocol, or implementation
9 | @import Foundation;
| ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
[0/11] Compiling CocoaImageHashing OSDHash.m
In file included from /host/spi-builder-workspace/CocoaImageHashing/OSTypes.m:9:
In file included from /host/spi-builder-workspace/CocoaImageHashing/OSAHash.h:9:
In file included from /host/spi-builder-workspace/CocoaImageHashing/OSImageHashing.h:9:
/host/spi-builder-workspace/CocoaImageHashing/OSTypes.h:9:1: error: use of '@import' when modules are disabled
9 | @import Foundation;
| ^
/host/spi-builder-workspace/CocoaImageHashing/OSTypes.h:28:9: error: unknown type name 'SInt64'
28 | typedef SInt64 OSHashType;
| ^
/host/spi-builder-workspace/CocoaImageHashing/OSTypes.h:33:9: error: unknown type name 'SInt64'
33 | typedef SInt64 OSHashDistanceType;
| ^
/host/spi-builder-workspace/CocoaImageHashing/OSTypes.h:38:9: error: unknown type name 'NSString'
38 | typedef NSString OSImageId;
| ^
/host/spi-builder-workspace/CocoaImageHashing/OSTypes.h:47:1: error: function definition declared 'typedef'
47 | typedef NS_OPTIONS(UInt16, OSImageHashingProviderId) {
| ^~~~~~~
/host/spi-builder-workspace/CocoaImageHashing/OSTypes.h:47:28: error: parameter 'OSImageHashingProviderId' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
47 | typedef NS_OPTIONS(UInt16, OSImageHashingProviderId) {
| ^
/host/spi-builder-workspace/CocoaImageHashing/OSTypes.h:47:20: error: parameter 'UInt16' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
47 | typedef NS_OPTIONS(UInt16, OSImageHashingProviderId) {
| ^
/host/spi-builder-workspace/CocoaImageHashing/OSTypes.h:47:9: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
47 | typedef NS_OPTIONS(UInt16, OSImageHashingProviderId) {
| ~~~~~~~ ^
| int
/host/spi-builder-workspace/CocoaImageHashing/OSTypes.h:48:5: error: use of undeclared identifier 'OSImageHashingProviderAHash'; did you mean 'OSImageHashingProviderId'?
48 | OSImageHashingProviderAHash = 1 << 0,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
| OSImageHashingProviderId
/host/spi-builder-workspace/CocoaImageHashing/OSTypes.h:47:28: note: 'OSImageHashingProviderId' declared here
47 | typedef NS_OPTIONS(UInt16, OSImageHashingProviderId) {
| ^
/host/spi-builder-workspace/CocoaImageHashing/OSTypes.h:49:5: error: use of undeclared identifier 'OSImageHashingProviderDHash'; did you mean 'OSImageHashingProviderId'?
49 | OSImageHashingProviderDHash = 1 << 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
| OSImageHashingProviderId
/host/spi-builder-workspace/CocoaImageHashing/OSTypes.h:47:28: note: 'OSImageHashingProviderId' declared here
47 | typedef NS_OPTIONS(UInt16, OSImageHashingProviderId) {
| ^
/host/spi-builder-workspace/CocoaImageHashing/OSTypes.h:50:5: error: use of undeclared identifier 'OSImageHashingProviderPHash'; did you mean 'OSImageHashingProviderId'?
50 | OSImageHashingProviderPHash = 1 << 2,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
| OSImageHashingProviderId
/host/spi-builder-workspace/CocoaImageHashing/OSTypes.h:47:28: note: 'OSImageHashingProviderId' declared here
47 | typedef NS_OPTIONS(UInt16, OSImageHashingProviderId) {
| ^
/host/spi-builder-workspace/CocoaImageHashing/OSTypes.h:51:5: error: use of undeclared identifier 'OSImageHashingProviderNone'; did you mean 'OSImageHashingProviderId'?
51 | OSImageHashingProviderNone = 0
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
| OSImageHashingProviderId
/host/spi-builder-workspace/CocoaImageHashing/OSTypes.h:47:28: note: 'OSImageHashingProviderId' declared here
47 | typedef NS_OPTIONS(UInt16, OSImageHashingProviderId) {
| ^
/host/spi-builder-workspace/CocoaImageHashing/OSTypes.h:51:35: error: expected ';' after expression
51 | OSImageHashingProviderNone = 0
| ^
| ;
/host/spi-builder-workspace/CocoaImageHashing/OSTypes.h:47:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
47 | typedef NS_OPTIONS(UInt16, OSImageHashingProviderId) {
| ^
/host/spi-builder-workspace/CocoaImageHashing/OSTypes.h:61:1: error: function definition declared 'typedef'
61 | typedef NS_ENUM(UInt16, OSImageHashingQuality) {
| ^~~~~~~
/host/spi-builder-workspace/CocoaImageHashing/OSTypes.h:61:25: error: parameter 'OSImageHashingQuality' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
61 | typedef NS_ENUM(UInt16, OSImageHashingQuality) {
| ^
/host/spi-builder-workspace/CocoaImageHashing/OSTypes.h:61:17: error: parameter 'UInt16' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
61 | typedef NS_ENUM(UInt16, OSImageHashingQuality) {
| ^
/host/spi-builder-workspace/CocoaImageHashing/OSTypes.h:61:9: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
61 | typedef NS_ENUM(UInt16, OSImageHashingQuality) {
| ~~~~~~~ ^
| int
/host/spi-builder-workspace/CocoaImageHashing/OSTypes.h:62:5: error: use of undeclared identifier 'OSImageHashingQualityLow'; did you mean 'OSImageHashingQuality'?
62 | OSImageHashingQualityLow,
| ^~~~~~~~~~~~~~~~~~~~~~~~
| OSImageHashingQuality
/host/spi-builder-workspace/CocoaImageHashing/OSTypes.h:61:25: note: 'OSImageHashingQuality' declared here
61 | typedef NS_ENUM(UInt16, OSImageHashingQuality) {
| ^
/host/spi-builder-workspace/CocoaImageHashing/OSTypes.h:63:5: error: use of undeclared identifier 'OSImageHashingQualityMedium'; did you mean 'OSImageHashingQuality'?
63 | OSImageHashingQualityMedium,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
| OSImageHashingQuality
/host/spi-builder-workspace/CocoaImageHashing/OSTypes.h:61:25: note: 'OSImageHashingQuality' declared here
61 | typedef NS_ENUM(UInt16, OSImageHashingQuality) {
| ^
In file included from /host/spi-builder-workspace/CocoaImageHashing/OSImageHashing.m:9:
In file included from /host/spi-builder-workspace/CocoaImageHashing/OSImageHashing.h:9:
/host/spi-builder-workspace/CocoaImageHashing/OSTypes.h:9:1: error: use of '@import' when modules are disabled
9 | @import Foundation;
| ^
/host/spi-builder-workspace/CocoaImageHashing/OSTypes.h:28:9: error: unknown type name 'SInt64'
28 | typedef SInt64 OSHashType;
| ^
/host/spi-builder-workspace/CocoaImageHashing/OSTypes.h:33:9: error: unknown type name 'SInt64'
33 | typedef SInt64 OSHashDistanceType;
| ^
/host/spi-builder-workspace/CocoaImageHashing/OSTypes.h:38:9: error: unknown type name 'NSString'
38 | typedef NSString OSImageId;
| ^
/host/spi-builder-workspace/CocoaImageHashing/OSTypes.h:47:1: error: function definition declared 'typedef'
47 | typedef NS_OPTIONS(UInt16, OSImageHashingProviderId) {
| ^~~~~~~
/host/spi-builder-workspace/CocoaImageHashing/OSTypes.h:47:28: error: parameter 'OSImageHashingProviderId' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
47 | typedef NS_OPTIONS(UInt16, OSImageHashingProviderId) {
| ^
/host/spi-builder-workspace/CocoaImageHashing/OSTypes.h:47:20: error: parameter 'UInt16' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
47 | typedef NS_OPTIONS(UInt16, OSImageHashingProviderId) {
| ^
/host/spi-builder-workspace/CocoaImageHashing/OSTypes.h:47:9: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
47 | typedef NS_OPTIONS(UInt16, OSImageHashingProviderId) {
| ~~~~~~~ ^
| int
/host/spi-builder-workspace/CocoaImageHashing/OSTypes.h:48:5: error: use of undeclared identifier 'OSImageHashingProviderAHash'; did you mean 'OSImageHashingProviderId'?
48 | OSImageHashingProviderAHash = 1 << 0,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
| OSImageHashingProviderId
/host/spi-builder-workspace/CocoaImageHashing/OSTypes.h:47:28: note: 'OSImageHashingProviderId' declared here
47 | typedef NS_OPTIONS(UInt16, OSImageHashingProviderId) {
| ^
/host/spi-builder-workspace/CocoaImageHashing/OSTypes.h:49:5: error: use of undeclared identifier 'OSImageHashingProviderDHash'; did you mean 'OSImageHashingProviderId'?
49 | OSImageHashingProviderDHash = 1 << 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
| OSImageHashingProviderId
/host/spi-builder-workspace/CocoaImageHashing/OSTypes.h:47:28: note: 'OSImageHashingProviderId' declared here
47 | typedef NS_OPTIONS(UInt16, OSImageHashingProviderId) {
| ^
/host/spi-builder-workspace/CocoaImageHashing/OSTypes.h:50:5: error: use of undeclared identifier 'OSImageHashingProviderPHash'; did you mean 'OSImageHashingProviderId'?
50 | OSImageHashingProviderPHash = 1 << 2,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
| OSImageHashingProviderId
/host/spi-builder-workspace/CocoaImageHashing/OSTypes.h:47:28: note: 'OSImageHashingProviderId' declared here
47 | typedef NS_OPTIONS(UInt16, OSImageHashingProviderId) {
| ^
/host/spi-builder-workspace/CocoaImageHashing/OSTypes.h:51:5: error: use of undeclared identifier 'OSImageHashingProviderNone'; did you mean 'OSImageHashingProviderId'?
51 | OSImageHashingProviderNone = 0
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
| OSImageHashingProviderId
/host/spi-builder-workspace/CocoaImageHashing/OSTypes.h:47:28: note: 'OSImageHashingProviderId' declared here
47 | typedef NS_OPTIONS(UInt16, OSImageHashingProviderId) {
| ^
/host/spi-builder-workspace/CocoaImageHashing/OSTypes.h:51:35: error: expected ';' after expression
51 | OSImageHashingProviderNone = 0
| ^
| ;
/host/spi-builder-workspace/CocoaImageHashing/OSTypes.h:47:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
47 | typedef NS_OPTIONS(UInt16, OSImageHashingProviderId) {
| ^
/host/spi-builder-workspace/CocoaImageHashing/OSTypes.h:61:1: error: function definition declared 'typedef'
61 | typedef NS_ENUM(UInt16, OSImageHashingQuality) {
| ^~~~~~~
/host/spi-builder-workspace/CocoaImageHashing/OSTypes.h:61:25: error: parameter 'OSImageHashingQuality' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
61 | typedef NS_ENUM(UInt16, OSImageHashingQuality) {
| ^
/host/spi-builder-workspace/CocoaImageHashing/OSTypes.h:61:17: error: parameter 'UInt16' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
61 | typedef NS_ENUM(UInt16, OSImageHashingQuality) {
| ^
/host/spi-builder-workspace/CocoaImageHashing/OSTypes.h:61:9: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
61 | typedef NS_ENUM(UInt16, OSImageHashingQuality) {
| ~~~~~~~ ^
| int
/host/spi-builder-workspace/CocoaImageHashing/OSTypes.h:62:5: error: use of undeclared identifier 'OSImageHashingQualityLow'; did you mean 'OSImageHashingQuality'?
62 | OSImageHashingQualityLow,
| ^~~~~~~~~~~~~~~~~~~~~~~~
| OSImageHashingQuality
/host/spi-builder-workspace/CocoaImageHashing/OSTypes.h:61:25: note: 'OSImageHashingQuality' declared here
61 | typedef NS_ENUM(UInt16, OSImageHashingQuality) {
| ^
/host/spi-builder-workspace/CocoaImageHashing/OSTypes.h:63:5: error: use of undeclared identifier 'OSImageHashingQualityMedium'; did you mean 'OSImageHashingQuality'?
63 | OSImageHashingQualityMedium,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
| OSImageHashingQuality
/host/spi-builder-workspace/CocoaImageHashing/OSTypes.h:61:25: note: 'OSImageHashingQuality' declared here
61 | typedef NS_ENUM(UInt16, OSImageHashingQuality) {
| ^
In file included from /host/spi-builder-workspace/CocoaImageHashing/OSAHash.m:9:
In file included from /host/spi-builder-workspace/CocoaImageHashing/OSAHash.h:9:
In file included from /host/spi-builder-workspace/CocoaImageHashing/OSImageHashing.h:9:
/host/spi-builder-workspace/CocoaImageHashing/OSTypes.h:9:1: error: use of '@import' when modules are disabled
9 | @import Foundation;
| ^
/host/spi-builder-workspace/CocoaImageHashing/OSTypes.h:28:9: error: unknown type name 'SInt64'
28 | typedef SInt64 OSHashType;
| ^
/host/spi-builder-workspace/CocoaImageHashing/OSTypes.h:33:9: error: unknown type name 'SInt64'
33 | typedef SInt64 OSHashDistanceType;
| ^
/host/spi-builder-workspace/CocoaImageHashing/OSTypes.h:38:9: error: unknown type name 'NSString'
38 | typedef NSString OSImageId;
| ^
/host/spi-builder-workspace/CocoaImageHashing/OSTypes.h:47:1: error: function definition declared 'typedef'
47 | typedef NS_OPTIONS(UInt16, OSImageHashingProviderId) {
| ^~~~~~~
/host/spi-builder-workspace/CocoaImageHashing/OSTypes.h:47:28: error: parameter 'OSImageHashingProviderId' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
47 | typedef NS_OPTIONS(UInt16, OSImageHashingProviderId) {
| ^
/host/spi-builder-workspace/CocoaImageHashing/OSTypes.h:47:20: error: parameter 'UInt16' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
47 | typedef NS_OPTIONS(UInt16, OSImageHashingProviderId) {
| ^
/host/spi-builder-workspace/CocoaImageHashing/OSTypes.h:47:9: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
47 | typedef NS_OPTIONS(UInt16, OSImageHashingProviderId) {
| ~~~~~~~ ^
| int
/host/spi-builder-workspace/CocoaImageHashing/OSTypes.h:48:5: error: use of undeclared identifier 'OSImageHashingProviderAHash'; did you mean 'OSImageHashingProviderId'?
48 | OSImageHashingProviderAHash = 1 << 0,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
| OSImageHashingProviderId
/host/spi-builder-workspace/CocoaImageHashing/OSTypes.h:47:28: note: 'OSImageHashingProviderId' declared here
47 | typedef NS_OPTIONS(UInt16, OSImageHashingProviderId) {
| ^
/host/spi-builder-workspace/CocoaImageHashing/OSTypes.h:49:5: error: use of undeclared identifier 'OSImageHashingProviderDHash'; did you mean 'OSImageHashingProviderId'?
49 | OSImageHashingProviderDHash = 1 << 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
| OSImageHashingProviderId
/host/spi-builder-workspace/CocoaImageHashing/OSTypes.h:47:28: note: 'OSImageHashingProviderId' declared here
47 | typedef NS_OPTIONS(UInt16, OSImageHashingProviderId) {
| ^
/host/spi-builder-workspace/CocoaImageHashing/OSTypes.h:50:5: error: use of undeclared identifier 'OSImageHashingProviderPHash'; did you mean 'OSImageHashingProviderId'?
50 | OSImageHashingProviderPHash = 1 << 2,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
| OSImageHashingProviderId
/host/spi-builder-workspace/CocoaImageHashing/OSTypes.h:47:28: note: 'OSImageHashingProviderId' declared here
47 | typedef NS_OPTIONS(UInt16, OSImageHashingProviderId) {
| ^
/host/spi-builder-workspace/CocoaImageHashing/OSTypes.h:51:5: error: use of undeclared identifier 'OSImageHashingProviderNone'; did you mean 'OSImageHashingProviderId'?
51 | OSImageHashingProviderNone = 0
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
| OSImageHashingProviderId
/host/spi-builder-workspace/CocoaImageHashing/OSTypes.h:47:28: note: 'OSImageHashingProviderId' declared here
47 | typedef NS_OPTIONS(UInt16, OSImageHashingProviderId) {
| ^
/host/spi-builder-workspace/CocoaImageHashing/OSTypes.h:51:35: error: expected ';' after expression
51 | OSImageHashingProviderNone = 0
| ^
| ;
/host/spi-builder-workspace/CocoaImageHashing/OSTypes.h:47:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
47 | typedef NS_OPTIONS(UInt16, OSImageHashingProviderId) {
| ^
/host/spi-builder-workspace/CocoaImageHashing/OSTypes.h:61:1: error: function definition declared 'typedef'
61 | typedef NS_ENUM(UInt16, OSImageHashingQuality) {
| ^~~~~~~
/host/spi-builder-workspace/CocoaImageHashing/OSTypes.h:61:25: error: parameter 'OSImageHashingQuality' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
61 | typedef NS_ENUM(UInt16, OSImageHashingQuality) {
| ^
/host/spi-builder-workspace/CocoaImageHashing/OSTypes.h:61:17: error: parameter 'UInt16' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
61 | typedef NS_ENUM(UInt16, OSImageHashingQuality) {
| ^
/host/spi-builder-workspace/CocoaImageHashing/OSTypes.h:61:9: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
61 | typedef NS_ENUM(UInt16, OSImageHashingQuality) {
| ~~~~~~~ ^
| int
/host/spi-builder-workspace/CocoaImageHashing/OSTypes.h:62:5: error: use of undeclared identifier 'OSImageHashingQualityLow'; did you mean 'OSImageHashingQuality'?
62 | OSImageHashingQualityLow,
| ^~~~~~~~~~~~~~~~~~~~~~~~
| OSImageHashingQuality
/host/spi-builder-workspace/CocoaImageHashing/OSTypes.h:61:25: note: 'OSImageHashingQuality' declared here
61 | typedef NS_ENUM(UInt16, OSImageHashingQuality) {
| ^
[0/11] Compiling CocoaImageHashing OSImageHashing.m
[0/11] Compiling CocoaImageHashing OSAHash.m
In file included from /host/spi-builder-workspace/CocoaImageHashing/OSFastGraphics.m:9:
In file included from /host/spi-builder-workspace/CocoaImageHashing/OSFastGraphics.h:9:
/host/spi-builder-workspace/CocoaImageHashing/OSTypes.h:9:1: error: use of '@import' when modules are disabled
9 | @import Foundation;
| ^
/host/spi-builder-workspace/CocoaImageHashing/OSTypes.h:28:9: error: unknown type name 'SInt64'
28 | typedef SInt64 OSHashType;
| ^
/host/spi-builder-workspace/CocoaImageHashing/OSTypes.h:33:9: error: unknown type name 'SInt64'
33 | typedef SInt64 OSHashDistanceType;
| ^
/host/spi-builder-workspace/CocoaImageHashing/OSTypes.h:38:9: error: unknown type name 'NSString'
38 | typedef NSString OSImageId;
| ^
/host/spi-builder-workspace/CocoaImageHashing/OSTypes.h:47:1: error: function definition declared 'typedef'
47 | typedef NS_OPTIONS(UInt16, OSImageHashingProviderId) {
| ^~~~~~~
/host/spi-builder-workspace/CocoaImageHashing/OSTypes.h:47:28: error: parameter 'OSImageHashingProviderId' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
47 | typedef NS_OPTIONS(UInt16, OSImageHashingProviderId) {
| ^
/host/spi-builder-workspace/CocoaImageHashing/OSTypes.h:47:20: error: parameter 'UInt16' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
47 | typedef NS_OPTIONS(UInt16, OSImageHashingProviderId) {
| ^
/host/spi-builder-workspace/CocoaImageHashing/OSTypes.h:47:9: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
47 | typedef NS_OPTIONS(UInt16, OSImageHashingProviderId) {
| ~~~~~~~ ^
| int
/host/spi-builder-workspace/CocoaImageHashing/OSTypes.h:48:5: error: use of undeclared identifier 'OSImageHashingProviderAHash'; did you mean 'OSImageHashingProviderId'?
48 | OSImageHashingProviderAHash = 1 << 0,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
| OSImageHashingProviderId
/host/spi-builder-workspace/CocoaImageHashing/OSTypes.h:47:28: note: 'OSImageHashingProviderId' declared here
47 | typedef NS_OPTIONS(UInt16, OSImageHashingProviderId) {
| ^
/host/spi-builder-workspace/CocoaImageHashing/OSTypes.h:49:5: error: use of undeclared identifier 'OSImageHashingProviderDHash'; did you mean 'OSImageHashingProviderId'?
49 | OSImageHashingProviderDHash = 1 << 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
| OSImageHashingProviderId
/host/spi-builder-workspace/CocoaImageHashing/OSTypes.h:47:28: note: 'OSImageHashingProviderId' declared here
47 | typedef NS_OPTIONS(UInt16, OSImageHashingProviderId) {
| ^
/host/spi-builder-workspace/CocoaImageHashing/OSTypes.h[0/11] Compiling CocoaImageHashing OSFastGraphics.m
In file included from /host/spi-builder-workspace/CocoaImageHashing/OSCategories.m:9:
/host/spi-builder-workspace/CocoaImageHashing/OSCategories.h:9:1: error: use of '@import' when modules are disabled
9 | @import Foundation;
| ^
/host/spi-builder-workspace/CocoaImageHashing/OSCategories.h:19:1: error: use of '@import' when modules are disabled
19 | @import Cocoa;
| ^
/host/spi-builder-workspace/CocoaImageHashing/OSCategories.h:29:1: error: unknown type name 'NS_ASSUME_NONNULL_BEGIN'
29 | NS_ASSUME_NONNULL_BEGIN
| ^
/host/spi-builder-workspace/CocoaImageHashing/OSCategories.h:31:12: error: cannot find interface declaration for 'NSArray'
31 | @interface NSArray (CocoaImageHashing)
| ^
/host/spi-builder-workspace/CocoaImageHashing/OSCategories.h:33:4: error: expected a type
33 | - (NSArray<OSTuple<id, id> *> *)arrayWithPairCombinations;
| ^
/host/spi-builder-workspace/CocoaImageHashing/OSCategories.h:39:1: error: unknown type name 'NS_ASSUME_NONNULL_END'
39 | NS_ASSUME_NONNULL_END
| ^
/host/spi-builder-workspace/CocoaImageHashing/OSCategories.h:43:24: error: expected ';' after top level declarator
43 | NS_ASSUME_NONNULL_BEGIN
| ^
| ;
/host/spi-builder-workspace/CocoaImageHashing/OSCategories.h:50:1: error: '@end' must appear in an Objective-C context
50 | @end
| ^
/host/spi-builder-workspace/CocoaImageHashing/OSCategories.h:52:1: error: unknown type name 'NS_ASSUME_NONNULL_END'
52 | NS_ASSUME_NONNULL_END
| ^
/host/spi-builder-workspace/CocoaImageHashing/OSCategories.h:58:24: error: expected ';' after top level declarator
58 | NS_ASSUME_NONNULL_BEGIN
| ^
| ;
/host/spi-builder-workspace/CocoaImageHashing/OSCategories.h:67:1: error: '@end' must appear in an Objective-C context
67 | @end
| ^
/host/spi-builder-workspace/CocoaImageHashing/OSCategories.h:69:1: error: unknown type name 'NS_ASSUME_NONNULL_END'
69 | NS_ASSUME_NONNULL_END
| ^
/host/spi-builder-workspace/CocoaImageHashing/OSCategories.h:77:24: error: expected ';' after top level declarator
77 | NS_ASSUME_NONNULL_BEGIN
| ^
| ;
/host/spi-builder-workspace/CocoaImageHashing/OSCategories.h:83:1: error: '@end' must appear in an Objective-C context
83 | @end
| ^
/host/spi-builder-workspace/CocoaImageHashing/OSCategories.h:85:1: error: unknown type name 'NS_ASSUME_NONNULL_END'
85 | NS_ASSUME_NONNULL_END
| ^
/host/spi-builder-workspace/CocoaImageHashing/OSCategories.h:107:24: error: expected ';' after top level declarator
107 | NS_ASSUME_NONNULL_BEGIN
| ^
| ;
/host/spi-builder-workspace/CocoaImageHashing/OSCategories.h:113:1: error: '@end' must appear in an Objective-C context
113 | @end
| ^
/host/spi-builder-workspace/CocoaImageHashing/OSCategories.h:115:1: error: unknown type name 'NS_ASSUME_NONNULL_END'
115 | NS_ASSUME_NONNULL_END
| ^
In file included from /host/spi-builder-workspace/CocoaImageHashing/OSCategories.m:10:
In file included from /host/spi-builder-workspace/CocoaImageHashing/OSTypes+Internal.h:6:
/host/spi-builder-workspace/CocoaImageHashing/OSTypes.h:9:2: error: prefix attribute must be followed by an interface, protocol, or implementation
9 | @import Foundation;
| ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
[0/11] Compiling CocoaImageHashing OSCategories.m
[0/11] Compiling CocoaImageHashing OSTypes.m
In file included from /host/spi-builder-workspace/CocoaImageHashing/OSAbstractHash.m:9:
In file included from /host/spi-builder-workspace/CocoaImageHashing/OSAbstractHash.h:9:
/host/spi-builder-workspace/CocoaImageHashing/OSTypes.h:9:1: error: use of '@import' when modules are disabled
9 | @import Foundation;
| ^
/host/spi-builder-workspace/CocoaImageHashing/OSTypes.h:28:9: error: unknown type name 'SInt64'
28 | typedef SInt64 OSHashType;
| ^
/host/spi-builder-workspace/CocoaImageHashing/OSTypes.h:33:9: error: unknown type name 'SInt64'
33 | typedef SInt64 OSHashDistanceType;
| ^
/host/spi-builder-workspace/CocoaImageHashing/OSTypes.h:38:9: error: unknown type name 'NSString'
38 | typedef NSString OSImageId;
| ^
/host/spi-builder-workspace/CocoaImageHashing/OSTypes.h:47:1: error: function definition declared 'typedef'
47 | typedef NS_OPTIONS(UInt16, OSImageHashingProviderId) {
| ^~~~~~~
/host/spi-builder-workspace/CocoaImageHashing/OSTypes.h:47:28: error: parameter 'OSImageHashingProviderId' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
47 | typedef NS_OPTIONS(UInt16, OSImageHashingProviderId) {
| ^
/host/spi-builder-workspace/CocoaImageHashing/OSTypes.h:47:20: error: parameter 'UInt16' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
47 | typedef NS_OPTIONS(UInt16, OSImageHashingProviderId) {
| ^
/host/spi-builder-workspace/CocoaImageHashing/OSTypes.h:47:9: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
47 | typedef NS_OPTIONS(UInt16, OSImageHashingProviderId) {
| ~~~~~~~ ^
| int
/host/spi-builder-workspace/CocoaImageHashing/OSTypes.h:48:5: error: use of undeclared identifier 'OSImageHashingProviderAHash'; did you mean 'OSImageHashingProviderId'?
48 | OSImageHashingProviderAHash = 1 << 0,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
| OSImageHashingProviderId
/host/spi-builder-workspace/CocoaImageHashing/OSTypes.h:47:28: note: 'OSImageHashingProviderId' declared here
47 | typedef NS_OPTIONS(UInt16, OSImageHashingProviderId) {
| ^
/host/spi-builder-workspace/CocoaImageHashing/OSTypes.h:49:5: error: use of undeclared identifier 'OSImageHashingProviderDHash'; did you mean 'OSImageHashingProviderId'?
49 | OSImageHashingProviderDHash = 1 << 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
| OSImageHashingProviderId
/host/spi-builder-workspace/CocoaImageHashing/OSTypes.h:47:28: note: 'OSImageHashingProviderId' declared here
47 | typedef NS_OPTIONS(UInt16, OSImageHashingProviderId) {
| ^
/host/spi-builder-workspace/CocoaImageHashing/OSTypes.h:50:5: error: use of undeclared identifier 'OSImageHashingProviderPHash'; did you mean 'OSImageHashingProviderId'?
50 | OSImageHashingProviderPHash = 1 << 2,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
| OSImageHashingProviderId
/host/spi-builder-workspace/CocoaImageHashing/OSTypes.h:47:28: note: 'OSImageHashingProviderId' declared here
47 | typedef NS_OPTIONS(UInt16, OSImageHashingProviderId) {
| ^
/host/spi-builder-workspace/CocoaImageHashing/OSTypes.h:51:5: error: use of undeclared identifier 'OSImageHashingProviderNone'; did you mean 'OSImageHashingProviderId'?
51 | OSImageHashingProviderNone = 0
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
| OSImageHashingProviderId
/host/spi-builder-workspace/CocoaImageHashing/OSTypes.h:47:28: note: 'OSImageHashingProviderId' declared here
47 | typedef NS_OPTIONS(UInt16, OSImageHashingProviderId) {
| ^
/host/spi-builder-workspace/CocoaImageHashing/OSTypes.h:51:35: error: expected ';' after expression
51 | OSImageHashingProviderNone = 0
| ^
| ;
/host/spi-builder-workspace/CocoaImageHashing/OSTypes.h:47:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
47 | typedef NS_OPTIONS(UInt16, OSImageHashingProviderId) {
| ^
/host/spi-builder-workspace/CocoaImageHashing/OSTypes.h:61:1: error: function definition declared 'typedef'
61 | typedef NS_ENUM(UInt16, OSImageHashingQuality) {
| ^~~~~~~
/host/spi-builder-workspace/CocoaImageHashing/OSTypes.h:61:25: error: parameter 'OSImageHashingQuality' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
61 | typedef NS_ENUM(UInt16, OSImageHashingQuality) {
| ^
/host/spi-builder-workspace/CocoaImageHashing/OSTypes.h:61:17: error: parameter 'UInt16' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
61 | typedef NS_ENUM(UInt16, OSImageHashingQuality) {
| ^
/host/spi-builder-workspace/CocoaImageHashing/OSTypes.h:61:9: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
61 | typedef NS_ENUM(UInt16, OSImageHashingQuality) {
| ~~~~~~~ ^
| int
/host/spi-builder-workspace/CocoaImageHashing/OSTypes.h:62:5: error: use of undeclared identifier 'OSImageHashingQualityLow'; did you mean 'OSImageHashingQuality'?
62 | OSImageHashingQualityLow,
| ^~~~~~~~~~~~~~~~~~~~~~~~
| OSImageHashingQuality
/host/spi-builder-workspace/CocoaImageHashing/OSTypes.h:61:25: note: 'OSImageHashingQuality' declared here
61 | typedef NS_ENUM(UInt16, OSImageHashingQuality) {
| ^
/host/spi-builder-workspace/CocoaImageHashing/OSTypes.h:63:5: error: use of undeclared identifier 'OSImageHashingQualityMedium'; did you mean 'OSImageHashingQuality'?
63 | OSImageHashingQualityMedium,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
| OSImageHashingQuality
/host/spi-builder-workspace/CocoaImageHashing/OSTypes.h:61:25: note: 'OSImageHashingQuality' declared here
61 | typedef NS_ENUM(UInt16, OSImageHashingQuality) {
| ^
[0/11] Compiling CocoaImageHashing OSAbstractHash.m
In file included from /host/spi-builder-workspace/CocoaImageHashing/OSSimilaritySearch.m:9:
/host/spi-builder-workspace/CocoaImageHashing/OSCategories.h:9:1: error: use of '@import' when modules are disabled
9 | @import Foundation;
| ^
/host/spi-builder-workspace/CocoaImageHashing/OSCategories.h:19:1: error: use of '@import' when modules are disabled
19 | @import Cocoa;
| ^
/host/spi-builder-workspace/CocoaImageHashing/OSCategories.h:29:1: error: unknown type name 'NS_ASSUME_NONNULL_BEGIN'
29 | NS_ASSUME_NONNULL_BEGIN
| ^
/host/spi-builder-workspace/CocoaImageHashing/OSCategories.h:31:12: error: cannot find interface declaration for 'NSArray'
31 | @interface NSArray (CocoaImageHashing)
| ^
/host/spi-builder-workspace/CocoaImageHashing/OSCategories.h:33:4: error: expected a type
33 | - (NSArray<OSTuple<id, id> *> *)arrayWithPairCombinations;
| ^
/host/spi-builder-workspace/CocoaImageHashing/OSCategories.h:39:1: error: unknown type name 'NS_ASSUME_NONNULL_END'
39 | NS_ASSUME_NONNULL_END
| ^
/host/spi-builder-workspace/CocoaImageHashing/OSCategories.h:43:24: error: expected ';' after top level declarator
43 | NS_ASSUME_NONNULL_BEGIN
| ^
| ;
/host/spi-builder-workspace/CocoaImageHashing/OSCategories.h:50:1: error: '@end' must appear in an Objective-C context
50 | @end
| ^
[0/11] Compiling CocoaImageHashing OSSimilaritySearch.m
BUILD FAILURE 6.3 linux