The Swift Package Index logo.Swift Package Index

Build Information

Failed to build OCHamcrest 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.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.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/Source/Core/HCBaseDescription.m:5:
/host/spi-builder-workspace/Source/Core/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/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 HCDiagnosingMatcher.m
[0/76] Compiling HCBaseDescription.m
[0/76] Compiling HCInvocationMatcher.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
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.
[0/76] Compiling HCBaseMatcher.m
[0/76] Compiling HCWrapInMatcher.m
In file included from /host/spi-builder-workspace/Source/Core/HCAssertThat.m:5:
/host/spi-builder-workspace/Source/Core/HCAssertThat.h:5:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/76] Compiling HCAssertThat.m
[0/76] Compiling HCRunloopRunner.m
BUILD FAILURE 5.9 linux

Build Machine: Linux 1