The Swift Package Index logo.Swift Package Index

Build Information

Failed to build LNPopupController with Swift 5.10 for Linux.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.35.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/LeoNatan/LNPopupController.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/LeoNatan/LNPopupController
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 5663838 Comment
Submodule path 'LNPopupSettings': checked out '8ab95168805498f3cce5eb77064abf19d93a56d2'
Submodule 'LNPopupSettings' (https://github.com/LeoNatan/LNPopupSettings.git) registered for path 'LNPopupSettings'
Cloning into '/host/spi-builder-workspace/LNPopupSettings'...
Cloned https://github.com/LeoNatan/LNPopupController.git
Revision (git rev-parse @):
566383812e220288fe340d7fc481ed39bae9d612
SUCCESS checkout https://github.com/LeoNatan/LNPopupController.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/LeoNatan/LNPopupController.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Building for debugging...
/host/spi-builder-workspace/LNPopupController/LNPopupController/Private/LNMath.m:10:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/34] Compiling LNMath.m
[0/34] Compiling LNPopupBarAppearanceChainProxy.m
[0/34] Compiling LNPopupInteractionPanGestureRecognizer.m
In file included from /host/spi-builder-workspace/LNPopupController/LNPopupController/Private/LNForwardingDelegate.m:9:
/host/spi-builder-workspace/LNPopupController/LNPopupController/Private/LNForwardingDelegate.h:9:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/34] Compiling LNForwardingDelegate.m
In file included from /host/spi-builder-workspace/LNPopupController/LNPopupController/Private/LNPopupCloseButton.m:9:
In file included from /host/spi-builder-workspace/LNPopupController/LNPopupController/Private/LNPopupCloseButton+Private.h:9:
/host/spi-builder-workspace/LNPopupController/include/LNPopupController/LNPopupCloseButton.h:9:9: fatal error: 'UIKit/UIKit.h' file not found
#import <UIKit/UIKit.h>
        ^~~~~~~~~~~~~~~
[0/34] Compiling LNPopupCloseButton.m
In file included from /host/spi-builder-workspace/LNPopupController/LNPopupController/Private/LNPopupBar.m:9:
In file included from /host/spi-builder-workspace/LNPopupController/LNPopupController/Private/LNPopupBar+Private.h:9:
/host/spi-builder-workspace/LNPopupController/include/LNPopupController/LNPopupBar.h:9:9: fatal error: 'UIKit/UIKit.h' file not found
#import <UIKit/UIKit.h>
        ^~~~~~~~~~~~~~~
[0/34] Compiling LNPopupBar.m
In file included from /host/spi-builder-workspace/LNPopupController/LNPopupController/Private/LNPopupBarAppearance.m:9:
In file included from /host/spi-builder-workspace/LNPopupController/LNPopupController/Private/LNPopupBarAppearance+Private.h:9:
/host/spi-builder-workspace/LNPopupController/include/LNPopupController/LNPopupBarAppearance.h:9:9: fatal error: 'UIKit/UIKit.h' file not found
#import <UIKit/UIKit.h>
        ^~~~~~~~~~~~~~~
[0/34] Compiling LNPopupBarAppearance.m
[0/34] Write swift-version-24593BA9C3E375BF.txt
[0/1] Planning build
Building for debugging...
[0/34] Write sources
In file included from /host/spi-builder-workspace/LNPopupController/LNPopupController/Private/_LNPopupBarShadowedImageView.m:9:
/host/spi-builder-workspace/LNPopupController/LNPopupController/Private/_LNPopupBarShadowedImageView.h:9:9: fatal error: 'UIKit/UIKit.h' file not found
#import <UIKit/UIKit.h>
        ^~~~~~~~~~~~~~~
1 error generated.
[1/34] Compiling _LNPopupBarShadowedImageView.m
[1/34] Compiling _LNPopupBackgroundShadowView.m
[1/34] Compiling _LNPopupBarBackgroundMaskView.m
[1/34] Compiling _LNPopupBarBackgroundView.m
In file included from /host/spi-builder-workspace/LNPopupController/LNPopupController/Private/_LNPopupUIBarAppearanceProxy.m:11:
/host/spi-builder-workspace/LNPopupController/LNPopupController/Private/_LNPopupUIBarAppearanceProxy.h:9:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[1/34] Compiling _LNPopupUIBarAppearanceProxy.m
[1/34] Compiling _LNPopupSwizzlingUtils.m
In file included from /host/spi-builder-workspace/LNPopupController/LNPopupController/Private/_LNWeakRef.m:9:
/host/spi-builder-workspace/LNPopupController/LNPopupController/Private/_LNWeakRef.h:9:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[1/34] Compiling _LNWeakRef.m
[1/34] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 5.10 linux

Build Machine: Linux 1