The Swift Package Index logo.Swift Package Index

Build Information

Failed to build CocoaImageHashing with Swift 5.10 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.29.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ameingast/cocoaimagehashing.git
Reference: 1.9.0
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
 * tag               1.9.0      -> FETCH_HEAD
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 1.9.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/ameingast/cocoaimagehashing.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Building for debugging...
In file included from /host/spi-builder-workspace/CocoaImageHashing/OSSimilaritySearch.m:9:
/host/spi-builder-workspace/CocoaImageHashing/OSCategories.h:9:9: fatal error: module 'Foundation' not found
@import Foundation;
 ~~~~~~~^~~~~~~~~~
1 error generated.
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:9: fatal error: module 'Foundation' not found
@import Foundation;
 ~~~~~~~^~~~~~~~~~
1 error generated.
[0/11] Compiling CocoaImageHashing OSAbstractHash.m
[0/11] Compiling CocoaImageHashing OSSimilaritySearch.m
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:9: fatal error: module 'Foundation' not found
@import Foundation;
 ~~~~~~~^~~~~~~~~~
1 error generated.
[0/11] Compiling CocoaImageHashing OSImageHashing.m
In file included from /host/spi-builder-workspace/CocoaImageHashing/OSCategories.m:9:
/host/spi-builder-workspace/CocoaImageHashing/OSCategories.h:9:9: fatal error: module 'Foundation' not found
@import Foundation;
 ~~~~~~~^~~~~~~~~~
1 error generated.
[0/11] Compiling CocoaImageHashing OSCategories.m
In file included from /host/spi-builder-workspace/CocoaImageHashing/OSPHash.m:9:
/host/spi-builder-workspace/CocoaImageHashing/OSCategories.h:9:9: fatal error: module 'Foundation' not found
@import Foundation;
 ~~~~~~~^~~~~~~~~~
1 error generated.
[0/11] Compiling CocoaImageHashing OSPHash.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:9: fatal error: module 'Foundation' not found
@import Foundation;
 ~~~~~~~^~~~~~~~~~
[0/11] Compiling CocoaImageHashing OSFastGraphics.m
In file included from /host/spi-builder-workspace/CocoaImageHashing/OSDHash.m:9:
/host/spi-builder-workspace/CocoaImageHashing/OSCategories.h:9:9: fatal error: module 'Foundation' not found
@import Foundation;
 ~~~~~~~^~~~~~~~~~
1 error generated.
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:9: fatal error: module 'Foundation' not found
@import Foundation;
 ~~~~~~~^~~~~~~~~~
1 error generated.
[0/11] Compiling CocoaImageHashing OSTypes.m
[0/11] Compiling CocoaImageHashing OSDHash.m
[0/1] Planning build
Building for debugging...
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:9: fatal error: module 'Foundation' not found
@import Foundation;
 ~~~~~~~^~~~~~~~~~
1 error generated.
In file included from /host/spi-builder-workspace/CocoaImageHashing/OSCategories.m:9:
/host/spi-builder-workspace/CocoaImageHashing/OSCategories.h:9:9: fatal error: module 'Foundation' not found
@import Foundation;
 ~~~~~~~^~~~~~~~~~
1 error generated.
[0/11] Compiling CocoaImageHashing OSCategories.m
In file included from /host/spi-builder-workspace/CocoaImageHashing/OSPHash.m:9:
/host/spi-builder-workspace/CocoaImageHashing/OSCategories.h:9:9: fatal error: module 'Foundation' not found
@import Foundation;
 ~~~~~~~^~~~~~~~~~
1 error generated.
[0/11] Compiling CocoaImageHashing OSPHash.m
[0/11] Compiling CocoaImageHashing OSTypes.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:9: fatal error: module 'Foundation' not found
@import Foundation;
 ~~~~~~~^~~~~~~~~~
[0/11] Compiling CocoaImageHashing OSFastGraphics.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:9: fatal error: module 'Foundation' not found
@import Foundation;
 ~~~~~~~^~~~~~~~~~
1 error generated.
[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:9: fatal error: module 'Foundation' not found
@import Foundation;
 ~~~~~~~^~~~~~~~~~
1 error generated.
[0/11] Compiling CocoaImageHashing OSSimilaritySearch.m
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:9: fatal error: module 'Foundation' not found
@import Foundation;
 ~~~~~~~^~~~~~~~~~
1 error generated.
[0/11] Compiling CocoaImageHashing OSImageHashing.m
In file included from /host/spi-builder-workspace/CocoaImageHashing/OSDHash.m:9:
/host/spi-builder-workspace/CocoaImageHashing/OSCategories.h:9:9: fatal error: module 'Foundation' not found
@import Foundation;
 ~~~~~~~^~~~~~~~~~
1 error generated.
[0/11] Compiling CocoaImageHashing OSDHash.m
BUILD FAILURE 5.10 linux

Build Machine: Linux 2