The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Bunker with Swift 5.9 for macOS (SPM).

Build Command

Build command unavailable

Build Log

========================================
RunAll
========================================
Builder version: 4.27.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Sam-Spencer/Bunker.git
Reference: main
Initialized empty Git repository in /Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.git/
From https://github.com/Sam-Spencer/Bunker
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 2d4436a Update README.md
Cloned https://github.com/Sam-Spencer/Bunker.git
Revision (git rev-parse @):
2d4436a5d1501ab8dd384babba9170f89528ff80
SUCCESS checkout https://github.com/Sam-Spencer/Bunker.git at main
Fetching https://github.com/alexruperez/SecurePropertyStorage from cache
Fetched https://github.com/alexruperez/SecurePropertyStorage (0.19s)
Computing version for https://github.com/alexruperez/SecurePropertyStorage
Computed https://github.com/alexruperez/SecurePropertyStorage at 0.7.1 (0.36s)
Creating working copy for https://github.com/alexruperez/SecurePropertyStorage
Working copy of https://github.com/alexruperez/SecurePropertyStorage resolved at 0.7.1
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "bunker",
      "name": "Bunker",
      "url": "https://github.com/Sam-Spencer/Bunker.git",
      "version": "unspecified",
      "path": "/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Bunker",
      "dependencies": [
        {
          "identity": "securepropertystorage",
          "name": "SecurePropertyStorage",
          "url": "https://github.com/alexruperez/SecurePropertyStorage",
          "version": "0.7.1",
          "path": "/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SecurePropertyStorage",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/Sam-Spencer/Bunker.git
[1/63] Fetching bunker
Fetched https://github.com/Sam-Spencer/Bunker.git (0.30s)
Fetching https://github.com/alexruperez/SecurePropertyStorage from cache
Fetched https://github.com/alexruperez/SecurePropertyStorage (0.20s)
Computing version for https://github.com/alexruperez/SecurePropertyStorage
Computed https://github.com/alexruperez/SecurePropertyStorage at 0.7.1 (0.02s)
Creating working copy for https://github.com/Sam-Spencer/Bunker.git
Working copy of https://github.com/Sam-Spencer/Bunker.git resolved at main
Creating working copy for https://github.com/alexruperez/SecurePropertyStorage
Working copy of https://github.com/alexruperez/SecurePropertyStorage resolved at 0.7.1
warning: '.resolve-product-dependencies': dependency 'bunker' is not used by any target
Found 1 product dependencies
  - SecurePropertyStorage
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.9
Building package at path:  $PWD/checkout
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.0.0.app xcrun swift build --arch arm64
Building for debugging...
[1/7] Compiling Storage Storage.swift
[2/7] Compiling Storage StorageData.swift
[3/7] Compiling Storage Store.swift
[4/7] Compiling Storage StorageDelegate.swift
[5/7] Compiling Storage DataConvertible.swift
[6/7] Compiling Storage DelegatedStorage.swift
[7/7] Emitting module Storage
[8/16] Compiling Inject InjectStorage.swift
[9/16] Compiling Keychain CryptoData.swift
[10/16] Emitting module Keychain
[11/16] Compiling Keychain KeychainStorage.swift
[12/16] Compiling Keychain KeychainError.swift
[13/16] Compiling Keychain Keychain.swift
[14/16] Emitting module Inject
[15/16] Compiling Inject Inject.swift
[16/16] Compiling Inject InjectError.swift
[17/22] Compiling Singleton SingletonStorage.swift
[18/22] Emitting module Singleton
[19/22] Compiling Singleton Singleton.swift
[20/22] Compiling UserDefault UserDefault.swift
[21/22] Emitting module UserDefault
[22/22] Compiling UserDefault UserDefaultsStorage.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[23/29] Compiling Bunker Bunker.swift
[24/29] Compiling Bunker BunkerNotifier.swift
[25/29] Compiling Bunker BunkerResource.swift
[26/29] Compiling Bunker BunkerSource.swift
[27/29] Compiling Bunker BunkerSearch.swift
[28/29] Emitting module Bunker
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Bunker/SearchBar.swift:27:44: error: cannot find type 'UISearchBar' in scope
        public func searchBar(_ searchBar: UISearchBar, textDidChange searchText: String) {
                                           ^~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Bunker/SearchBar.swift:32:63: error: cannot find type 'UISearchBar' in scope
        public func searchBarSearchButtonClicked(_ searchBar: UISearchBar) {
                                                              ^~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Bunker/SearchBar.swift:16:41: error: cannot find type 'UISearchBarDelegate' in scope
    public class Coordinator: NSObject, UISearchBarDelegate {
                                        ^~~~~~~~~~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Bunker/SearchBar.swift:41:79: error: cannot find type 'UISearchBar' in scope
    public func makeUIView(context: UIViewRepresentableContext<SearchBar>) -> UISearchBar {
                                                                              ^~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Bunker/SearchBar.swift:41:37: error: cannot find type 'UIViewRepresentableContext' in scope
    public func makeUIView(context: UIViewRepresentableContext<SearchBar>) -> UISearchBar {
                                    ^~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Bunker/SearchBar.swift:50:40: error: cannot find type 'UISearchBar' in scope
    public func updateUIView(_ uiView: UISearchBar, context: UIViewRepresentableContext<SearchBar>) {
                                       ^~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Bunker/SearchBar.swift:50:62: error: cannot find type 'UIViewRepresentableContext' in scope
    public func updateUIView(_ uiView: UISearchBar, context: UIViewRepresentableContext<SearchBar>) {
                                                             ^~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Bunker/SearchBar.swift:11:26: error: cannot find type 'UIViewRepresentable' in scope
public struct SearchBar: UIViewRepresentable {
                         ^~~~~~~~~~~~~~~~~~~
[29/29] Compiling Bunker SearchBar.swift
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Bunker/SearchBar.swift:27:44: error: cannot find type 'UISearchBar' in scope
        public func searchBar(_ searchBar: UISearchBar, textDidChange searchText: String) {
                                           ^~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Bunker/SearchBar.swift:32:63: error: cannot find type 'UISearchBar' in scope
        public func searchBarSearchButtonClicked(_ searchBar: UISearchBar) {
                                                              ^~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Bunker/SearchBar.swift:16:41: error: cannot find type 'UISearchBarDelegate' in scope
    public class Coordinator: NSObject, UISearchBarDelegate {
                                        ^~~~~~~~~~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Bunker/SearchBar.swift:41:79: error: cannot find type 'UISearchBar' in scope
    public func makeUIView(context: UIViewRepresentableContext<SearchBar>) -> UISearchBar {
                                                                              ^~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Bunker/SearchBar.swift:41:37: error: cannot find type 'UIViewRepresentableContext' in scope
    public func makeUIView(context: UIViewRepresentableContext<SearchBar>) -> UISearchBar {
                                    ^~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Bunker/SearchBar.swift:50:40: error: cannot find type 'UISearchBar' in scope
    public func updateUIView(_ uiView: UISearchBar, context: UIViewRepresentableContext<SearchBar>) {
                                       ^~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Bunker/SearchBar.swift:50:62: error: cannot find type 'UIViewRepresentableContext' in scope
    public func updateUIView(_ uiView: UISearchBar, context: UIViewRepresentableContext<SearchBar>) {
                                                             ^~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Bunker/SearchBar.swift:11:26: error: cannot find type 'UIViewRepresentable' in scope
public struct SearchBar: UIViewRepresentable {
                         ^~~~~~~~~~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Bunker/SearchBar.swift:33:13: error: cannot find 'UIApplication' in scope
            UIApplication.shared.sendAction(#selector(UIResponder.resignFirstResponder), to: nil, from: nil, for: nil)
            ^~~~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Bunker/SearchBar.swift:33:55: error: cannot find 'UIResponder' in scope
            UIApplication.shared.sendAction(#selector(UIResponder.resignFirstResponder), to: nil, from: nil, for: nil)
                                                      ^~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Bunker/SearchBar.swift:33:94: error: 'nil' requires a contextual type
            UIApplication.shared.sendAction(#selector(UIResponder.resignFirstResponder), to: nil, from: nil, for: nil)
                                                                                             ^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Bunker/SearchBar.swift:33:105: error: 'nil' requires a contextual type
            UIApplication.shared.sendAction(#selector(UIResponder.resignFirstResponder), to: nil, from: nil, for: nil)
                                                                                                        ^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Bunker/SearchBar.swift:33:115: error: 'nil' requires a contextual type
            UIApplication.shared.sendAction(#selector(UIResponder.resignFirstResponder), to: nil, from: nil, for: nil)
                                                                                                                  ^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Bunker/SearchBar.swift:42:25: error: cannot find 'UISearchBar' in scope
        let searchBar = UISearchBar(frame: .zero)
                        ^~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Bunker/SearchBar.swift:42:45: error: cannot infer contextual base in reference to member 'zero'
        let searchBar = UISearchBar(frame: .zero)
                                           ~^~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Bunker/SearchBar.swift:44:45: error: cannot infer contextual base in reference to member 'sentences'
        searchBar.autocapitalizationType = .sentences
                                           ~^~~~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Bunker/SearchBar.swift:59:9: error: static method 'buildExpression' requires that 'SearchBar' conform to 'View'
        SearchBar(text: .constant("search"), predicate: .constant(NSPredicate()))
        ^
SwiftUI.ViewBuilder:3:24: note: where 'Content' = 'SearchBar'
    public static func buildExpression<Content>(_ content: Content) -> Content where Content : View
                       ^
error: fatalError
[0/1] Planning build
Building for debugging...
error: emit-module command failed with exit code 1 (use -v to see invocation)
[1/2] Emitting module Bunker
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Bunker/SearchBar.swift:27:44: error: cannot find type 'UISearchBar' in scope
        public func searchBar(_ searchBar: UISearchBar, textDidChange searchText: String) {
                                           ^~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Bunker/SearchBar.swift:32:63: error: cannot find type 'UISearchBar' in scope
        public func searchBarSearchButtonClicked(_ searchBar: UISearchBar) {
                                                              ^~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Bunker/SearchBar.swift:16:41: error: cannot find type 'UISearchBarDelegate' in scope
    public class Coordinator: NSObject, UISearchBarDelegate {
                                        ^~~~~~~~~~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Bunker/SearchBar.swift:41:79: error: cannot find type 'UISearchBar' in scope
    public func makeUIView(context: UIViewRepresentableContext<SearchBar>) -> UISearchBar {
                                                                              ^~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Bunker/SearchBar.swift:41:37: error: cannot find type 'UIViewRepresentableContext' in scope
    public func makeUIView(context: UIViewRepresentableContext<SearchBar>) -> UISearchBar {
                                    ^~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Bunker/SearchBar.swift:50:40: error: cannot find type 'UISearchBar' in scope
    public func updateUIView(_ uiView: UISearchBar, context: UIViewRepresentableContext<SearchBar>) {
                                       ^~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Bunker/SearchBar.swift:50:62: error: cannot find type 'UIViewRepresentableContext' in scope
    public func updateUIView(_ uiView: UISearchBar, context: UIViewRepresentableContext<SearchBar>) {
                                                             ^~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Bunker/SearchBar.swift:11:26: error: cannot find type 'UIViewRepresentable' in scope
public struct SearchBar: UIViewRepresentable {
                         ^~~~~~~~~~~~~~~~~~~
[2/2] Compiling Bunker SearchBar.swift
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Bunker/SearchBar.swift:27:44: error: cannot find type 'UISearchBar' in scope
        public func searchBar(_ searchBar: UISearchBar, textDidChange searchText: String) {
                                           ^~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Bunker/SearchBar.swift:32:63: error: cannot find type 'UISearchBar' in scope
        public func searchBarSearchButtonClicked(_ searchBar: UISearchBar) {
                                                              ^~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Bunker/SearchBar.swift:16:41: error: cannot find type 'UISearchBarDelegate' in scope
    public class Coordinator: NSObject, UISearchBarDelegate {
                                        ^~~~~~~~~~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Bunker/SearchBar.swift:41:79: error: cannot find type 'UISearchBar' in scope
    public func makeUIView(context: UIViewRepresentableContext<SearchBar>) -> UISearchBar {
                                                                              ^~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Bunker/SearchBar.swift:41:37: error: cannot find type 'UIViewRepresentableContext' in scope
    public func makeUIView(context: UIViewRepresentableContext<SearchBar>) -> UISearchBar {
                                    ^~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Bunker/SearchBar.swift:50:40: error: cannot find type 'UISearchBar' in scope
    public func updateUIView(_ uiView: UISearchBar, context: UIViewRepresentableContext<SearchBar>) {
                                       ^~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Bunker/SearchBar.swift:50:62: error: cannot find type 'UIViewRepresentableContext' in scope
    public func updateUIView(_ uiView: UISearchBar, context: UIViewRepresentableContext<SearchBar>) {
                                                             ^~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Bunker/SearchBar.swift:11:26: error: cannot find type 'UIViewRepresentable' in scope
public struct SearchBar: UIViewRepresentable {
                         ^~~~~~~~~~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Bunker/SearchBar.swift:33:13: error: cannot find 'UIApplication' in scope
            UIApplication.shared.sendAction(#selector(UIResponder.resignFirstResponder), to: nil, from: nil, for: nil)
            ^~~~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Bunker/SearchBar.swift:33:55: error: cannot find 'UIResponder' in scope
            UIApplication.shared.sendAction(#selector(UIResponder.resignFirstResponder), to: nil, from: nil, for: nil)
                                                      ^~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Bunker/SearchBar.swift:33:94: error: 'nil' requires a contextual type
            UIApplication.shared.sendAction(#selector(UIResponder.resignFirstResponder), to: nil, from: nil, for: nil)
                                                                                             ^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Bunker/SearchBar.swift:33:105: error: 'nil' requires a contextual type
            UIApplication.shared.sendAction(#selector(UIResponder.resignFirstResponder), to: nil, from: nil, for: nil)
                                                                                                        ^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Bunker/SearchBar.swift:33:115: error: 'nil' requires a contextual type
            UIApplication.shared.sendAction(#selector(UIResponder.resignFirstResponder), to: nil, from: nil, for: nil)
                                                                                                                  ^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Bunker/SearchBar.swift:42:25: error: cannot find 'UISearchBar' in scope
        let searchBar = UISearchBar(frame: .zero)
                        ^~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Bunker/SearchBar.swift:42:45: error: cannot infer contextual base in reference to member 'zero'
        let searchBar = UISearchBar(frame: .zero)
                                           ~^~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Bunker/SearchBar.swift:44:45: error: cannot infer contextual base in reference to member 'sentences'
        searchBar.autocapitalizationType = .sentences
                                           ~^~~~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Bunker/SearchBar.swift:59:9: error: static method 'buildExpression' requires that 'SearchBar' conform to 'View'
        SearchBar(text: .constant("search"), predicate: .constant(NSPredicate()))
        ^
SwiftUI.ViewBuilder:3:24: note: where 'Content' = 'SearchBar'
    public static func buildExpression<Content>(_ content: Content) -> Content where Content : View
                       ^
error: fatalError
BUILD FAILURE 5.9 macosSpm