The Swift Package Index logo.Swift Package Index

Build Information

Failed to build LNPopupController with Swift 5.8 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4606859-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.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.8
Building package at path:  $workDir
https://github.com/LeoNatan/LNPopupController.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.8-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/LNPopupController.m:9:
/host/spi-builder-workspace/LNPopupController/LNPopupController/Private/LNPopupController.h:9:9: fatal error: 'UIKit/UIKit.h' file not found
#import <UIKit/UIKit.h>
        ^~~~~~~~~~~~~~~
1 error generated.
[0/30] Compiling LNPopupController.m
[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 _LNPopupUIBarAppearanceProxy.m
[0/30] Compiling _LNWeakRef.m
[0/30] Compiling LNPopupCloseButton.m
In file included from /host/spi-builder-workspace/LNPopupController/LNPopupController/Private/LNPopupContentView.m:9:
/host/spi-builder-workspace/LNPopupController/LNPopupController/Private/LNPopupController.h:9:9: fatal error: 'UIKit/UIKit.h' file not found
#import <UIKit/UIKit.h>
        ^~~~~~~~~~~~~~~
1 error generated.
[0/30] Compiling LNPopupContentView.m
[0/1] Planning build
Building for debugging...
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
[0/30] Compiling _LNPopupBarShadowedImageView.m
In file included from /host/spi-builder-workspace/LNPopupController/LNPopupController/Private/_LNPopupBarBackgroundMaskView.m:[0/30] Compiling _LNPopupBarBackgroundMaskView.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.
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 _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>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/30] Compiling _LNPopupUIBarAppearanceProxy.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>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/30] Compiling _LNPopupSwizzlingUtils.m
BUILD FAILURE 5.8 linux

Build Machine: Linux 1