The Swift Package Index logo.Swift Package Index

Build Information

Successful build of SearchBar, reference 2.1.7 (e72c14), with Swift 6.4 for macOS (SPM) on 24 Sep 2026 13:12:41 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/SzpakKamil/SearchBar.git
Reference: 2.1.7
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/SzpakKamil/SearchBar
 * tag               2.1.7      -> FETCH_HEAD
HEAD is now at e72c146 docs:added missing key in title
Cloned https://github.com/SzpakKamil/SearchBar.git
Revision (git rev-parse @):
e72c14615b3b6473ca32cdb3b3bea4d40d5d28f1
SUCCESS checkout https://github.com/SzpakKamil/SearchBar.git at 2.1.7
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.4
Building package at path:  $PWD
https://github.com/SzpakKamil/SearchBar.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64
Building for debugging...
[Pre-planning 1 / 95]
[Planning deferred tasks]
[30 / 168] SearchBar_SearchBar
[158 / 168] SearchBar_SearchBar
[159 / 168]
[160 / 169] SearchBar
[170 / 246]
[173 / 246]
[180 / 246]
[182 / 246]
[184 / 246]
[189 / 246]
[191 / 246]
[193 / 246]
[196 / 246]
[201 / 246]
[204 / 246]
[206 / 246]
[207 / 246]
[217 / 246]
[219 / 246]
[220 / 246]
[223 / 246]
[225 / 246]
[237 / 246] SearchBar
[238 / 246] SearchBar
[243 / 246] SearchBar
Build complete! (12.69 sec)
/Users/admin/builder/spi-builder-workspace/Sources/SearchBar/DataTypes/SearchBarStyle.swift:75:50: warning: 'quinaryLabel' is deprecated: renamed to 'quinaryLabelColor' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
 73 |             self.backgroundColor = Color(.secondarySystemBackground)
 74 |             #else
 75 |             self.backgroundColor = Color(NSColor.quinaryLabel)
    |                                                  |- warning: 'quinaryLabel' is deprecated: renamed to 'quinaryLabelColor' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
    |                                                  `- note: use 'quinaryLabelColor' instead
 76 |             #endif
 77 |         }
/Users/admin/builder/spi-builder-workspace/Sources/SearchBar/DataTypes/SearchBarStyle.swift:146:50: warning: 'quinaryLabel' is deprecated: renamed to 'quinaryLabelColor' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
144 |             self.backgroundColor = Color(.secondarySystemBackground)
145 |             #else
146 |             self.backgroundColor = Color(NSColor.quinaryLabel)
    |                                                  |- warning: 'quinaryLabel' is deprecated: renamed to 'quinaryLabelColor' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
    |                                                  `- note: use 'quinaryLabelColor' instead
