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 6.0 for Linux on 22 Jan 2025 19:19:24 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-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:             6.0
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-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-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.0-latest: Pulling from finestructure/spi-images
Digest: sha256:081dcf4fb829aea9d08447f4790431afbdfbcc335bfeed728ca69c6f181ae2aa
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/Quick/Quick
Fetching https://github.com/Quick/Nimble
[1/14743] Fetching quick
[5014/34294] Fetching quick, nimble
Fetched https://github.com/Quick/Quick from cache (1.26s)
Fetched https://github.com/Quick/Nimble from cache (1.28s)
Computing version for https://github.com/Quick/Nimble
Computed https://github.com/Quick/Nimble at 12.3.0 (3.77s)
Fetching https://github.com/mattgallagher/CwlPreconditionTesting.git
[1/1257] Fetching cwlpreconditiontesting
Fetched https://github.com/mattgallagher/CwlPreconditionTesting.git from cache (0.20s)
Computing version for https://github.com/mattgallagher/CwlPreconditionTesting.git
Computed https://github.com/mattgallagher/CwlPreconditionTesting.git at 2.2.2 (0.64s)
Fetching https://github.com/mattgallagher/CwlCatchException.git
[1/455] Fetching cwlcatchexception
Fetched https://github.com/mattgallagher/CwlCatchException.git from cache (0.53s)
Computing version for https://github.com/mattgallagher/CwlCatchException.git
Computed https://github.com/mattgallagher/CwlCatchException.git at 2.2.1 (0.69s)
Computing version for https://github.com/Quick/Quick
Computed https://github.com/Quick/Quick at 7.6.2 (0.65s)
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/apple/swift-argument-parser.git
[1/12524] Fetching swift-argument-parser
[7265/18146] Fetching swift-argument-parser, swift-algorithms
Fetched https://github.com/apple/swift-algorithms.git from cache (0.84s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (0.84s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.0 (0.64s)
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.55s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.0.2 (0.67s)
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
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
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/mattgallagher/CwlCatchException.git
Working copy of https://github.com/mattgallagher/CwlCatchException.git resolved at 2.2.1
Creating working copy for https://github.com/mattgallagher/CwlPreconditionTesting.git
Working copy of https://github.com/mattgallagher/CwlPreconditionTesting.git resolved at 2.2.2
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 DefocusCommandPlugin
[2/2] Compiling plugin GenerateManual
[3/3] Compiling plugin LintCommandPlugin
[4/4] Compiling plugin LintError
[5/5] Compiling plugin LintWarning
Building for debugging...
[5/16] Write sources
[6/16] Copying Localizable.strings
[10/16] Copying Info.plist
[13/16] Copying Localizable.strings
[15/16] Write swift-version-24593BA9C3E375BF.txt
[17/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.
[18/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.
[19/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.
[20/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.
error: emit-module command failed with exit code 1 (use -v to see invocation)
[21/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.
[22/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.
[23/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.
[24/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.
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:081dcf4fb829aea9d08447f4790431afbdfbcc335bfeed728ca69c6f181ae2aa
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-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 DefocusCommandPlugin
[2/2] Compiling plugin GenerateManual
[3/3] Compiling plugin LintCommandPlugin
[4/4] Compiling plugin LintError
[5/5] Compiling plugin LintWarning
Building for debugging...
[5/6] Write swift-version-24593BA9C3E375BF.txt
[7/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.
[8/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.
[9/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.
[10/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.
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 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.
[14/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.
BUILD FAILURE 6.0 linux