The Swift Package Index logo.Swift Package Index

Build Information

Failed to build LNPopupController with Swift 5.9 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4609320-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.9-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/LeoNatan/LNPopupController.git
Reference: 2.18.8
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
 * tag               2.18.8     -> FETCH_HEAD
HEAD is now at ea00807 2.18.8
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 @):
ea0080748e9aea9d867068823e92dae71944df8f
SUCCESS checkout https://github.com/LeoNatan/LNPopupController.git at 2.18.8
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.9
Building package at path:  $workDir
https://github.com/LeoNatan/LNPopupController.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Building for debugging...
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/30] Compiling LNForwardingDelegate.m
/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/30] Compiling LNMath.m
[0/30] Compiling LNPopupCloseButton.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>
        ^~~~~~~~~~~~~~~
1 error generated.
[0/30] Compiling LNPopupBarAppearance.m
In file included from /host/spi-builder-workspace/LNPopupController/LNPopupController/Private/LNPopupBarAppearanceChainProxy.m:9:
/host/spi-builder-workspace/LNPopupController/LNPopupController/Private/LNPopupBarAppearanceChainProxy.h:9:9: fatal error: module 'UIKit' not found
@import UIKit;
 ~~~~~~~^~~~~
1 error generated.
[0/30] Compiling LNPopupBarAppearanceChainProxy.m
[0/30] Compiling LNPopupContentView.m
[0/30] Compiling LNPopupBar.m
[0/1] Planning build
Building for debugging...
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.
In file included from /host/spi-builder-workspace/LNPopupController/LNPopupController/Private/_LNPopupBackgroundShadowView.m:9:
/host/spi-builder-workspace/LNPopupController/LNPopupController/Private/_LNPopupBackgroundShadowView.h:9:9: fatal error: 'UIKit/UIKit.h' file not found
#import <UIKit/UIKit.h>
        ^~~~~~~~~~~~~~~
1 error generated.
[0/30] Compiling _LNPopupBackgroundShadowView.m
[0/30] Compiling _LNPopupUIBarAppearanceProxy.m
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.
[0/30] Compiling _LNPopupBarShadowedImageView.m
In file included from /host/spi-builder-workspace/LNPopupController/LNPopupController/Private/_LNPopupBarBackgroundMaskView.m:9:
/host/spi-builder-workspace/LNPopupController/LNPopupController/Private/_LNPopupBarBackgroundMaskView.h:9:9: fatal error: module 'UIKit' not found
@import UIKit;
 ~~~~~~~^~~~~
1 error generated.
[0/30] Compiling _LNPopupBarBackgroundMaskView.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.
[0/30] Compiling _LNWeakRef.m
In file included from /host/spi-builder-workspace/LNPopupController/LNPopupController/Private/_LNPopupSwizzlingUtils.m:9:
/host/spi-builder-workspace/LNPopupController/LNPopupController/Private/_LNPopupSwizzlingUtils.h:9:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/30] Compiling _LNPopupSwizzlingUtils.m
In file included from /host/spi-builder-workspace/LNPopupController/LNPopupController/Private/_LNPopupBarBackgroundView.m:9:
/host/spi-builder-workspace/LNPopupController/LNPopupController/Private/_LNPopupBarBackgroundView.h:9:9: fatal error: 'UIKit/UIKit.h' file not found
#import <UIKit/UIKit.h>
        ^~~~~~~~~~~~~~~
1 error generated.
[0/30] Compiling _LNPopupBarBackgroundView.m
BUILD FAILURE 5.9 linux

Build Machine: Linux 2