The Swift Package Index logo.Swift Package Index

Build Information

Failed to build OCHamcrest with Swift 5.7 for Linux.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.23.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/hamcrest/OCHamcrest.git
Reference: v9.0.3
Cloned https://github.com/hamcrest/OCHamcrest.git into spi-builder-workspace
SUCCESS checkout https://github.com/hamcrest/OCHamcrest.git at v9.0.3
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.7
Building package at path:  spi-builder-workspace
Running build ...
docker run --rm -v "checkouts-4609320-0":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.7-latest swift build 2>&1
Building for debugging...
In file included from /host/spi-builder-workspace/Source/Core/HCStringDescription.m:5:
In file included from /host/spi-builder-workspace/Source/Core/HCStringDescription.h:5:
/host/spi-builder-workspace/Source/include/OCHamcrest/HCBaseDescription.h:5:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
In file included from /host/spi-builder-workspace/Source/Core/HCBaseMatcher.m:5:
/host/spi-builder-workspace/Source/Core/HCBaseMatcher.h:5:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
In file included from /host/spi-builder-workspace/Source/Core/HCDiagnosingMatcher.m:5:
In file included from /host/spi-builder-workspace/Source/Core/HCDiagnosingMatcher.h:5:
/host/spi-builder-workspace/Source/include/OCHamcrest/HCBaseMatcher.h:5:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/76] Compiling HCBaseMatcher.m
[0/76] Compiling HCDiagnosingMatcher.m
[0/76] Compiling HCStringDescription.m
In file included from /host/spi-builder-workspace/Source/Library/Text/HCSubstringMatcher.m:5:
In file included from /host/spi-builder-workspace/Source/Library/Text/HCSubstringMatcher.h:5:
/host/spi-builder-workspace/Source/include/OCHamcrest/HCBaseMatcher.h:5:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
In file included from /host/spi-builder-workspace/Source/Core/Helpers/HCRunloopRunner.m:5:
/host/spi-builder-workspace/Source/Core/Helpers/HCRunloopRunner.h:5:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
In file included from /host/spi-builder-workspace/Source/Core/Helpers/HCInvocationMatcher.m:5:
In file included from /host/spi-builder-workspace/Source/Core/Helpers/HCInvocationMatcher.h:5:
/host/spi-builder-workspace/Source/include/OCHamcrest/HCBaseMatcher.h:5:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/76] Compiling HCRunloopRunner.m
In file included from /host/spi-builder-workspace/Source/Core/Helpers/HCRequireNonNilObject.m:5:
/host/spi-builder-workspace/Source/Core/Helpers/HCRequireNonNilObject.h:5:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/76] Compiling HCSubstringMatcher.m
[0/76] Compiling HCInvocationMatcher.m
[0/76] Compiling HCRequireNonNilObject.m
In file included from /host/spi-builder-workspace/Source/Core/Helpers/HCCollect.m:5:
/host/spi-builder-workspace/Source/Core/Helpers/HCCollect.h:5:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/76] Compiling HCCollect.m
BUILD FAILURE 5.7 linux

Build Machine: Linux 2