The Swift Package Index logo.Swift Package Index

Build Information

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

Build Command

env DEVELOPER_DIR="/Applications/Xcode-15.0.0-Beta.app" xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.19.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Sam-Spencer/Bunker.git
Reference: 1.0.3
Initialized empty Git repository in /Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.git/
From https://github.com/Sam-Spencer/Bunker
 * tag               1.0.3      -> FETCH_HEAD
HEAD is now at 9519f7e Sort descriptor bug fix
Cloned https://github.com/Sam-Spencer/Bunker.git into spi-builder-workspace
9519f7eb2d950be3b5966f935c7e6063dc8dd67b
SUCCESS checkout https://github.com/Sam-Spencer/Bunker.git at 1.0.3
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.9
Building package at path:  spi-builder-workspace
Running build ...
env DEVELOPER_DIR="/Applications/Xcode-15.0.0-Beta.app" xcrun swift build --arch arm64
Building ... (attempt 1)
Fetching https://github.com/alexruperez/SecurePropertyStorage from cache
Fetched https://github.com/alexruperez/SecurePropertyStorage (0.25s)
Computing version for https://github.com/alexruperez/SecurePropertyStorage
Computed https://github.com/alexruperez/SecurePropertyStorage at 0.7.1 (0.53s)
Creating working copy for https://github.com/alexruperez/SecurePropertyStorage
Working copy of https://github.com/alexruperez/SecurePropertyStorage resolved at 0.7.1
Building for debugging...
[1/7] Compiling Storage Storage.swift
[2/7] Compiling Storage StorageData.swift
[3/7] Emitting module Storage
[4/7] Compiling Storage DataConvertible.swift
[5/7] Compiling Storage DelegatedStorage.swift
[6/7] Compiling Storage StorageDelegate.swift
[7/7] Compiling Storage Store.swift
[8/16] Compiling Inject InjectStorage.swift
[9/16] Compiling Keychain KeychainError.swift
[10/16] Compiling Keychain Keychain.swift
[11/16] Emitting module Keychain
[12/16] Compiling Keychain CryptoData.swift
[13/16] Compiling Keychain KeychainStorage.swift
[14/22] Compiling Inject InjectError.swift
[15/22] Compiling Inject Inject.swift
[16/22] Emitting module Inject
[17/22] Compiling Singleton Singleton.swift
[18/22] Emitting module Singleton
[19/22] Compiling Singleton SingletonStorage.swift
[20/22] Compiling UserDefault UserDefaultsStorage.swift
[21/22] Emitting module UserDefault
[22/22] Compiling UserDefault UserDefault.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[23/29] Compiling Bunker BunkerNotifier.swift
[24/29] Compiling Bunker BunkerSearch.swift
[25/29] Compiling Bunker BunkerResource.swift
[26/29] Compiling Bunker Bunker.swift
[27/29] Compiling Bunker BunkerSource.swift
[28/29] Emitting module Bunker
/Users/builder/builds/TDmZkXJm/0/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/0/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/0/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/0/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/0/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/0/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/0/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/0/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/0/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/0/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/0/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/0/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/0/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/0/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/0/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/0/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/0/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/0/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/0/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/0/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/0/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/0/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/0/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/0/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/0/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
Retrying in 0 seconds ...
Building ... (attempt 2)
[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/0/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/0/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/0/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/0/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/0/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/0/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/0/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/0/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/0/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/0/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/0/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/0/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/0/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/0/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/0/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/0/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/0/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/0/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/0/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/0/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/0/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/0/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/0/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/0/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/0/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
Retrying in 0 seconds ...
BUILD FAILURE 5.9 macosSpm