The Swift Package Index logo.Swift Package Index

Build Information

Failed to build DPTabBar with Swift 5.9 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4609320-0":/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/DipakPanchasara/DPTabBar.git
Reference: 1.0.0
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/DipakPanchasara/DPTabBar
 * tag               1.0.0      -> FETCH_HEAD
HEAD is now at 955d3c9 Example Fixed
Cloned https://github.com/DipakPanchasara/DPTabBar.git
Revision (git rev-parse @):
955d3c99318451138a2bec6026f75fe61268f826
SUCCESS checkout https://github.com/DipakPanchasara/DPTabBar.git at 1.0.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.9
Building package at path:  $workDir
https://github.com/DipakPanchasara/DPTabBar.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-0":/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...
[1/12] Compiling DPTabBar UIImageViewFactory.swift
/host/spi-builder-workspace/DPTabBar/Classes/TabBar/DPLayout/DPLayout.swift:8:8: error: no such module 'UIKit'
import UIKit
       ^
[2/13] Compiling DPTabBar UIStackViewFactory.swift
/host/spi-builder-workspace/DPTabBar/Classes/TabBar/DPLayout/DPLayout.swift:8:8: error: no such module 'UIKit'
import UIKit
       ^
[3/13] Compiling DPTabBar UILabelFactory.swift
/host/spi-builder-workspace/DPTabBar/Classes/TabBar/DPLayout/DPLayout.swift:8:8: error: no such module 'UIKit'
import UIKit
       ^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/13] Emitting module DPTabBar
/host/spi-builder-workspace/DPTabBar/Classes/TabBar/DPLayout/DPLayout.swift:8:8: error: no such module 'UIKit'
import UIKit
       ^
[5/13] Compiling DPTabBar DPLayout.swift
/host/spi-builder-workspace/DPTabBar/Classes/TabBar/DPLayout/DPLayout.swift:8:8: error: no such module 'UIKit'
import UIKit
       ^
[6/13] Compiling DPTabBar DPLayoutAttributes.swift
/host/spi-builder-workspace/DPTabBar/Classes/TabBar/DPLayout/DPLayout.swift:8:8: error: no such module 'UIKit'
import UIKit
       ^
[7/13] Compiling DPTabBar Shape.swift
/host/spi-builder-workspace/DPTabBar/Classes/TabBar/DPLayout/DPLayout.swift:8:8: error: no such module 'UIKit'
import UIKit
       ^
[8/13] Compiling DPTabBar UIImage+color.swift
/host/spi-builder-workspace/DPTabBar/Classes/TabBar/DPLayout/DPLayout.swift:8:8: error: no such module 'UIKit'
import UIKit
       ^
[9/13] Compiling DPTabBar UIViewController+Extesion.swift
/host/spi-builder-workspace/DPTabBar/Classes/TabBar/DPLayout/DPLayout.swift:8:8: error: no such module 'UIKit'
import UIKit
       ^
[10/13] Compiling DPTabBar DPTabBar.swift
/host/spi-builder-workspace/DPTabBar/Classes/TabBar/DPLayout/DPLayout.swift:8:8: error: no such module 'UIKit'
import UIKit
       ^
[11/13] Compiling DPTabBar DPTabBarController.swift
/host/spi-builder-workspace/DPTabBar/Classes/TabBar/DPLayout/DPLayout.swift:8:8: error: no such module 'UIKit'
import UIKit
       ^
[12/13] Compiling DPTabBar DPTabBarItem.swift
/host/spi-builder-workspace/DPTabBar/Classes/TabBar/DPLayout/DPLayout.swift:8:8: error: no such module 'UIKit'
import UIKit
       ^
[13/13] Compiling DPTabBar CALayer+Extension.swift
/host/spi-builder-workspace/DPTabBar/Classes/TabBar/DPLayout/DPLayout.swift:8:8: error: no such module 'UIKit'
import UIKit
       ^
error: fatalError
[0/1] Planning build
Building for debugging...
[1/12] Compiling DPTabBar UIImage+color.swift
/host/spi-builder-workspace/DPTabBar/Classes/TabBar/DPLayout/DPLayout.swift:8:8: error: no such module 'UIKit'
import UIKit
       ^
[2/12] Compiling DPTabBar UIViewController+Extesion.swift
/host/spi-builder-workspace/DPTabBar/Classes/TabBar/DPLayout/DPLayout.swift:8:8: error: no such module 'UIKit'
import UIKit
       ^
[3/13] Compiling DPTabBar UILabelFactory.swift
/host/spi-builder-workspace/DPTabBar/Classes/TabBar/DPLayout/DPLayout.swift:8:8: error: no such module 'UIKit'
import UIKit
       ^
[4/13] Compiling DPTabBar UIImageViewFactory.swift
/host/spi-builder-workspace/DPTabBar/Classes/TabBar/DPLayout/DPLayout.swift:8:8: error: no such module 'UIKit'
import UIKit
       ^
[5/13] Compiling DPTabBar UIStackViewFactory.swift
/host/spi-builder-workspace/DPTabBar/Classes/TabBar/DPLayout/DPLayout.swift:8:8: error: no such module 'UIKit'
import UIKit
       ^
[6/13] Compiling DPTabBar Shape.swift
/host/spi-builder-workspace/DPTabBar/Classes/TabBar/DPLayout/DPLayout.swift:8:8: error: no such module 'UIKit'
import UIKit
       ^
[7/13] Compiling DPTabBar DPTabBarItem.swift
/host/spi-builder-workspace/DPTabBar/Classes/TabBar/DPLayout/DPLayout.swift:8:8: error: no such module 'UIKit'
import UIKit
       ^
[8/13] Compiling DPTabBar CALayer+Extension.swift
/host/spi-builder-workspace/DPTabBar/Classes/TabBar/DPLayout/DPLayout.swift:8:8: error: no such module 'UIKit'
import UIKit
       ^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[9/13] Emitting module DPTabBar
/host/spi-builder-workspace/DPTabBar/Classes/TabBar/DPLayout/DPLayout.swift:8:8: error: no such module 'UIKit'
import UIKit
       ^
[10/13] Compiling DPTabBar DPLayout.swift
/host/spi-builder-workspace/DPTabBar/Classes/TabBar/DPLayout/DPLayout.swift:8:8: error: no such module 'UIKit'
import UIKit
       ^
[11/13] Compiling DPTabBar DPLayoutAttributes.swift
/host/spi-builder-workspace/DPTabBar/Classes/TabBar/DPLayout/DPLayout.swift:8:8: error: no such module 'UIKit'
import UIKit
       ^
[12/13] Compiling DPTabBar DPTabBar.swift
/host/spi-builder-workspace/DPTabBar/Classes/TabBar/DPLayout/DPLayout.swift:8:8: error: no such module 'UIKit'
import UIKit
       ^
[13/13] Compiling DPTabBar DPTabBarController.swift
/host/spi-builder-workspace/DPTabBar/Classes/TabBar/DPLayout/DPLayout.swift:8:8: error: no such module 'UIKit'
import UIKit
       ^
error: fatalError
BUILD FAILURE 5.9 linux

Build Machine: Linux 2