The Swift Package Index logo.Swift Package Index

Build Information

Failed to build OCMockito with Swift 5.8 for Linux.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.23.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/jonreid/OCMockito.git
Reference: v7.0.2
Cloned https://github.com/jonreid/OCMockito.git into spi-builder-workspace
SUCCESS checkout https://github.com/jonreid/OCMockito.git at v7.0.2
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.8
Building package at path:  spi-builder-workspace
Running build ...
docker run --rm -v "checkouts-4609320-1":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.8-latest swift build 2>&1
Fetching https://github.com/hamcrest/OCHamcrest
[1/20088] Fetching ochamcrest
Fetched https://github.com/hamcrest/OCHamcrest (0.95s)
Computing version for https://github.com/hamcrest/OCHamcrest
Computed https://github.com/hamcrest/OCHamcrest at 9.0.2 (0.33s)
Creating working copy for https://github.com/hamcrest/OCHamcrest
Working copy of https://github.com/hamcrest/OCHamcrest resolved at 9.0.2
Building for debugging...
In file included from /host/spi-builder-workspace/Source/OCMockito/Core/MKTMockitoCore.m:5:
/host/spi-builder-workspace/Source/OCMockito/Core/MKTMockitoCore.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/OCMockito/Helpers/ArgumentGetters/MKTPointerArgumentGetter.m:5:
In file included from /host/spi-builder-workspace/Source/OCMockito/Helpers/ArgumentGetters/MKTPointerArgumentGetter.h:5:
/host/spi-builder-workspace/Source/OCMockito/Helpers/ArgumentGetters/MKTArgumentGetter.h:5:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/74] Compiling MKTPointerArgumentGetter.m
[0/74] Compiling MKTMockitoCore.m
In file included from /host/spi-builder-workspace/Source/OCMockito/Core/MKTTestLocation.m:5:
/host/spi-builder-workspace/Source/OCMockito/Core/MKTTestLocation.h:5:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
While building module 'OCHamcrest' imported from /host/spi-builder-workspace/Source/OCMockito/Core/MKTTestLocation.m:7:
In file included from <module-includes>:1:
/host/spi-builder-workspace/.build/checkouts/OCHamcrest/Source/include/OCHamcrest/OCHamcrest.h:5:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /host/spi-builder-workspace/Source/OCMockito/Helpers/ArgumentGetters/MKTBoolArgumentGetter.m:5:
In file included from /host/spi-builder-workspace/Source/OCMockito/Helpers/ArgumentGetters/MKTBoolArgumentGetter.h:5:
/host/spi-builder-workspace/Source/OCMockito/Helpers/ArgumentGetters/MKTArgumentGetter.h:5:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/74] Compiling MKTTestLocation.m
[0/74] Compiling MKTBoolArgumentGetter.m
In file included from /host/spi-builder-workspace/Source/OCMockito/Helpers/ArgumentGetters/MKTArgumentGetterChain.m:5:
/host/spi-builder-workspace/Source/OCMockito/Helpers/ArgumentGetters/MKTArgumentGetterChain.h:5:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/74] Compiling MKTArgumentGetterChain.m
In file included from /host/spi-builder-workspace/Source/OCMockito/Core/OCMockito.m:5:
/host/spi-builder-workspace/Source/OCMockito/Core/OCMockito.h:5:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/74] Compiling OCMockito.m
In file included from /host/spi-builder-workspace/Source/OCMockito/Helpers/ArgumentGetters/MKTCharArgumentGetter.m:5:
In file included from /host/spi-builder-workspace/Source/OCMockito/Helpers/ArgumentGetters/MKTCharArgumentGetter.h:5:
/host/spi-builder-workspace/Source/OCMockito/Helpers/ArgumentGetters/MKTArgumentGetter.h:5:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/74] Compiling MKTCharArgumentGetter.m
In file included from /host/spi-builder-workspace/Source/OCMockito/Helpers/ArgumentGetters/MKTClassArgumentGetter.m:5:
In file included from /host/spi-builder-workspace/Source/OCMockito/Helpers/ArgumentGetters/MKTClassArgumentGetter.h:5:
/host/spi-builder-workspace/Source/OCMockito/Helpers/ArgumentGetters/MKTArgumentGetter.h:5:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/74] Compiling MKTClassArgumentGetter.m
BUILD FAILURE 5.8 linux

Build Machine: Linux 2