The Swift Package Index logo.Swift Package Index

Build Information

Failed to build CocoaImageHashing with Swift 5.9 for Linux.

Build Command

docker run --rm -v "checkouts-4606859-0":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.19.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ameingast/cocoaimagehashing.git
Reference: master
Cloned https://github.com/ameingast/cocoaimagehashing.git into spi-builder-workspace
SUCCESS checkout https://github.com/ameingast/cocoaimagehashing.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.9
Building package at path:  spi-builder-workspace
Running build ...
docker run --rm -v "checkouts-4606859-0":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1
Building for debugging...
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:9: fatal error: module 'Foundation' not found
@import Foundation;
 ~~~~~~~^~~~~~~~~~
1 error generated.
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.
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/10] Compiling CocoaImageHashing OSPHash.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/10] Compiling CocoaImageHashing OSCategories.m
[0/10] Compiling CocoaImageHashing OSAbstractHash.m
[0/10] 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:9: fatal error: module 'Foundation' not found
@import Foundation;
 ~~~~~~~^~~~~~~~~~
[0/10] Compiling CocoaImageHashing OSFastGraphics.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/10] 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/10] Compiling CocoaImageHashing OSImageHashing.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:9: fatal error: module 'Foundation' not found
@import Foundation;
 ~~~~~~~^~~~~~~~~~
1 error generated.
[0/10] Compiling CocoaImageHashing OSTypes.m
BUILD FAILURE 5.9 linux

Build Machine: Linux 1