The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SHSearchBar with Swift 5.9 for Linux.

Build Command

docker run --rm -v "checkouts-4609320-0":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.21.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/blackjacx/SHSearchBar.git
Reference: develop
Cloned https://github.com/blackjacx/SHSearchBar.git into spi-builder-workspace
SPI manifest file found: spi-builder-workspace/.spi.yml
SUCCESS checkout https://github.com/blackjacx/SHSearchBar.git at develop
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.9
Building package at path:  spi-builder-workspace
Running build ...
docker run --rm -v "checkouts-4609320-0":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1
Fetching https://github.com/mattgallagher/CwlPreconditionTesting.git
Fetching https://github.com/Quick/Nimble
Fetching https://github.com/Quick/Quick
[1/1193] Fetching cwlpreconditiontesting
Fetching https://github.com/mattgallagher/CwlCatchException.git
Fetched https://github.com/mattgallagher/CwlPreconditionTesting.git (0.32s)
[1/432] Fetching cwlcatchexception
[295/14361] Fetching cwlcatchexception, quick
Fetched https://github.com/mattgallagher/CwlCatchException.git (0.23s)
[2229/13929] Fetching quick
[13930/29993] Fetching quick, nimble
Fetched https://github.com/Quick/Quick (1.96s)
Fetched https://github.com/Quick/Nimble (1.97s)
Computing version for https://github.com/Quick/Nimble
Computed https://github.com/Quick/Nimble at 12.2.0 (1.86s)
Computing version for https://github.com/Quick/Quick
Computed https://github.com/Quick/Quick at 7.2.0 (0.51s)
Computing version for https://github.com/mattgallagher/CwlPreconditionTesting.git
Computed https://github.com/mattgallagher/CwlPreconditionTesting.git at 2.1.0 (0.43s)
Computing version for https://github.com/mattgallagher/CwlCatchException.git
Computed https://github.com/mattgallagher/CwlCatchException.git at 2.1.1 (0.44s)
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
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
Building for debugging...
[0/9] Copying Localizable.strings
[0/9] Copying Info.plist
[10/17] Compiling SHSearchBar SHSearchBar.swift
/host/spi-builder-workspace/Sources/SHSearchBar/SHSearchBar.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[11/17] Compiling SHSearchBar SHSearchBarTextField.swift
/host/spi-builder-workspace/Sources/SHSearchBar/SHSearchBar.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[12/17] Compiling SHSearchBar UIImage+Style.swift
/host/spi-builder-workspace/Sources/SHSearchBar/SHSearchBar.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[13/17] Compiling SHSearchBar resource_bundle_accessor.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)
[14/17] Emitting module SHSearchBar
/host/spi-builder-workspace/Sources/SHSearchBar/SHSearchBar.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[15/17] Compiling SHSearchBar Foundation + Extensions.swift
/host/spi-builder-workspace/Sources/SHSearchBar/SHSearchBar.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[16/17] Compiling SHSearchBar SHSearchBarConfig.swift
/host/spi-builder-workspace/Sources/SHSearchBar/SHSearchBar.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[17/17] Compiling SHSearchBar SHSearchBarDelegate.swift
/host/spi-builder-workspace/Sources/SHSearchBar/SHSearchBar.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
error: fatalError
BUILD FAILURE 5.9 linux

Build Machine: Linux 2