Build Information
Failed to build ContactsChangeNotifier, reference 1.2.0 (6075fd
), with Swift 5.10 for macOS (SPM) on 20 Oct 2024 19:48:46 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.4.0.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.55.3
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/yonat/ContactsChangeNotifier.git
Reference: 1.2.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/yonat/ContactsChangeNotifier
* tag 1.2.0 -> FETCH_HEAD
HEAD is now at 6075fd7 bump version to 1.2.0
Cloned https://github.com/yonat/ContactsChangeNotifier.git
Revision (git rev-parse @):
6075fd769fbdd3d23140f81ada82f71a22c444b7
SUCCESS checkout https://github.com/yonat/ContactsChangeNotifier.git at 1.2.0
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 5.10
Building package at path: $PWD
https://github.com/yonat/ContactsChangeNotifier.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/4] Write sources
[1/4] Copying PrivacyInfo.xcprivacy
[2/4] Write swift-version-33747A42983211AE.txt
In file included from /Users/admin/builder/spi-builder-workspace/Sources/ContactStoreChangeHistory/CNContactStore+ChangeHistory.m:8:
/Users/admin/builder/spi-builder-workspace/Sources/ContactStoreChangeHistory/CNContactStore+ChangeHistory.h:18:4: warning: 'CNFetchResult' is only available on macOS 10.15 or newer [-Wunguarded-availability-new]
- (CNFetchResult<NSEnumerator<CNChangeHistoryEvent *> *> *)swiftEnumeratorForChangeHistoryFetchRequest:(CNChangeHistoryFetchRequest *)request
^
/Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/Contacts.framework/Headers/CNFetchResult.h:15:12: note: 'CNFetchResult' has been marked as being introduced in macOS 10.15 here, but the deployment target is macOS 10.13.0
@interface CNFetchResult<ValueType> : NSObject
^
/Users/admin/builder/spi-builder-workspace/Sources/ContactStoreChangeHistory/CNContactStore+ChangeHistory.h:18:1: note: annotate 'swiftEnumeratorForChangeHistoryFetchRequest:error:' with an availability attribute to silence this warning
- (CNFetchResult<NSEnumerator<CNChangeHistoryEvent *> *> *)swiftEnumeratorForChangeHistoryFetchRequest:(CNChangeHistoryFetchRequest *)request
^
/Users/admin/builder/spi-builder-workspace/Sources/ContactStoreChangeHistory/CNContactStore+ChangeHistory.h:18:31: warning: 'CNChangeHistoryEvent' is only available on macOS 10.15 or newer [-Wunguarded-availability-new]
- (CNFetchResult<NSEnumerator<CNChangeHistoryEvent *> *> *)swiftEnumeratorForChangeHistoryFetchRequest:(CNChangeHistoryFetchRequest *)request
^
/Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/Contacts.framework/Headers/CNChangeHistoryEvent.h:17:12: note: 'CNChangeHistoryEvent' has been marked as being introduced in macOS 10.15 here, but the deployment target is macOS 10.13.0
@interface CNChangeHistoryEvent : NSObject <NSCopying, NSSecureCoding>
^
/Users/admin/builder/spi-builder-workspace/Sources/ContactStoreChangeHistory/CNContactStore+ChangeHistory.h:18:1: note: annotate 'swiftEnumeratorForChangeHistoryFetchRequest:error:' with an availability attribute to silence this warning
- (CNFetchResult<NSEnumerator<CNChangeHistoryEvent *> *> *)swiftEnumeratorForChangeHistoryFetchRequest:(CNChangeHistoryFetchRequest *)request
^
/Users/admin/builder/spi-builder-workspace/Sources/ContactStoreChangeHistory/CNContactStore+ChangeHistory.h:18:105: warning: 'CNChangeHistoryFetchRequest' is only available on macOS 10.15 or newer [-Wunguarded-availability-new]
- (CNFetchResult<NSEnumerator<CNChangeHistoryEvent *> *> *)swiftEnumeratorForChangeHistoryFetchRequest:(CNChangeHistoryFetchRequest *)request
^
/Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/Contacts.framework/Headers/CNChangeHistoryFetchRequest.h:22:12: note: 'CNChangeHistoryFetchRequest' has been marked as being introduced in macOS 10.15 here, but the deployment target is macOS 10.13.0
@interface CNChangeHistoryFetchRequest : CNFetchRequest <NSSecureCoding>
^
/Users/admin/builder/spi-builder-workspace/Sources/ContactStoreChangeHistory/CNContactStore+ChangeHistory.h:18:1: note: annotate 'swiftEnumeratorForChangeHistoryFetchRequest:error:' with an availability attribute to silence this warning
- (CNFetchResult<NSEnumerator<CNChangeHistoryEvent *> *> *)swiftEnumeratorForChangeHistoryFetchRequest:(CNChangeHistoryFetchRequest *)request
^
/Users/admin/builder/spi-builder-workspace/Sources/ContactStoreChangeHistory/CNContactStore+ChangeHistory.m:12:4: warning: 'CNFetchResult' is only available on macOS 10.15 or newer [-Wunguarded-availability-new]
- (CNFetchResult<NSEnumerator<CNChangeHistoryEvent *> *> *)swiftEnumeratorForChangeHistoryFetchRequest:(CNChangeHistoryFetchRequest *)request
^
/Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/Contacts.framework/Headers/CNFetchResult.h:15:12: note: 'CNFetchResult' has been marked as being introduced in macOS 10.15 here, but the deployment target is macOS 10.13.0
@interface CNFetchResult<ValueType> : NSObject
^
/Users/admin/builder/spi-builder-workspace/Sources/ContactStoreChangeHistory/CNContactStore+ChangeHistory.m:12:1: note: annotate 'swiftEnumeratorForChangeHistoryFetchRequest:error:' with an availability attribute to silence this warning
- (CNFetchResult<NSEnumerator<CNChangeHistoryEvent *> *> *)swiftEnumeratorForChangeHistoryFetchRequest:(CNChangeHistoryFetchRequest *)request
^
/Users/admin/builder/spi-builder-workspace/Sources/ContactStoreChangeHistory/CNContactStore+ChangeHistory.m:12:31: warning: 'CNChangeHistoryEvent' is only available on macOS 10.15 or newer [-Wunguarded-availability-new]
- (CNFetchResult<NSEnumerator<CNChangeHistoryEvent *> *> *)swiftEnumeratorForChangeHistoryFetchRequest:(CNChangeHistoryFetchRequest *)request
^
/Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/Contacts.framework/Headers/CNChangeHistoryEvent.h:17:12: note: 'CNChangeHistoryEvent' has been marked as being introduced in macOS 10.15 here, but the deployment target is macOS 10.13.0
@interface CNChangeHistoryEvent : NSObject <NSCopying, NSSecureCoding>
^
/Users/admin/builder/spi-builder-workspace/Sources/ContactStoreChangeHistory/CNContactStore+ChangeHistory.m:12:1: note: annotate 'swiftEnumeratorForChangeHistoryFetchRequest:error:' with an availability attribute to silence this warning
- (CNFetchResult<NSEnumerator<CNChangeHistoryEvent *> *> *)swiftEnumeratorForChangeHistoryFetchRequest:(CNChangeHistoryFetchRequest *)request
^
/Users/admin/builder/spi-builder-workspace/Sources/ContactStoreChangeHistory/CNContactStore+ChangeHistory.m:12:105: warning: 'CNChangeHistoryFetchRequest' is only available on macOS 10.15 or newer [-Wunguarded-availability-new]
- (CNFetchResult<NSEnumerator<CNChangeHistoryEvent *> *> *)swiftEnumeratorForChangeHistoryFetchRequest:(CNChangeHistoryFetchRequest *)request
^
/Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/Contacts.framework/Headers/CNChangeHistoryFetchRequest.h:22:12: note: 'CNChangeHistoryFetchRequest' has been marked as being introduced in macOS 10.15 here, but the deployment target is macOS 10.13.0
@interface CNChangeHistoryFetchRequest : CNFetchRequest <NSSecureCoding>
^
/Users/admin/builder/spi-builder-workspace/Sources/ContactStoreChangeHistory/CNContactStore+ChangeHistory.m:12:1: note: annotate 'swiftEnumeratorForChangeHistoryFetchRequest:error:' with an availability attribute to silence this warning
- (CNFetchResult<NSEnumerator<CNChangeHistoryEvent *> *> *)swiftEnumeratorForChangeHistoryFetchRequest:(CNChangeHistoryFetchRequest *)request
^
/Users/admin/builder/spi-builder-workspace/Sources/ContactStoreChangeHistory/CNContactStore+ChangeHistory.m:15:18: warning: 'enumeratorForChangeHistoryFetchRequest:error:' is only available on macOS 10.15 or newer [-Wunguarded-availability-new]
return [self enumeratorForChangeHistoryFetchRequest:request error:error];
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/Contacts.framework/Headers/CNContactStore.h:163:1: note: 'enumeratorForChangeHistoryFetchRequest:error:' has been marked as being introduced in macOS 10.15 here, but the deployment target is macOS 10.13.0
- (nullable CNFetchResult<NSEnumerator<CNChangeHistoryEvent *> *> *)enumeratorForChangeHistoryFetchRequest:(CNChangeHistoryFetchRequest *)request error:(NSError **)error API_AVAILABLE(macos(10.15), ios(13.0), watchos(6.0)) NS_SWIFT_UNAVAILABLE("");
^
/Users/admin/builder/spi-builder-workspace/Sources/ContactStoreChangeHistory/CNContactStore+ChangeHistory.m:15:18: note: enclose 'enumeratorForChangeHistoryFetchRequest:error:' in an @available check to silence this warning
return [self enumeratorForChangeHistoryFetchRequest:request error:error];
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
7 warnings generated.
[3/4] Compiling ContactStoreChangeHistory CNContactStore+ChangeHistory.m
[5/10] Compiling ContactsChangeNotifier UserDefaultsHistoryTokenStorage.swift
/Users/admin/builder/spi-builder-workspace/Sources/ContactsChangeNotifier/ContactsChangeNotifier.swift:8:8: error: no such module 'UIKit'
import UIKit
^
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "/Users/admin/builder/spi-builder-workspace/Sources/ContactStoreChangeHistory/include/ContactStoreChangeHistory.h"
^
/Users/admin/builder/spi-builder-workspace/Sources/ContactStoreChangeHistory/include/ContactStoreChangeHistory.h:1:9: note: in file included from /Users/admin/builder/spi-builder-workspace/Sources/ContactStoreChangeHistory/include/ContactStoreChangeHistory.h:1:
#import "../CNContactStore+ChangeHistory.h"
^
[6/10] Compiling ContactsChangeNotifier resource_bundle_accessor.swift
/Users/admin/builder/spi-builder-workspace/Sources/ContactsChangeNotifier/ContactsChangeNotifier.swift:8:8: error: no such module 'UIKit'
import UIKit
^
[7/10] Compiling ContactsChangeNotifier HistoryTokenStorage.swift
/Users/admin/builder/spi-builder-workspace/Sources/ContactsChangeNotifier/ContactsChangeNotifier.swift:8:8: error: no such module 'UIKit'
import UIKit
^
[8/10] Compiling ContactsChangeNotifier CloudKitHistoryTokenStorage.swift
/Users/admin/builder/spi-builder-workspace/Sources/ContactsChangeNotifier/ContactsChangeNotifier.swift:8:8: error: no such module 'UIKit'
import UIKit
^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[9/10] Emitting module ContactsChangeNotifier
/Users/admin/builder/spi-builder-workspace/Sources/ContactsChangeNotifier/ContactsChangeNotifier.swift:8:8: error: no such module 'UIKit'
import UIKit
^
[10/10] Compiling ContactsChangeNotifier ContactsChangeNotifier.swift
/Users/admin/builder/spi-builder-workspace/Sources/ContactsChangeNotifier/ContactsChangeNotifier.swift:8:8: error: no such module 'UIKit'
import UIKit
^
error: fatalError
BUILD FAILURE 5.10 macosSpm