Build Information
Failed to build Bunker with Swift 5.6 for macOS (SPM).
Build Command
env DEVELOPER_DIR="/Applications/Xcode-13.4.1.app" xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.22.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/1hFCVExo/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.6
Building package at path: spi-builder-workspace
Running build ...
env DEVELOPER_DIR="/Applications/Xcode-13.4.1.app" xcrun swift build --arch arm64
warning: Usage of /Users/builder/Library/org.swift.swiftpm/collections.json has been deprecated. Please delete it and use the new /Users/builder/Library/org.swift.swiftpm/configuration/collections.json instead.
Fetching https://github.com/alexruperez/SecurePropertyStorage from cache
Fetched https://github.com/alexruperez/SecurePropertyStorage (4.22s)
Computing version for https://github.com/alexruperez/SecurePropertyStorage
Computed https://github.com/alexruperez/SecurePropertyStorage at 0.7.1 (0.45s)
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 StorageDelegate.swift
[2/7] Emitting module Storage
[3/7] Compiling Storage Storage.swift
[4/7] Compiling Storage StorageData.swift
[5/7] Compiling Storage Store.swift
[6/7] Compiling Storage DataConvertible.swift
[7/7] Compiling Storage DelegatedStorage.swift
[8/16] Compiling Keychain KeychainError.swift
[9/16] Compiling Keychain Keychain.swift
[10/16] Compiling Inject InjectError.swift
[11/16] Compiling Inject InjectStorage.swift
[12/16] Emitting module Keychain
[13/16] Compiling Keychain CryptoData.swift
[14/16] Compiling Keychain KeychainStorage.swift
[15/16] Emitting module Inject
[16/16] Compiling Inject Inject.swift
[17/22] Emitting module Singleton
[18/22] Compiling Singleton SingletonStorage.swift
[19/22] Compiling Singleton Singleton.swift
[20/22] Compiling UserDefault UserDefault.swift
[21/22] Compiling UserDefault UserDefaultsStorage.swift
[22/22] Emitting module UserDefault
[23/29] Compiling Bunker Bunker.swift
[24/29] Compiling Bunker BunkerSource.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[25/29] Compiling Bunker BunkerResource.swift
[26/29] Compiling Bunker BunkerNotifier.swift
[27/29] Compiling Bunker BunkerSearch.swift
[28/29] Compiling Bunker SearchBar.swift
/Users/builder/builds/1hFCVExo/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/1hFCVExo/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/1hFCVExo/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/1hFCVExo/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/1hFCVExo/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/1hFCVExo/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/1hFCVExo/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/1hFCVExo/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/1hFCVExo/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/1hFCVExo/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/1hFCVExo/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/1hFCVExo/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/1hFCVExo/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Bunker/SearchBar.swift:58:36: error: static method 'buildBlock' requires that 'SearchBar' conform to 'View'
static var previews: some View {
^
SwiftUI.ViewBuilder:4:24: note: where 'Content' = 'SearchBar'
public static func buildBlock<Content>(_ content: Content) -> Content where Content : View
^
/Users/builder/builds/1hFCVExo/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Bunker/SearchBar.swift:58:36: error: return type of static property 'previews' requires that 'SearchBar' conform to 'View'
static var previews: some View {
^
/Users/builder/builds/1hFCVExo/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Bunker/SearchBar.swift:58:26: note: opaque return type declared here
static var previews: some View {
^~~~~~~~~
[29/29] Emitting module Bunker
/Users/builder/builds/1hFCVExo/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/1hFCVExo/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/1hFCVExo/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/1hFCVExo/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/1hFCVExo/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/1hFCVExo/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/1hFCVExo/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/1hFCVExo/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Bunker/SearchBar.swift:11:26: error: cannot find type 'UIViewRepresentable' in scope
public struct SearchBar: UIViewRepresentable {
^~~~~~~~~~~~~~~~~~~
ShellOut encountered an error
Status code: 1
Message: "warning: Usage of /Users/builder/Library/org.swift.swiftpm/collections.json has been deprecated. Please delete it and use the new /Users/builder/Library/org.swift.swiftpm/configuration/collections.json instead."
Output: "Fetching https://github.com/alexruperez/SecurePropertyStorage from cache
Fetched https://github.com/alexruperez/SecurePropertyStorage (4.22s)
Computing version for https://github.com/alexruperez/SecurePropertyStorage
Computed https://github.com/alexruperez/SecurePropertyStorage at 0.7.1 (0.45s)
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 StorageDelegate.swift
[2/7] Emitting module Storage
[3/7] Compiling Storage Storage.swift
[4/7] Compiling Storage StorageData.swift
[5/7] Compiling Storage Store.swift
[6/7] Compiling Storage DataConvertible.swift
[7/7] Compiling Storage DelegatedStorage.swift
[8/16] Compiling Keychain KeychainError.swift
[9/16] Compiling Keychain Keychain.swift
[10/16] Compiling Inject InjectError.swift
[11/16] Compiling Inject InjectStorage.swift
[12/16] Emitting module Keychain
[13/16] Compiling Keychain CryptoData.swift
[14/16] Compiling Keychain KeychainStorage.swift
[15/16] Emitting module Inject
[16/16] Compiling Inject Inject.swift
[17/22] Emitting module Singleton
[18/22] Compiling Singleton SingletonStorage.swift
[19/22] Compiling Singleton Singleton.swift
[20/22] Compiling UserDefault UserDefault.swift
[21/22] Compiling UserDefault UserDefaultsStorage.swift
[22/22] Emitting module UserDefault
[23/29] Compiling Bunker Bunker.swift
[24/29] Compiling Bunker BunkerSource.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)[25/29] Compiling Bunker BunkerResource.swift
[26/29] Compiling Bunker BunkerNotifier.swift
[27/29] Compiling Bunker BunkerSearch.swift
[28/29] Compiling Bunker SearchBar.swift
/Users/builder/builds/1hFCVExo/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/1hFCVExo/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/1hFCVExo/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/1hFCVExo/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/1hFCVExo/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/1hFCVExo/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/1hFCVExo/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/1hFCVExo/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/1hFCVExo/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/1hFCVExo/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/1hFCVExo/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/1hFCVExo/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/1hFCVExo/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Bunker/SearchBar.swift:58:36: error: static method 'buildBlock' requires that 'SearchBar' conform to 'View'
static var previews: some View {
^
SwiftUI.ViewBuilder:4:24: note: where 'Content' = 'SearchBar'
public static func buildBlock<Content>(_ content: Content) -> Content where Content : View
^
/Users/builder/builds/1hFCVExo/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Bunker/SearchBar.swift:58:36: error: return type of static property 'previews' requires that 'SearchBar' conform to 'View'
static var previews: some View {
^
/Users/builder/builds/1hFCVExo/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Bunker/SearchBar.swift:58:26: note: opaque return type declared here
static var previews: some View {
^~~~~~~~~
[29/29] Emitting module Bunker
/Users/builder/builds/1hFCVExo/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/1hFCVExo/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/1hFCVExo/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/1hFCVExo/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/1hFCVExo/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/1hFCVExo/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/1hFCVExo/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/1hFCVExo/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Bunker/SearchBar.swift:11:26: error: cannot find type 'UIViewRepresentable' in scope
public struct SearchBar: UIViewRepresentable {
^~~~~~~~~~~~~~~~~~~"
Retrying in 0.0 seconds ...
Building ... (attempt 2)
warning: Usage of /Users/builder/Library/org.swift.swiftpm/collections.json has been deprecated. Please delete it and use the new /Users/builder/Library/org.swift.swiftpm/configuration/collections.json instead.
[1/1] Planning build
Building for debugging...
error: emit-module command failed with exit code 1 (use -v to see invocation)
[1/2] Compiling Bunker SearchBar.swift
/Users/builder/builds/1hFCVExo/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/1hFCVExo/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/1hFCVExo/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/1hFCVExo/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/1hFCVExo/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/1hFCVExo/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/1hFCVExo/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/1hFCVExo/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/1hFCVExo/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/1hFCVExo/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/1hFCVExo/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/1hFCVExo/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/1hFCVExo/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Bunker/SearchBar.swift:58:36: error: return type of static property 'previews' requires that 'SearchBar' conform to 'View'
static var previews: some View {
^
/Users/builder/builds/1hFCVExo/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Bunker/SearchBar.swift:58:26: note: opaque return type declared here
static var previews: some View {
^~~~~~~~~
/Users/builder/builds/1hFCVExo/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Bunker/SearchBar.swift:58:36: error: static method 'buildBlock' requires that 'SearchBar' conform to 'View'
static var previews: some View {
^
SwiftUI.ViewBuilder:4:24: note: where 'Content' = 'SearchBar'
public static func buildBlock<Content>(_ content: Content) -> Content where Content : View
^
[2/2] Emitting module Bunker
/Users/builder/builds/1hFCVExo/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/1hFCVExo/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/1hFCVExo/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/1hFCVExo/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/1hFCVExo/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/1hFCVExo/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/1hFCVExo/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/1hFCVExo/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Bunker/SearchBar.swift:11:26: error: cannot find type 'UIViewRepresentable' in scope
public struct SearchBar: UIViewRepresentable {
^~~~~~~~~~~~~~~~~~~
ShellOut encountered an error
Status code: 1
Message: "warning: Usage of /Users/builder/Library/org.swift.swiftpm/collections.json has been deprecated. Please delete it and use the new /Users/builder/Library/org.swift.swiftpm/configuration/collections.json instead."
Output: "[1/1] Planning build
Building for debugging...
error: emit-module command failed with exit code 1 (use -v to see invocation)[1/2] Compiling Bunker SearchBar.swift
/Users/builder/builds/1hFCVExo/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/1hFCVExo/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/1hFCVExo/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/1hFCVExo/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/1hFCVExo/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/1hFCVExo/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/1hFCVExo/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/1hFCVExo/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/1hFCVExo/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/1hFCVExo/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/1hFCVExo/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/1hFCVExo/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/1hFCVExo/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Bunker/SearchBar.swift:58:36: error: return type of static property 'previews' requires that 'SearchBar' conform to 'View'
static var previews: some View {
^
/Users/builder/builds/1hFCVExo/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Bunker/SearchBar.swift:58:26: note: opaque return type declared here
static var previews: some View {
^~~~~~~~~
/Users/builder/builds/1hFCVExo/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Bunker/SearchBar.swift:58:36: error: static method 'buildBlock' requires that 'SearchBar' conform to 'View'
static var previews: some View {
^
SwiftUI.ViewBuilder:4:24: note: where 'Content' = 'SearchBar'
public static func buildBlock<Content>(_ content: Content) -> Content where Content : View
^
[2/2] Emitting module Bunker
/Users/builder/builds/1hFCVExo/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/1hFCVExo/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/1hFCVExo/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/1hFCVExo/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/1hFCVExo/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/1hFCVExo/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/1hFCVExo/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/1hFCVExo/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Bunker/SearchBar.swift:11:26: error: cannot find type 'UIViewRepresentable' in scope
public struct SearchBar: UIViewRepresentable {
^~~~~~~~~~~~~~~~~~~"
BUILD FAILURE 5.6 macosSpm
Build Machine: Mac 4