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 2.1.0 (0caa8c), with Swift 6.1 for Linux on 27 Apr 2025 16:59:40 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/blackjacx/SHSearchBar.git
Reference: 2.1.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/blackjacx/SHSearchBar
 * tag               2.1.0      -> FETCH_HEAD
HEAD is now at 0caa8c0 Merge branch 'release/2.1.0'
Cloned https://github.com/blackjacx/SHSearchBar.git
Revision (git rev-parse @):
0caa8c053f5ec481ffc8a5b31db7e8ecd326be39
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/blackjacx/SHSearchBar.git at 2.1.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/blackjacx/SHSearchBar.git
https://github.com/blackjacx/SHSearchBar.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "default_localization" : "en",
  "dependencies" : [
    {
      "identity" : "quick",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "7.0.0",
            "upper_bound" : "8.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Quick/Quick"
    },
    {
      "identity" : "nimble",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "12.0.0",
            "upper_bound" : "13.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Quick/Nimble"
    }
  ],
  "manifest_display_name" : "SHSearchBar",
  "name" : "SHSearchBar",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "14.0"
    }
  ],
  "products" : [
    {
      "name" : "SHSearchBar",
      "targets" : [
        "SHSearchBar"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SHSearchBarTests",
      "module_type" : "SwiftTarget",
      "name" : "SHSearchBarTests",
      "path" : "Tests/SHSearchBarTests",
      "product_dependencies" : [
        "Quick",
        "Nimble"
      ],
      "sources" : [
        "Mocks.swift",
        "SHSearchBarSpec.swift",
        "SHSearchBarTextFieldSpecs.swift"
      ],
      "target_dependencies" : [
        "SHSearchBar"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SHSearchBar",
      "module_type" : "SwiftTarget",
      "name" : "SHSearchBar",
      "path" : "Sources/SHSearchBar",
      "product_memberships" : [
        "SHSearchBar"
      ],
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Sources/SHSearchBar/Resources/Strings/de.lproj/Localizable.strings",
          "rule" : {
            "process" : {
              "localization" : "de"
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/SHSearchBar/Resources/Strings/en.lproj/Localizable.strings",
          "rule" : {
            "process" : {
              "localization" : "en"
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/SHSearchBar/Resources/Strings/es.lproj/Localizable.strings",
          "rule" : {
            "process" : {
              "localization" : "es"
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/SHSearchBar/Resources/Strings/fr.lproj/Localizable.strings",
          "rule" : {
            "process" : {
              "localization" : "fr"
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/SHSearchBar/Resources/Strings/it.lproj/Localizable.strings",
          "rule" : {
            "process" : {
              "localization" : "it"
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/SHSearchBar/Resources/Strings/ja.lproj/Localizable.strings",
          "rule" : {
            "process" : {
              "localization" : "ja"
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/SHSearchBar/Resources/Strings/ru.lproj/Localizable.strings",
          "rule" : {
            "process" : {
              "localization" : "ru"
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/SHSearchBar/Resources/Strings/zh-Hans.lproj/Localizable.strings",
          "rule" : {
            "process" : {
              "localization" : "zh-hans"
            }
          }
        }
      ],
      "sources" : [
        "Foundation + Extensions.swift",
        "SHSearchBar.swift",
        "SHSearchBarConfig.swift",
        "SHSearchBarDelegate.swift",
        "SHSearchBarTextField.swift",
        "UIImage+Style.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Fetching https://github.com/Quick/Nimble
Fetching https://github.com/Quick/Quick
[1/14755] Fetching quick
[2510/34322] Fetching quick, nimble
Fetched https://github.com/Quick/Quick from cache (2.17s)
Fetched https://github.com/Quick/Nimble from cache (2.19s)
Computing version for https://github.com/Quick/Nimble
Computed https://github.com/Quick/Nimble at 12.3.0 (4.73s)
Fetching https://github.com/mattgallagher/CwlPreconditionTesting.git
[1/1257] Fetching cwlpreconditiontesting
Fetched https://github.com/mattgallagher/CwlPreconditionTesting.git from cache (0.24s)
Computing version for https://github.com/mattgallagher/CwlPreconditionTesting.git
Computed https://github.com/mattgallagher/CwlPreconditionTesting.git at 2.2.2 (1.09s)
Fetching https://github.com/mattgallagher/CwlCatchException.git
[1/455] Fetching cwlcatchexception
Fetched https://github.com/mattgallagher/CwlCatchException.git from cache (0.42s)
Computing version for https://github.com/mattgallagher/CwlCatchException.git
Computed https://github.com/mattgallagher/CwlCatchException.git at 2.2.1 (1.14s)
Computing version for https://github.com/Quick/Quick
Computed https://github.com/Quick/Quick at 7.6.2 (0.62s)
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/apple/swift-algorithms.git
[1/5903] Fetching swift-algorithms
[5904/20853] Fetching swift-algorithms, swift-argument-parser
Fetched https://github.com/apple/swift-algorithms.git from cache (0.42s)
[897/14950] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser.git from cache (0.81s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (1.37s)
Fetching https://github.com/apple/swift-numerics.git
[1/5674] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.81s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.5.0 (1.36s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.0.3 (0.59s)
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.1
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.3
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/mattgallagher/CwlCatchException.git
Working copy of https://github.com/mattgallagher/CwlCatchException.git resolved at 2.2.1
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/Quick/Nimble
Working copy of https://github.com/Quick/Nimble resolved at 12.3.0
warning: 'quick': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/.build/checkouts/Quick/Sources/Quick/PrivacyInfo.xcprivacy
[1/1] Compiling plugin LintCommandPlugin
[2/2] Compiling plugin LintWarning
[3/3] Compiling plugin LintError
[4/4] Compiling plugin DefocusCommandPlugin
[5/5] Compiling plugin GenerateManual
Building for debugging...
[5/16] Copying Localizable.strings
[10/16] Copying Info.plist
[10/16] Copying Localizable.strings
[13/16] Write sources
[15/16] Write swift-version-24593BA9C3E375BF.txt
[17/24] Compiling SHSearchBar UIImage+Style.swift
/host/spi-builder-workspace/Sources/SHSearchBar/SHSearchBar.swift:9:8: error: no such module 'UIKit'
  7 | //
  8 |
  9 | import UIKit
    |        `- error: no such module 'UIKit'
 10 |
 11 | /// The central searchbar class of this framework.
[18/24] Compiling SHSearchBar SHSearchBarTextField.swift
/host/spi-builder-workspace/Sources/SHSearchBar/SHSearchBar.swift:9:8: error: no such module 'UIKit'
  7 | //
  8 |
  9 | import UIKit
    |        `- error: no such module 'UIKit'
 10 |
 11 | /// The central searchbar class of this framework.
[19/24] Compiling SHSearchBar resource_bundle_accessor.swift
/host/spi-builder-workspace/Sources/SHSearchBar/SHSearchBar.swift:9:8: error: no such module 'UIKit'
  7 | //
  8 |
  9 | import UIKit
    |        `- error: no such module 'UIKit'
 10 |
 11 | /// The central searchbar class of this framework.
error: emit-module command failed with exit code 1 (use -v to see invocation)
[20/24] Emitting module SHSearchBar
/host/spi-builder-workspace/Sources/SHSearchBar/SHSearchBar.swift:9:8: error: no such module 'UIKit'
  7 | //
  8 |
  9 | import UIKit
    |        `- error: no such module 'UIKit'
 10 |
 11 | /// The central searchbar class of this framework.
[21/24] Compiling SHSearchBar Foundation + Extensions.swift
/host/spi-builder-workspace/Sources/SHSearchBar/SHSearchBar.swift:9:8: error: no such module 'UIKit'
  7 | //
  8 |
  9 | import UIKit
    |        `- error: no such module 'UIKit'
 10 |
 11 | /// The central searchbar class of this framework.
[22/24] Compiling SHSearchBar SHSearchBarConfig.swift
/host/spi-builder-workspace/Sources/SHSearchBar/SHSearchBar.swift:9:8: error: no such module 'UIKit'
  7 | //
  8 |
  9 | import UIKit
    |        `- error: no such module 'UIKit'
 10 |
 11 | /// The central searchbar class of this framework.
[23/24] Compiling SHSearchBar SHSearchBarDelegate.swift
/host/spi-builder-workspace/Sources/SHSearchBar/SHSearchBar.swift:9:8: error: no such module 'UIKit'
  7 | //
  8 |
  9 | import UIKit
    |        `- error: no such module 'UIKit'
 10 |
 11 | /// The central searchbar class of this framework.
[24/24] Compiling SHSearchBar SHSearchBar.swift
/host/spi-builder-workspace/Sources/SHSearchBar/SHSearchBar.swift:9:8: error: no such module 'UIKit'
  7 | //
  8 |
  9 | import UIKit
    |        `- error: no such module 'UIKit'
 10 |
 11 | /// The central searchbar class of this framework.
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
warning: 'quick': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/.build/checkouts/Quick/Sources/Quick/PrivacyInfo.xcprivacy
[0/1] Planning build
[1/1] Compiling plugin LintCommandPlugin
[2/2] Compiling plugin LintWarning
[3/3] Compiling plugin LintError
[4/4] Compiling plugin DefocusCommandPlugin
[5/5] Compiling plugin GenerateManual
Building for debugging...
[5/6] Write swift-version-24593BA9C3E375BF.txt
[7/14] Compiling SHSearchBar SHSearchBarDelegate.swift
/host/spi-builder-workspace/Sources/SHSearchBar/SHSearchBar.swift:9:8: error: no such module 'UIKit'
  7 | //
  8 |
  9 | import UIKit
    |        `- error: no such module 'UIKit'
 10 |
 11 | /// The central searchbar class of this framework.
[8/14] Compiling SHSearchBar SHSearchBarConfig.swift
/host/spi-builder-workspace/Sources/SHSearchBar/SHSearchBar.swift:9:8: error: no such module 'UIKit'
  7 | //
  8 |
  9 | import UIKit
    |        `- error: no such module 'UIKit'
 10 |
 11 | /// The central searchbar class of this framework.
[9/14] Compiling SHSearchBar SHSearchBarTextField.swift
/host/spi-builder-workspace/Sources/SHSearchBar/SHSearchBar.swift:9:8: error: no such module 'UIKit'
  7 | //
  8 |
  9 | import UIKit
    |        `- error: no such module 'UIKit'
 10 |
 11 | /// The central searchbar class of this framework.
[10/14] Compiling SHSearchBar SHSearchBar.swift
/host/spi-builder-workspace/Sources/SHSearchBar/SHSearchBar.swift:9:8: error: no such module 'UIKit'
  7 | //
  8 |
  9 | import UIKit
    |        `- error: no such module 'UIKit'
 10 |
 11 | /// The central searchbar class of this framework.
error: emit-module command failed with exit code 1 (use -v to see invocation)
[11/14] Emitting module SHSearchBar
/host/spi-builder-workspace/Sources/SHSearchBar/SHSearchBar.swift:9:8: error: no such module 'UIKit'
  7 | //
  8 |
  9 | import UIKit
    |        `- error: no such module 'UIKit'
 10 |
 11 | /// The central searchbar class of this framework.
[12/14] Compiling SHSearchBar Foundation + Extensions.swift
/host/spi-builder-workspace/Sources/SHSearchBar/SHSearchBar.swift:9:8: error: no such module 'UIKit'
  7 | //
  8 |
  9 | import UIKit
    |        `- error: no such module 'UIKit'
 10 |
 11 | /// The central searchbar class of this framework.
[13/14] Compiling SHSearchBar UIImage+Style.swift
/host/spi-builder-workspace/Sources/SHSearchBar/SHSearchBar.swift:9:8: error: no such module 'UIKit'
  7 | //
  8 |
  9 | import UIKit
    |        `- error: no such module 'UIKit'
 10 |
 11 | /// The central searchbar class of this framework.
[14/14] Compiling SHSearchBar resource_bundle_accessor.swift
/host/spi-builder-workspace/Sources/SHSearchBar/SHSearchBar.swift:9:8: error: no such module 'UIKit'
  7 | //
  8 |
  9 | import UIKit
    |        `- error: no such module 'UIKit'
 10 |
 11 | /// The central searchbar class of this framework.
BUILD FAILURE 6.1 linux