The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SHSearchBar with Swift 5.10 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4609320-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/blackjacx/SHSearchBar.git
Reference: develop
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/blackjacx/SHSearchBar
 * branch            develop    -> FETCH_HEAD
 * [new branch]      develop    -> origin/develop
HEAD is now at 7c9b33f Merge branch 'release/2.1.0' into develop
Cloned https://github.com/blackjacx/SHSearchBar.git
Revision (git rev-parse @):
7c9b33f385bd434de6f2cc376c52b5a71b48bb50
SPI manifest file found: $workDir/.spi.yml
SUCCESS checkout https://github.com/blackjacx/SHSearchBar.git at develop
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/blackjacx/SHSearchBar.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Fetching https://github.com/mattgallagher/CwlCatchException.git
Fetching https://github.com/Quick/Nimble
Fetching https://github.com/Quick/Quick
Fetching https://github.com/mattgallagher/CwlPreconditionTesting.git
[1/1236] Fetching cwlpreconditiontesting
[508/1668] Fetching cwlpreconditiontesting, cwlcatchexception
[1669/15877] Fetching cwlpreconditiontesting, cwlcatchexception, quick
Fetched https://github.com/mattgallagher/CwlCatchException.git from cache (0.28s)
[3936/15445] Fetching cwlpreconditiontesting, quick
Fetched https://github.com/mattgallagher/CwlPreconditionTesting.git from cache (0.28s)
[3126/14209] Fetching quick
[14210/31500] Fetching quick, nimble
Fetched https://github.com/Quick/Quick from cache (1.54s)
Fetched https://github.com/Quick/Nimble from cache (1.56s)
Computing version for https://github.com/Quick/Nimble
Computed https://github.com/Quick/Nimble at 12.2.0 (1.38s)
Computing version for https://github.com/Quick/Quick
Computed https://github.com/Quick/Quick at 7.2.0 (0.49s)
Computing version for https://github.com/mattgallagher/CwlPreconditionTesting.git
Computed https://github.com/mattgallagher/CwlPreconditionTesting.git at 2.1.0 (0.46s)
Computing version for https://github.com/mattgallagher/CwlCatchException.git
Computed https://github.com/mattgallagher/CwlCatchException.git at 2.1.1 (0.48s)
Creating working copy for https://github.com/mattgallagher/CwlPreconditionTesting.git
Working copy of https://github.com/mattgallagher/CwlPreconditionTesting.git resolved at 2.1.0
Creating working copy for https://github.com/Quick/Quick
Working copy of https://github.com/Quick/Quick resolved at 7.2.0
Creating working copy for https://github.com/mattgallagher/CwlCatchException.git
Working copy of https://github.com/mattgallagher/CwlCatchException.git resolved at 2.1.1
Creating working copy for https://github.com/Quick/Nimble
Working copy of https://github.com/Quick/Nimble resolved at 12.2.0
Building for debugging...
[0/11] Copying Localizable.strings
[8/11] Write sources
[9/11] Copying Info.plist
[10/11] Write swift-version-24593BA9C3E375BF.txt
[12/19] Compiling SHSearchBar SHSearchBarConfig.swift
/host/spi-builder-workspace/Sources/SHSearchBar/SHSearchBar.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[13/19] Compiling SHSearchBar SHSearchBarTextField.swift
/host/spi-builder-workspace/Sources/SHSearchBar/SHSearchBar.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[14/19] Compiling SHSearchBar SHSearchBar.swift
/host/spi-builder-workspace/Sources/SHSearchBar/SHSearchBar.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[15/19] Compiling SHSearchBar UIImage+Style.swift
/host/spi-builder-workspace/Sources/SHSearchBar/SHSearchBar.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[16/19] Compiling SHSearchBar resource_bundle_accessor.swift
/host/spi-builder-workspace/Sources/SHSearchBar/SHSearchBar.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[17/19] Compiling SHSearchBar SHSearchBarDelegate.swift
/host/spi-builder-workspace/Sources/SHSearchBar/SHSearchBar.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[18/19] Emitting module SHSearchBar
/host/spi-builder-workspace/Sources/SHSearchBar/SHSearchBar.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[19/19] Compiling SHSearchBar Foundation + Extensions.swift
/host/spi-builder-workspace/Sources/SHSearchBar/SHSearchBar.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/9] Compiling SHSearchBar UIImage+Style.swift
/host/spi-builder-workspace/Sources/SHSearchBar/SHSearchBar.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[3/9] Compiling SHSearchBar resource_bundle_accessor.swift
/host/spi-builder-workspace/Sources/SHSearchBar/SHSearchBar.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[4/9] Compiling SHSearchBar Foundation + Extensions.swift
/host/spi-builder-workspace/Sources/SHSearchBar/SHSearchBar.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[5/9] Compiling SHSearchBar SHSearchBarTextField.swift
/host/spi-builder-workspace/Sources/SHSearchBar/SHSearchBar.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/9] Emitting module SHSearchBar
/host/spi-builder-workspace/Sources/SHSearchBar/SHSearchBar.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[7/9] Compiling SHSearchBar SHSearchBarConfig.swift
/host/spi-builder-workspace/Sources/SHSearchBar/SHSearchBar.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[8/9] Compiling SHSearchBar SHSearchBarDelegate.swift
/host/spi-builder-workspace/Sources/SHSearchBar/SHSearchBar.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[9/9] Compiling SHSearchBar SHSearchBar.swift
/host/spi-builder-workspace/Sources/SHSearchBar/SHSearchBar.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
error: fatalError
BUILD FAILURE 5.10 linux

Build Machine: Linux 2