The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build SHSearchBar, reference develop (c881d2), with Swift 5.10 for Linux on 22 Jan 2025 19:19:08 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.60.1
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 c881d2b Update LICENSE
Cloned https://github.com/blackjacx/SHSearchBar.git
Revision (git rev-parse @):
c881d2b95d28850c5614d2860e01bbef14c0057e
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/blackjacx/SHSearchBar.git at develop
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $PWD
https://github.com/blackjacx/SHSearchBar.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-5.10-latest: Pulling from finestructure/spi-images
Digest: sha256:8b386ca1081dd55ec0944429387f246ccb59ef99c9c8cbb418b0abd78460b38f
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.10-latest
Fetching https://github.com/Quick/Nimble
Fetching https://github.com/Quick/Quick
[1/14743] Fetching quick
[12238/34294] Fetching quick, nimble
Fetched https://github.com/Quick/Quick from cache (1.41s)
Fetched https://github.com/Quick/Nimble from cache (1.44s)
Computing version for https://github.com/Quick/Nimble
Computed https://github.com/Quick/Nimble at 12.3.0 (1.12s)
Fetching https://github.com/mattgallagher/CwlPreconditionTesting.git
[1/1257] Fetching cwlpreconditiontesting
Fetched https://github.com/mattgallagher/CwlPreconditionTesting.git from cache (0.23s)
Computing version for https://github.com/mattgallagher/CwlPreconditionTesting.git
Computed https://github.com/mattgallagher/CwlPreconditionTesting.git at 2.2.2 (0.51s)
Fetching https://github.com/mattgallagher/CwlCatchException.git
[1/455] Fetching cwlcatchexception
Fetched https://github.com/mattgallagher/CwlCatchException.git from cache (0.19s)
Computing version for https://github.com/mattgallagher/CwlCatchException.git
Computed https://github.com/mattgallagher/CwlCatchException.git at 2.2.1 (0.46s)
Computing version for https://github.com/Quick/Quick
Computed https://github.com/Quick/Quick at 7.6.2 (0.47s)
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/apple/swift-argument-parser.git
[1/5622] Fetching swift-algorithms
[5623/18146] Fetching swift-algorithms, swift-argument-parser
Fetched https://github.com/apple/swift-algorithms.git from cache (0.73s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (0.74s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.0 (0.47s)
Fetching https://github.com/apple/swift-numerics.git
[1/5576] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.37s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.5.0 (0.40s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.0.2 (0.45s)
Creating working copy for https://github.com/mattgallagher/CwlCatchException.git
Working copy of https://github.com/mattgallagher/CwlCatchException.git resolved at 2.2.1
Creating working copy for https://github.com/apple/swift-algorithms.git
Working copy of https://github.com/apple/swift-algorithms.git resolved at 1.2.0
Creating working copy for https://github.com/Quick/Nimble
Working copy of https://github.com/Quick/Nimble resolved at 12.3.0
Creating working copy for https://github.com/mattgallagher/CwlPreconditionTesting.git
Working copy of https://github.com/mattgallagher/CwlPreconditionTesting.git resolved at 2.2.2
Creating working copy for https://github.com/Quick/Quick
Working copy of https://github.com/Quick/Quick resolved at 7.6.2
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.5.0
Creating working copy for https://github.com/apple/swift-numerics.git
Working copy of https://github.com/apple/swift-numerics.git resolved at 1.0.2
/host/spi-builder-workspace/.build/checkouts/Quick/Plugins/DefocusCommandPlugin/DefocusCommandPlugin.swift:33:9: warning: default will never be executed
        @unknown default:
        ^
[1/1] Compiling plugin DefocusCommandPlugin
[2/2] Compiling plugin GenerateManual
/host/spi-builder-workspace/.build/checkouts/Quick/Plugins/LintCommandPlugin/LintCommandPlugin.swift:33:9: warning: default will never be executed
        @unknown default:
        ^
[3/3] Compiling plugin LintCommandPlugin
[4/4] Compiling plugin LintError
[5/5] Compiling plugin LintWarning
Building for debugging...
[5/16] Copying Localizable.strings
[13/16] Write sources
[14/16] Copying Info.plist
[15/16] Write swift-version-24593BA9C3E375BF.txt
[17/24] Compiling SHSearchBar SHSearchBar.swift
/host/spi-builder-workspace/Sources/SHSearchBar/SHSearchBar.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[18/24] Compiling SHSearchBar SHSearchBarTextField.swift
/host/spi-builder-workspace/Sources/SHSearchBar/SHSearchBar.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[19/24] Compiling SHSearchBar SHSearchBarConfig.swift
/host/spi-builder-workspace/Sources/SHSearchBar/SHSearchBar.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[20/24] Compiling SHSearchBar UIImage+Style.swift
/host/spi-builder-workspace/Sources/SHSearchBar/SHSearchBar.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[21/24] Compiling SHSearchBar resource_bundle_accessor.swift
/host/spi-builder-workspace/Sources/SHSearchBar/SHSearchBar.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[22/24] 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)
[23/24] Emitting module SHSearchBar
/host/spi-builder-workspace/Sources/SHSearchBar/SHSearchBar.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[24/24] Compiling SHSearchBar Foundation + Extensions.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