147 |             #endif
148 |         }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
/Users/admin/builder/spi-builder-workspace/Sources/SearchBar/Platforms/MacOS/SearchBarMacOS.swift:50:16: warning: result builder 'ContentBuilder' (aka 'ViewBuilder') does not implement 'buildLimitedAvailability'; this code may crash on earlier versions of the OS [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/result-builder-methods\ResultBuilderMethods]8;;\]
 48 |                 Image(systemName: "magnifyingglass")
 49 |             }
 50 |             if #available(macOS 12.0, *) {
    |                `- warning: result builder 'ContentBuilder' (aka 'ViewBuilder') does not implement 'buildLimitedAvailability'; this code may crash on earlier versions of the OS [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/result-builder-methods\ResultBuilderMethods]8;;\]
 51 |                 SearchFieldView(
 52 |                     text: $text,
/Users/admin/builder/spi-builder-workspace/Sources/SearchBar/Platforms/MacOS/SearchBarMacOS.swift:89:16: warning: result builder 'ViewBuilder' does not implement 'buildLimitedAvailability'; this code may crash on earlier versions of the OS [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/result-builder-methods\ResultBuilderMethods]8;;\]
 87 |         .if { content in
 88 |             #if compiler(>=6.2)
 89 |             if #available(macOS 26.0, *), material == .glass {
    |                `- warning: result builder 'ViewBuilder' does not implement 'buildLimitedAvailability'; this code may crash on earlier versions of the OS [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/result-builder-methods\ResultBuilderMethods]8;;\]
 90 |                 GlassEffectContainer {
 91 |                     content
/Users/admin/builder/spi-builder-workspace/Sources/SearchBar/Platforms/MacOS/SearchBarMacOS.swift:44:27: warning: conformance of 'TupleContent<repeat each Content>' to 'View' is only available in macOS 26.0 or newer; this is an error in the Swift 6 language mode
  9 |
 10 | #if os(macOS)
 11 | public struct SearchBar: View {
    |               `- note: add '@available' attribute to enclosing struct
 12 |     @Environment(\.colorScheme) var colorScheme
 13 |     @Binding var text: String
    :
 41 |
 42 |     @_documentation(visibility: internal)
 43 |     public var body: some View {
    |                `- note: add '@available' attribute to enclosing property
 44 |         HStack(spacing: 5){
    |                           |- warning: conformance of 'TupleContent<repeat each Content>' to 'View' is only available in macOS 26.0 or newer; this is an error in the Swift 6 language mode
    |                           `- note: add 'if #available' version check
 45 |             if let iconView{
 46 |                 iconView
[#ResultBuilderMethods]: <https://docs.swift.org/compiler/documentation/diagnostics/result-builder-methods>
Build complete.
{
  "default_localization" : "en",
  "dependencies" : [
  ],
  "manifest_display_name" : "SearchBar",
  "name" : "SearchBar",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "11.0"
    },
    {
      "name" : "ios",
      "version" : "14.0"
    },
    {
      "name" : "visionos",
      "version" : "1.0"
    },
    {
      "name" : "tvos",
      "version" : "15.0"
    },
    {
      "name" : "watchos",
      "version" : "10.0"
    }
  ],
  "products" : [
    {
      "name" : "SearchBar",
      "targets" : [
        "SearchBar"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SearchBarTests",
      "module_type" : "SwiftTarget",
      "name" : "SearchBarTests",
      "path" : "Tests/SearchBarTests",
      "sources" : [
        "DataTypes/SearchBarCancelButtonDisplayModeTests.swift",
        "DataTypes/SearchBarClearButtonDisplayMode.swift",
        "DataTypes/SearchBarCornerStyleTest.swift",
        "DataTypes/SearchBarStyleTest.swift",
        "DataTypes/SearchBarSuggestionTests.swift",
        "DataTypes/SearchBarTokenTests.swift",
        "ModifiersTest.swift",
        "WatchOSTvOSTests.swift"
      ],
      "target_dependencies" : [
        "SearchBar"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SearchBar",
      "module_type" : "SwiftTarget",
      "name" : "SearchBar",
      "path" : "Sources/SearchBar",
      "product_memberships" : [
        "SearchBar"
      ],
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/SearchBar/Resources/Localizable.xcstrings",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "DataTypes/SearchBarCancelButtonDisplayMode.swift",
        "DataTypes/SearchBarClearButtonDisplayMode.swift",
        "DataTypes/SearchBarMaterial.swift",
        "DataTypes/SearchBarScale.swift",
        "DataTypes/SearchBarStyle.swift",
        "DataTypes/SearchBarSuggestion.swift",
        "DataTypes/SearchBarToken.swift",
        "DataTypes/SearchBarTranslation.swift",
        "Modifiers.swift",
        "Platforms/MacOS/SearchBarMacOS.swift",
        "Platforms/TvOS/KeyboardTrigger.swift",
        "Platforms/TvOS/SearchBarTvOS.swift",
        "Platforms/WatchOS/SearchBarWatchOS.swift",
        "Platforms/iOSVisionOS/SearchBarIOSVisionOS.swift",
        "Views/IfModifier.swift",
        "Views/SearchFieldClearButton.swift",
        "Views/SearchFieldView.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
Done.