The Swift Package Index logo.Swift Package Index

Build Information

Failed to build OCMockito with Swift 5.7 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.7-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.7
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.7-latest swift build 2>&1
Fetching https://github.com/hamcrest/OCHamcrest
[1/20088] Fetching ochamcrest
Fetched https://github.com/hamcrest/OCHamcrest (1.17s)
Computing version for https://github.com/hamcrest/OCHamcrest
Computed https://github.com/hamcrest/OCHamcrest at 9.0.2 (0.29s)
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/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.
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.
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.
In file included from /host/spi-builder-workspace/Source/OCMockito/Helpers/ReturnValueSetters/MKTIntReturnSetter.m:5:
In file included from /host/spi-builder-workspace/Source/OCMockito/Helpers/ReturnValueSetters/MKTIntReturnSetter.h:5:
/host/spi-builder-workspace/Source/OCMockito/Helpers/ReturnValueSetters/MKTReturnValueSetter.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/MKTLongLongArgumentGetter.m:5:
In file included from /host/spi-builder-workspace/Source/OCMockito/Helpers/ArgumentGetters/MKTLongLongArgumentGetter.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.
In file included from /host/spi-builder-workspace/Source/OCMockito/Helpers/ReturnValueSetters/MKTLongLongReturnSetter.m:5:
In file included from /host/spi-builder-workspace/Source/OCMockito/Helpers/ReturnValueSetters/MKTLongLongReturnSetter.h:5:
/host/spi-builder-workspace/Source/OCMockito/Helpers/ReturnValueSetters/MKTReturnValueSetter.h:5:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/74] Compiling MKTLongLongReturnSetter.m
[0/74] Compiling MKTCharArgumentGetter.m
[0/74] Compiling MKTBoolArgumentGetter.m
[0/74] Compiling MKTLongLongArgumentGetter.m
[0/74] Compiling MKTIntReturnSetter.m
[0/74] Compiling MKTPointerArgumentGetter.m
In file included from /host/spi-builder-workspace/Source/OCMockito/Helpers/ArgumentGetters/MKTSelectorArgumentGetter.m:5:
In file included from /host/spi-builder-workspace/Source/OCMockito/Helpers/ArgumentGetters/MKTSelectorArgumentGetter.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 MKTSelectorArgumentGetter.m
In file included from /host/spi-builder-workspace/Source/OCMockito/Helpers/ArgumentGetters/MKTObjectArgumentGetter.m:5:
In file included from /host/spi-builder-workspace/Source/OCMockito/Helpers/ArgumentGetters/MKTObjectArgumentGetter.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 MKTObjectArgumentGetter.m
BUILD FAILURE 5.7 linux

Build Machine: Linux 1