The Swift Package Index logo.Swift Package Index

Build Information

Failed to build FontAwesome with Swift 5.10 for Linux.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.29.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/thii/FontAwesome.swift.git
Reference: 1.9.1
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/thii/FontAwesome.swift
 * tag               1.9.1      -> FETCH_HEAD
HEAD is now at 07883a3 Bump version to 1.9.1
Submodule path 'FortAwesome/Font-Awesome': checked out '57005cea6da7d1c67f3466974aecd25485f60452'
Submodule 'FortAwesome/Font-Awesome' (https://github.com/FortAwesome/Font-Awesome.git) registered for path 'FortAwesome/Font-Awesome'
Cloning into '/host/spi-builder-workspace/FortAwesome/Font-Awesome'...
Cloned https://github.com/thii/FontAwesome.swift.git
Revision (git rev-parse @):
07883a32d49dfc7bdedbeea115067b53dfbeeb43
SUCCESS checkout https://github.com/thii/FontAwesome.swift.git at 1.9.1
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/thii/FontAwesome.swift.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Building for debugging...
[0/6] Write sources
[2/6] Write swift-version-24593BA9C3E375BF.txt
[4/19] Compiling FontAwesome FontAwesomeTextRepresentable.swift
/host/spi-builder-workspace/FontAwesome/FontAwesome.swift:23:8: error: no such module 'UIKit'
import UIKit
       ^
[5/20] Compiling FontAwesome FontAwesomeView.swift
/host/spi-builder-workspace/FontAwesome/FontAwesome.swift:23:8: error: no such module 'UIKit'
import UIKit
       ^
[6/20] Compiling FontAwesome FontAwesomeTabBarItem.swift
/host/spi-builder-workspace/FontAwesome/FontAwesome.swift:23:8: error: no such module 'UIKit'
import UIKit
       ^
[7/20] Compiling FontAwesome FontAwesomeSegmentedControl.swift
/host/spi-builder-workspace/FontAwesome/FontAwesome.swift:23:8: error: no such module 'UIKit'
import UIKit
       ^
[8/20] Compiling FontAwesome FontAwesomeImageRepresentable.swift
/host/spi-builder-workspace/FontAwesome/FontAwesome.swift:23:8: error: no such module 'UIKit'
import UIKit
       ^
[9/20] Compiling FontAwesome FontAwesomeImageView.swift
/host/spi-builder-workspace/FontAwesome/FontAwesome.swift:23:8: error: no such module 'UIKit'
import UIKit
       ^
[10/20] Compiling FontAwesome FontAwesomeStateRequirement.swift
/host/spi-builder-workspace/FontAwesome/FontAwesome.swift:23:8: error: no such module 'UIKit'
import UIKit
       ^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[11/20] Emitting module FontAwesome
/host/spi-builder-workspace/FontAwesome/FontAwesome.swift:23:8: error: no such module 'UIKit'
import UIKit
       ^
[12/20] Compiling FontAwesome Enum.swift
/host/spi-builder-workspace/FontAwesome/FontAwesome.swift:23:8: error: no such module 'UIKit'
import UIKit
       ^
[13/20] Compiling FontAwesome FontAwesome.swift
/host/spi-builder-workspace/FontAwesome/FontAwesome.swift:23:8: error: no such module 'UIKit'
import UIKit
       ^
[14/20] Compiling FontAwesome FontAwesomeBarButtonItem.swift
/host/spi-builder-workspace/FontAwesome/FontAwesome.swift:23:8: error: no such module 'UIKit'
import UIKit
       ^
[15/20] Compiling FontAwesome FontAwesomeExtension.swift
/host/spi-builder-workspace/FontAwesome/FontAwesome.swift:23:8: error: no such module 'UIKit'
import UIKit
       ^
error: fatalError
[16/20] Emitting module tools
[0/1] Planning build
Building for debugging...
[0/4] Write swift-version-24593BA9C3E375BF.txt
[2/17] Compiling FontAwesome FontAwesomeImageRepresentable.swift
/host/spi-builder-workspace/FontAwesome/FontAwesome.swift:23:8: error: no such module 'UIKit'
import UIKit
       ^
[3/17] Compiling FontAwesome FontAwesomeImageView.swift
/host/spi-builder-workspace/FontAwesome/FontAwesome.swift:23:8: error: no such module 'UIKit'
import UIKit
       ^
[4/18] Compiling FontAwesome FontAwesomeSegmentedControl.swift
/host/spi-builder-workspace/FontAwesome/FontAwesome.swift:23:8: error: no such module 'UIKit'
import UIKit
       ^
[5/18] Compiling FontAwesome FontAwesomeTextRepresentable.swift
/host/spi-builder-workspace/FontAwesome/FontAwesome.swift:23:8: error: no such module 'UIKit'
import UIKit
       ^
[6/18] Compiling FontAwesome FontAwesomeStateRequirement.swift
/host/spi-builder-workspace/FontAwesome/FontAwesome.swift:23:8: error: no such module 'UIKit'
import UIKit
       ^
[7/18] Compiling FontAwesome FontAwesomeBarButtonItem.swift
/host/spi-builder-workspace/FontAwesome/FontAwesome.swift:23:8: error: no such module 'UIKit'
import UIKit
       ^
[8/18] Compiling FontAwesome FontAwesomeExtension.swift
/host/spi-builder-workspace/FontAwesome/FontAwesome.swift:23:8: error: no such module 'UIKit'
import UIKit
       ^
[9/18] Compiling FontAwesome FontAwesomeTabBarItem.swift
/host/spi-builder-workspace/FontAwesome/FontAwesome.swift:23:8: error: no such module 'UIKit'
import UIKit
       ^
[10/18] Compiling FontAwesome FontAwesomeView.swift
/host/spi-builder-workspace/FontAwesome/FontAwesome.swift:23:8: error: no such module 'UIKit'
import UIKit
       ^
[11/18] Emitting module tools
[12/18] Compiling tools main.swift
[13/19] Wrapping AST for tools for debugging
[14/19] Write Objects.LinkFileList
[15/19] Linking tools
error: emit-module command failed with exit code 1 (use -v to see invocation)
[17/19] Emitting module FontAwesome
/host/spi-builder-workspace/FontAwesome/FontAwesome.swift:23:8: error: no such module 'UIKit'
import UIKit
       ^
[18/19] Compiling FontAwesome Enum.swift
/host/spi-builder-workspace/FontAwesome/FontAwesome.swift:23:8: error: no such module 'UIKit'
import UIKit
       ^
[19/19] Compiling FontAwesome FontAwesome.swift
/host/spi-builder-workspace/FontAwesome/FontAwesome.swift:23:8: error: no such module 'UIKit'
import UIKit
       ^
error: fatalError
BUILD FAILURE 5.10 linux

Build Machine: Linux 1