The Swift Package Index logo.Swift Package Index

Build Information

Failed to build KIF with Swift 5.8 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.8-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.33.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/kif-framework/KIF.git
Reference: master
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/kif-framework/KIF
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at ac6468a Merge pull request #1292 from adamsousa/bump-ios-minimum-deployment-target
Cloned https://github.com/kif-framework/KIF.git
Revision (git rev-parse @):
ac6468a31180d7ab1ba8ea356e1b5552cd8a928a
SUCCESS checkout https://github.com/kif-framework/KIF.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.8
Building package at path:  $workDir
https://github.com/kif-framework/KIF.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.8-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
warning: 'spi-builder-workspace': ignoring target 'KIFTests' in package 'spi-builder-workspace'; C language in tests is not yet supported
Building for debugging...
In file included from /host/spi-builder-workspace/Sources/KIF/Additions/UIScreen+KIFAdditions.m:9:
/host/spi-builder-workspace/Sources/KIF/Additions/UIScreen+KIFAdditions.h:9:9: fatal error: 'UIKit/UIKit.h' file not found
#import <UIKit/UIKit.h>
        ^~~~~~~~~~~~~~~
1 error generated.
[0/40] Compiling UIScreen+KIFAdditions.m
In file included from /host/spi-builder-workspace/Sources/KIF/Additions/UIScrollView-KIFAdditions.m:10:
/host/spi-builder-workspace/Sources/KIF/Additions/UIScrollView-KIFAdditions.h:10:9: fatal error: 'UIKit/UIKit.h' file not found
#import <UIKit/UIKit.h>
        ^~~~~~~~~~~~~~~
1 error generated.
In file included from /host/spi-builder-workspace/Sources/KIF/Additions/UITouch-KIFAdditions.m:10:
/host/spi-builder-workspace/Sources/KIF/Additions/UITouch-KIFAdditions.h:10:9: fatal error: 'UIKit/UIKit.h' file not found
#import <UIKit/UIKit.h>
        ^~~~~~~~~~~~~~~
1 error generated.
[0/40] Compiling UITouch-KIFAdditions.m
[0/40] Compiling UIScrollView-KIFAdditions.m
In file included from /host/spi-builder-workspace/Sources/KIF/Additions/UIView-Debugging.m:8:
/host/spi-builder-workspace/Sources/KIF/Additions/UIView-Debugging.h:8:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/40] Compiling UIView-Debugging.m
In file included from /host/spi-builder-workspace/Sources/KIF/Classes/KIFUIObject.m:9:
/host/spi-builder-workspace/Sources/KIF/Classes/KIFUIObject.h:9:9: fatal error: 'UIKit/UIKit.h' file not found
#import <UIKit/UIKit.h>
        ^~~~~~~~~~~~~~~
1 error generated.
In file included from /host/spi-builder-workspace/Sources/KIF/Visualizer/KIFTouchVisualizerViewCoordinator.m:1:
/host/spi-builder-workspace/Sources/KIF/Visualizer/KIFTouchVisualizerViewCoordinator.h:1:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/40] Compiling KIFUIObject.m
[0/40] Compiling KIFTouchVisualizerViewCoordinator.m
In file included from /host/spi-builder-workspace/Sources/KIF/Additions/UITableView-KIFAdditions.m:10:
/host/spi-builder-workspace/Sources/KIF/Additions/UITableView-KIFAdditions.h:10:9: fatal error: 'UIKit/UIKit.h' file not found
#import <UIKit/UIKit.h>
        ^~~~~~~~~~~~~~~
1 error generated.
[0/40] Compiling UITableView-KIFAdditions.m
In file included from /host/spi-builder-workspace/Sources/KIF/Classes/KIFUITestActor.m:10:
In file included from /host/spi-builder-workspace/Sources/KIF/Classes/KIFUITestActor.h:10:
/host/spi-builder-workspace/Sources/KIF/include/KIFTestActor.h:10:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/40] Compiling KIFUITestActor.m
warning: 'spi-builder-workspace': ignoring target 'KIFTests' in package 'spi-builder-workspace'; C language in tests is not yet supported
[0/1] Planning build
Building for debugging...
In file included from /host/spi-builder-workspace/Sources/KIF/Visualizer/KIFTouchVisualizerViewCoordinator.m:1:
/host/spi-builder-workspace/Sources/KIF/Visualizer/KIFTouchVisualizerViewCoordinator.h:1:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
In file included from /host/spi-builder-workspace/Sources/KIF/Visualizer/KIFTouchVisualizerView.m:1:
/host/spi-builder-workspace/Sources/KIF/Visualizer/KIFTouchVisualizerView.h:1:9: fatal error: 'UIKit/UIKit.h' file not found
#import <UIKit/UIKit.h>
        ^~~~~~~~~~~~~~~
1 error generated.
/host/spi-builder-workspace/Sources/KIF/Visualizer/KIFEventVisualizer.m:1:9: fatal error: 'UIKit/UIKit.h' file not found
#import <UIKit/UIKit.h>
        ^~~~~~~~~~~~~~~
1 error generated.
[0/40] Compiling KIFTouchVisualizerView.m
[0/40] Compiling KIFEventVisualizer.m
[0/40] Compiling KIFTouchVisualizerViewCoordinator.m
In file included from /host/spi-builder-workspace/Sources/KIF/Classes/KIFUITestActor.m:10:
In file included from /host/spi-builder-workspace/Sources/KIF/Classes/KIFUITestActor.h:10:
/host/spi-builder-workspace/Sources/KIF/include/KIFTestActor.h:10:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/40] Compiling KIFUITestActor.m
/host/spi-builder-workspace/Sources/KIF/IdentifierTests/KIFUITestActor-IdentifierTests.m:9:9: fatal error: 'UIKit/UIKit.h' file not found
#import <UIKit/UIKit.h>
        ^~~~~~~~~~~~~~~
1 error generated.
[0/40] Compiling KIFUITestActor-IdentifierTests.m
In file included from /host/spi-builder-workspace/Sources/KIF/Classes/UIAutomationHelper.m:9:
/host/spi-builder-workspace/Sources/KIF/Classes/UIAutomationHelper.h:9:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
In file included from /host/spi-builder-workspace/Sources/KIF/Classes/KIFUIViewTestActor.m:9:
/host/spi-builder-workspace/Sources/KIF/Classes/KIFUIViewTestActor.h:9:9: fatal error: 'UIKit/UIKit.h' file not found
#import <UIKit/UIKit.h>
        ^~~~~~~~~~~~~~~
1 error generated.
[0/40] Compiling KIFUIViewTestActor.m
[0/40] Compiling UIAutomationHelper.m
In file included from /host/spi-builder-workspace/Sources/KIF/Classes/KIFUITestActor-ConditionalTests.m:9:
In file included from /host/spi-builder-workspace/Sources/KIF/Classes/KIFUITestActor-ConditionalTests.h:9:
In file included from /host/spi-builder-workspace/Sources/KIF/include/KIF.h:10:
/host/spi-builder-workspace/Sources/KIF/include/KIFTestActor.h:10:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/40] Compiling KIFUITestActor-ConditionalTests.m
BUILD FAILURE 5.8 linux

Build Machine: Linux 2