The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build ContactsChangeNotifier, reference main (6075fd), with Swift 5.9 for macOS (SPM) on 20 Oct 2024 19:47:08 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.2.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: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/yonat/ContactsChangeNotifier
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
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 main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.9
Building package at path:  $PWD
https://github.com/yonat/ContactsChangeNotifier.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.2.0.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Copying PrivacyInfo.xcprivacy
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.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.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.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.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.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.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.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.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.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.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.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.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.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.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.
[1/2] Compiling ContactStoreChangeHistory CNContactStore+ChangeHistory.m
[3/8] Compiling ContactsChangeNotifier CloudKitHistoryTokenStorage.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"
        ^
[4/8] Compiling ContactsChangeNotifier UserDefaultsHistoryTokenStorage.swift
/Users/admin/builder/spi-builder-workspace/Sources/ContactsChangeNotifier/ContactsChangeNotifier.swift:8:8: error: no such module 'UIKit'
import UIKit
       ^
[5/8] Compiling ContactsChangeNotifier HistoryTokenStorage.swift
/Users/admin/builder/spi-builder-workspace/Sources/ContactsChangeNotifier/ContactsChangeNotifier.swift:8:8: error: no such module 'UIKit'
import UIKit
       ^
[6/8] 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
       ^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[7/8] Emitting module ContactsChangeNotifier
/Users/admin/builder/spi-builder-workspace/Sources/ContactsChangeNotifier/ContactsChangeNotifier.swift:8:8: error: no such module 'UIKit'
import UIKit
       ^
[8/8] 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.9 macosSpm