The Swift Package Index logo.Swift Package Index

Build Information

Failed to build FronteggSwift with Swift 5.10 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4609320-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.32.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/frontegg/frontegg-ios-swift.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/frontegg/frontegg-ios-swift
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 6111a24 Merge pull request #41 from frontegg/release/next
Cloned https://github.com/frontegg/frontegg-ios-swift.git
Revision (git rev-parse @):
6111a24341f67b045a8124002b5f07f7a5ba3de2
SUCCESS checkout https://github.com/frontegg/frontegg-ios-swift.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/frontegg/frontegg-ios-swift.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-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...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/28] Emitting module FronteggSwift
/host/spi-builder-workspace/Sources/FronteggSwift/FronteggApp.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[4/31] Compiling FronteggSwift DefaultLoader.swift
/host/spi-builder-workspace/Sources/FronteggSwift/FronteggApp.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[5/31] Compiling FronteggSwift FronteggUIKitWrapper.swift
/host/spi-builder-workspace/Sources/FronteggSwift/FronteggApp.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[6/31] Compiling FronteggSwift FronteggWrapper.swift
/host/spi-builder-workspace/Sources/FronteggSwift/FronteggApp.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[7/31] Compiling FronteggSwift FronteggApp.swift
/host/spi-builder-workspace/Sources/FronteggSwift/FronteggApp.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[8/31] Compiling FronteggSwift FronteggAuth.swift
/host/spi-builder-workspace/Sources/FronteggSwift/FronteggApp.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[9/31] Compiling FronteggSwift CustomWebView.swift
/host/spi-builder-workspace/Sources/FronteggSwift/FronteggApp.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[10/31] Compiling FronteggSwift EmbeddedLoginModal.swift
/host/spi-builder-workspace/Sources/FronteggSwift/FronteggApp.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[11/31] Compiling FronteggSwift CredentialAssertion.swift
/host/spi-builder-workspace/Sources/FronteggSwift/FronteggApp.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[12/31] Compiling FronteggSwift Tenant.swift
/host/spi-builder-workspace/Sources/FronteggSwift/FronteggApp.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[13/31] Compiling FronteggSwift User.swift
/host/spi-builder-workspace/Sources/FronteggSwift/FronteggApp.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[14/31] Compiling FronteggSwift UserRole.swift
/host/spi-builder-workspace/Sources/FronteggSwift/FronteggApp.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[15/31] Compiling FronteggSwift AuthorizeUrlGenerator.swift
/host/spi-builder-workspace/Sources/FronteggSwift/FronteggApp.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[16/31] Compiling FronteggSwift Constants.swift
/host/spi-builder-workspace/Sources/FronteggSwift/FronteggApp.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[17/31] Compiling FronteggSwift JWTHelper.swift
/host/spi-builder-workspace/Sources/FronteggSwift/FronteggApp.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[18/31] Compiling FronteggSwift UserRolePermission.swift
/host/spi-builder-workspace/Sources/FronteggSwift/FronteggApp.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[19/31] Compiling FronteggSwift Api.swift
/host/spi-builder-workspace/Sources/FronteggSwift/FronteggApp.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[20/31] Compiling FronteggSwift Authentication.swift
/host/spi-builder-workspace/Sources/FronteggSwift/FronteggApp.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[21/31] Compiling FronteggSwift CredentialManager.swift
/host/spi-builder-workspace/Sources/FronteggSwift/FronteggApp.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[22/31] Compiling FronteggSwift UrlHelper.swift
/host/spi-builder-workspace/Sources/FronteggSwift/FronteggApp.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[23/31] Compiling FronteggSwift generateErrorPage.swift
/host/spi-builder-workspace/Sources/FronteggSwift/FronteggApp.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[24/31] Compiling FronteggSwift AbstractFronteggController.swift
/host/spi-builder-workspace/Sources/FronteggSwift/FronteggApp.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[25/31] Compiling FronteggSwift Logger.swift
/host/spi-builder-workspace/Sources/FronteggSwift/FronteggApp.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[26/31] Compiling FronteggSwift NoRedirectSessionDelegate.swift
/host/spi-builder-workspace/Sources/FronteggSwift/FronteggApp.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[27/31] Compiling FronteggSwift PlistHelper.swift
/host/spi-builder-workspace/Sources/FronteggSwift/FronteggApp.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[28/31] Compiling FronteggSwift EmbeddedLoginPage.swift
/host/spi-builder-workspace/Sources/FronteggSwift/FronteggApp.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[29/31] Compiling FronteggSwift FronteggWKContentController.swift
/host/spi-builder-workspace/Sources/FronteggSwift/FronteggApp.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[30/31] Compiling FronteggSwift FronteggWebView.swift
/host/spi-builder-workspace/Sources/FronteggSwift/FronteggApp.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[31/31] Compiling FronteggSwift AuthResponse.swift
/host/spi-builder-workspace/Sources/FronteggSwift/FronteggApp.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
error: fatalError
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/27] Compiling FronteggSwift Logger.swift
/host/spi-builder-workspace/Sources/FronteggSwift/FronteggApp.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[3/27] Compiling FronteggSwift NoRedirectSessionDelegate.swift
/host/spi-builder-workspace/Sources/FronteggSwift/FronteggApp.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[4/27] Compiling FronteggSwift PlistHelper.swift
/host/spi-builder-workspace/Sources/FronteggSwift/FronteggApp.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[5/27] Compiling FronteggSwift EmbeddedLoginPage.swift
/host/spi-builder-workspace/Sources/FronteggSwift/FronteggApp.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[6/27] Compiling FronteggSwift FronteggWKContentController.swift
/host/spi-builder-workspace/Sources/FronteggSwift/FronteggApp.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[7/27] Compiling FronteggSwift FronteggWebView.swift
/host/spi-builder-workspace/Sources/FronteggSwift/FronteggApp.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[8/27] Compiling FronteggSwift AuthResponse.swift
/host/spi-builder-workspace/Sources/FronteggSwift/FronteggApp.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[9/30] Compiling FronteggSwift UrlHelper.swift
/host/spi-builder-workspace/Sources/FronteggSwift/FronteggApp.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[10/30] Compiling FronteggSwift generateErrorPage.swift
/host/spi-builder-workspace/Sources/FronteggSwift/FronteggApp.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[11/30] Compiling FronteggSwift AbstractFronteggController.swift
/host/spi-builder-workspace/Sources/FronteggSwift/FronteggApp.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[12/30] Compiling FronteggSwift AuthorizeUrlGenerator.swift
/host/spi-builder-workspace/Sources/FronteggSwift/FronteggApp.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[13/30] Compiling FronteggSwift Constants.swift
/host/spi-builder-workspace/Sources/FronteggSwift/FronteggApp.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[14/30] Compiling FronteggSwift JWTHelper.swift
/host/spi-builder-workspace/Sources/FronteggSwift/FronteggApp.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[15/30] Compiling FronteggSwift CredentialAssertion.swift
/host/spi-builder-workspace/Sources/FronteggSwift/FronteggApp.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[16/30] Compiling FronteggSwift Tenant.swift
/host/spi-builder-workspace/Sources/FronteggSwift/FronteggApp.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[17/30] Compiling FronteggSwift User.swift
/host/spi-builder-workspace/Sources/FronteggSwift/FronteggApp.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[18/30] Compiling FronteggSwift UserRole.swift
/host/spi-builder-workspace/Sources/FronteggSwift/FronteggApp.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[19/30] Compiling FronteggSwift UserRolePermission.swift
/host/spi-builder-workspace/Sources/FronteggSwift/FronteggApp.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[20/30] Compiling FronteggSwift Api.swift
/host/spi-builder-workspace/Sources/FronteggSwift/FronteggApp.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[21/30] Compiling FronteggSwift Authentication.swift
/host/spi-builder-workspace/Sources/FronteggSwift/FronteggApp.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[22/30] Compiling FronteggSwift CredentialManager.swift
/host/spi-builder-workspace/Sources/FronteggSwift/FronteggApp.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[23/30] Compiling FronteggSwift DefaultLoader.swift
/host/spi-builder-workspace/Sources/FronteggSwift/FronteggApp.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[24/30] Compiling FronteggSwift FronteggUIKitWrapper.swift
/host/spi-builder-workspace/Sources/FronteggSwift/FronteggApp.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[25/30] Compiling FronteggSwift FronteggWrapper.swift
/host/spi-builder-workspace/Sources/FronteggSwift/FronteggApp.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[26/30] Emitting module FronteggSwift
/host/spi-builder-workspace/Sources/FronteggSwift/FronteggApp.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[27/30] Compiling FronteggSwift FronteggApp.swift
/host/spi-builder-workspace/Sources/FronteggSwift/FronteggApp.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[28/30] Compiling FronteggSwift FronteggAuth.swift
/host/spi-builder-workspace/Sources/FronteggSwift/FronteggApp.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[29/30] Compiling FronteggSwift CustomWebView.swift
/host/spi-builder-workspace/Sources/FronteggSwift/FronteggApp.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[30/30] Compiling FronteggSwift EmbeddedLoginModal.swift
/host/spi-builder-workspace/Sources/FronteggSwift/FronteggApp.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
error: fatalError
BUILD FAILURE 5.10 linux

Build Machine: Linux 2