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-4609320-1":/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: 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/thii/FontAwesome.swift
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 26d6f41 Merge pull request #275 from BankofLoyal/master
Submodule path 'FortAwesome/Font-Awesome': checked out 'd79d85c3fad85ad1885e87ed558f4afd6fce8289'
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 @):
26d6f41a3d4cc39a582f516b3a7184fc3b7eb051
SUCCESS checkout https://github.com/thii/FontAwesome.swift.git at master
========================================
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-4609320-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
warning: 'spi-builder-workspace': 'tools' was identified as an executable target given the presence of a 'main.swift' file. Starting with tools version 5.4.0 executable targets should be declared as 'executableTarget()'
Building for debugging...
[0/9] Write sources
[2/9] Copying Font Awesome 5 Free-Regular-400.otf
[3/9] Copying Font Awesome 5 Brands-Regular-400.otf
[4/9] Copying Font Awesome 5 Free-Solid-900.otf
[5/9] Write swift-version-24593BA9C3E375BF.txt
[7/23] Compiling FontAwesome FontAwesomeView.swift
/host/spi-builder-workspace/Sources/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)
[8/24] Compiling FontAwesome Enum.swift
/host/spi-builder-workspace/Sources/FontAwesome/FontAwesome.swift:23:8: error: no such module 'UIKit'
import UIKit
       ^
[9/24] Compiling FontAwesome FontAwesome.swift
/host/spi-builder-workspace/Sources/FontAwesome/FontAwesome.swift:23:8: error: no such module 'UIKit'
import UIKit
       ^
[10/24] Emitting module FontAwesome
/host/spi-builder-workspace/Sources/FontAwesome/FontAwesome.swift:23:8: error: no such module 'UIKit'
import UIKit
       ^
[11/24] Compiling FontAwesome FontAwesomeTextRepresentable.swift
/host/spi-builder-workspace/Sources/FontAwesome/FontAwesome.swift:23:8: error: no such module 'UIKit'
import UIKit
       ^
[12/24] Compiling FontAwesome FontAwesomeTabBarItem.swift
/host/spi-builder-workspace/Sources/FontAwesome/FontAwesome.swift:23:8: error: no such module 'UIKit'
import UIKit
       ^
[13/24] Compiling FontAwesome FontAwesomeSegmentedControl.swift
/host/spi-builder-workspace/Sources/FontAwesome/FontAwesome.swift:23:8: error: no such module 'UIKit'
import UIKit
       ^
[14/24] Compiling FontAwesome FontAwesomeStateRequirement.swift
/host/spi-builder-workspace/Sources/FontAwesome/FontAwesome.swift:23:8: error: no such module 'UIKit'
import UIKit
       ^
[15/24] Compiling FontAwesome resource_bundle_accessor.swift
/host/spi-builder-workspace/Sources/FontAwesome/FontAwesome.swift:23:8: error: no such module 'UIKit'
import UIKit
       ^
[16/24] Compiling FontAwesome FontAwesomeImageRepresentable.swift
/host/spi-builder-workspace/Sources/FontAwesome/FontAwesome.swift:23:8: error: no such module 'UIKit'
import UIKit
       ^
[17/24] Compiling FontAwesome FontAwesomeImageView.swift
/host/spi-builder-workspace/Sources/FontAwesome/FontAwesome.swift:23:8: error: no such module 'UIKit'
import UIKit
       ^
[18/24] Compiling FontAwesome FontAwesomeBarButtonItem.swift
/host/spi-builder-workspace/Sources/FontAwesome/FontAwesome.swift:23:8: error: no such module 'UIKit'
import UIKit
       ^
[19/24] Compiling FontAwesome FontAwesomeExtension.swift
/host/spi-builder-workspace/Sources/FontAwesome/FontAwesome.swift:23:8: error: no such module 'UIKit'
import UIKit
       ^
error: fatalError
[20/24] Emitting module tools
warning: 'spi-builder-workspace': 'tools' was identified as an executable target given the presence of a 'main.swift' file. Starting with tools version 5.4.0 executable targets should be declared as 'executableTarget()'
[0/1] Planning build
Building for debugging...
[0/4] Write swift-version-24593BA9C3E375BF.txt
[2/18] Compiling FontAwesome FontAwesomeTextRepresentable.swift
/host/spi-builder-workspace/Sources/FontAwesome/FontAwesome.swift:23:8: error: no such module 'UIKit'
import UIKit
       ^
[3/18] Compiling FontAwesome FontAwesomeView.swift
/host/spi-builder-workspace/Sources/FontAwesome/FontAwesome.swift:23:8: error: no such module 'UIKit'
import UIKit
       ^
[4/18] Compiling FontAwesome FontAwesomeSegmentedControl.swift
/host/spi-builder-workspace/Sources/FontAwesome/FontAwesome.swift:23:8: error: no such module 'UIKit'
import UIKit
       ^
[5/18] Compiling FontAwesome FontAwesomeStateRequirement.swift
/host/spi-builder-workspace/Sources/FontAwesome/FontAwesome.swift:23:8: error: no such module 'UIKit'
import UIKit
       ^
[6/18] Compiling FontAwesome FontAwesomeTabBarItem.swift
/host/spi-builder-workspace/Sources/FontAwesome/FontAwesome.swift:23:8: error: no such module 'UIKit'
import UIKit
       ^
[7/18] Compiling FontAwesome FontAwesomeImageRepresentable.swift
/host/spi-builder-workspace/Sources/FontAwesome/FontAwesome.swift:23:8: error: no such module 'UIKit'
import UIKit
       ^
[8/18] Compiling FontAwesome FontAwesomeImageView.swift
/host/spi-builder-workspace/Sources/FontAwesome/FontAwesome.swift:23:8: error: no such module 'UIKit'
import UIKit
       ^
[9/19] Compiling FontAwesome resource_bundle_accessor.swift
/host/spi-builder-workspace/Sources/FontAwesome/FontAwesome.swift:23:8: error: no such module 'UIKit'
import UIKit
       ^
[10/19] Emitting module tools
[11/19] Compiling tools main.swift
[12/20] Wrapping AST for tools for debugging
[13/20] Write Objects.LinkFileList
[14/20] Linking tools
error: emit-module command failed with exit code 1 (use -v to see invocation)
[16/20] Emitting module FontAwesome
/host/spi-builder-workspace/Sources/FontAwesome/FontAwesome.swift:23:8: error: no such module 'UIKit'
import UIKit
       ^
[17/20] Compiling FontAwesome Enum.swift
/host/spi-builder-workspace/Sources/FontAwesome/FontAwesome.swift:23:8: error: no such module 'UIKit'
import UIKit
       ^
[18/20] Compiling FontAwesome FontAwesome.swift
/host/spi-builder-workspace/Sources/FontAwesome/FontAwesome.swift:23:8: error: no such module 'UIKit'
import UIKit
       ^
[19/20] Compiling FontAwesome FontAwesomeBarButtonItem.swift
/host/spi-builder-workspace/Sources/FontAwesome/FontAwesome.swift:23:8: error: no such module 'UIKit'
import UIKit
       ^
[20/20] Compiling FontAwesome FontAwesomeExtension.swift
/host/spi-builder-workspace/Sources/FontAwesome/FontAwesome.swift:23:8: error: no such module 'UIKit'
import UIKit
       ^
error: fatalError
BUILD FAILURE 5.10 linux

Build Machine: Linux 2