The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build ContactsChangeNotifier, reference 1.2.0 (6075fd), with Swift 6.0 for macOS (SPM) on 2 Dec 2024 05:33:48 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures

Build Log

========================================
RunAll
========================================
Builder version: 4.58.1
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
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "contactschangenotifier",
      "name": "ContactsChangeNotifier",
      "url": "https://github.com/yonat/ContactsChangeNotifier.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/ContactsChangeNotifier",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/yonat/ContactsChangeNotifier.git
[4/319] Fetching contactschangenotifier
Fetched https://github.com/yonat/ContactsChangeNotifier.git from cache (0.83s)
Creating working copy for https://github.com/yonat/ContactsChangeNotifier.git
Working copy of https://github.com/yonat/ContactsChangeNotifier.git resolved at 1.2.0 (6075fd7)
warning: '.resolve-product-dependencies': dependency 'contactschangenotifier' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/yonat/ContactsChangeNotifier.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "ContactsChangeNotifier",
  "name" : "ContactsChangeNotifier",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "15.0"
    }
  ],
  "products" : [
    {
      "name" : "ContactsChangeNotifier",
      "targets" : [
        "ContactsChangeNotifier",
        "ContactStoreChangeHistory"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "5"
  ],
  "targets" : [
    {
      "c99name" : "ContactsChangeNotifier",
      "module_type" : "SwiftTarget",
      "name" : "ContactsChangeNotifier",
      "path" : "Sources/ContactsChangeNotifier",
      "product_memberships" : [
        "ContactsChangeNotifier"
      ],
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/ContactsChangeNotifier/PrivacyInfo.xcprivacy",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "ContactsChangeNotifier.swift",
        "HistoryTokenStorage/CloudKitHistoryTokenStorage.swift",
        "HistoryTokenStorage/HistoryTokenStorage.swift",
        "HistoryTokenStorage/UserDefaultsHistoryTokenStorage.swift"
      ],
      "target_dependencies" : [
        "ContactStoreChangeHistory"
      ],
      "type" : "library"
    },
    {
      "c99name" : "ContactStoreChangeHistory",
      "module_type" : "ClangTarget",
      "name" : "ContactStoreChangeHistory",
      "path" : "Sources/ContactStoreChangeHistory",
      "product_memberships" : [
        "ContactsChangeNotifier"
      ],
      "sources" : [
        "CNContactStore+ChangeHistory.m"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.6"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/4] Write sources
[1/4] Copying PrivacyInfo.xcprivacy
[2/4] Write swift-version--7754E27361AE5C74.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]
   18 | - (CNFetchResult<NSEnumerator<CNChangeHistoryEvent *> *> *)swiftEnumeratorForChangeHistoryFetchRequest:(CNChangeHistoryFetchRequest *)request
      |    ^
/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.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
   15 | @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
   18 | - (CNFetchResult<NSEnumerator<CNChangeHistoryEvent *> *> *)swiftEnumeratorForChangeHistoryFetchRequest:(CNChangeHistoryFetchRequest *)request
      | ^
   19 |                                                                                                  error:(NSError * _Nullable *)error;
      |
      |                                                                                                                                     API_AVAILABLE(macos(10.15))
/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]
   18 | - (CNFetchResult<NSEnumerator<CNChangeHistoryEvent *> *> *)swiftEnumeratorForChangeHistoryFetchRequest:(CNChangeHistoryFetchRequest *)request
      |                               ^
/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.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
   17 | @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
   18 | - (CNFetchResult<NSEnumerator<CNChangeHistoryEvent *> *> *)swiftEnumeratorForChangeHistoryFetchRequest:(CNChangeHistoryFetchRequest *)request
      | ^
   19 |                                                                                                  error:(NSError * _Nullable *)error;
      |
      |                                                                                                                                     API_AVAILABLE(macos(10.15))
/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]
   18 | - (CNFetchResult<NSEnumerator<CNChangeHistoryEvent *> *> *)swiftEnumeratorForChangeHistoryFetchRequest:(CNChangeHistoryFetchRequest *)request
      |                                                                                                         ^
/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.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
   22 | @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
   18 | - (CNFetchResult<NSEnumerator<CNChangeHistoryEvent *> *> *)swiftEnumeratorForChangeHistoryFetchRequest:(CNChangeHistoryFetchRequest *)request
      | ^
   19 |                                                                                                  error:(NSError * _Nullable *)error;
      |
      |                                                                                                                                     API_AVAILABLE(macos(10.15))
/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]
   12 | - (CNFetchResult<NSEnumerator<CNChangeHistoryEvent *> *> *)swiftEnumeratorForChangeHistoryFetchRequest:(CNChangeHistoryFetchRequest *)request
      |    ^
/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.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
   15 | @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
   12 | - (CNFetchResult<NSEnumerator<CNChangeHistoryEvent *> *> *)swiftEnumeratorForChangeHistoryFetchRequest:(CNChangeHistoryFetchRequest *)request
      | ^
   13 |                                                                                                  error:(NSError * _Nullable *)error
   14 | {
      |  API_AVAILABLE(macos(10.15))
/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]
   12 | - (CNFetchResult<NSEnumerator<CNChangeHistoryEvent *> *> *)swiftEnumeratorForChangeHistoryFetchRequest:(CNChangeHistoryFetchRequest *)request
      |                               ^
/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.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
   17 | @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
   12 | - (CNFetchResult<NSEnumerator<CNChangeHistoryEvent *> *> *)swiftEnumeratorForChangeHistoryFetchRequest:(CNChangeHistoryFetchRequest *)request
      | ^
   13 |                                                                                                  error:(NSError * _Nullable *)error
   14 | {
      |  API_AVAILABLE(macos(10.15))
/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]
   12 | - (CNFetchResult<NSEnumerator<CNChangeHistoryEvent *> *> *)swiftEnumeratorForChangeHistoryFetchRequest:(CNChangeHistoryFetchRequest *)request
      |                                                                                                         ^
/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.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
   22 | @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
   12 | - (CNFetchResult<NSEnumerator<CNChangeHistoryEvent *> *> *)swiftEnumeratorForChangeHistoryFetchRequest:(CNChangeHistoryFetchRequest *)request
      | ^
   13 |                                                                                                  error:(NSError * _Nullable *)error
   14 | {
      |  API_AVAILABLE(macos(10.15))
/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]
   15 |     return [self enumeratorForChangeHistoryFetchRequest:request error:error];
      |                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/System/Library/Frameworks/Contacts.framework/Headers/CNContactStore.h:165:1: note: 'enumeratorForChangeHistoryFetchRequest:error:' has been marked as being introduced in macOS 10.15 here, but the deployment target is macOS 10.13.0
  165 | - (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
   15 |     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'
  6 |
  7 | @preconcurrency import Contacts
  8 | import UIKit
    |        `- error: no such module 'UIKit'
  9 |
 10 | #if !COCOAPODS
[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'
  6 |
  7 | @preconcurrency import Contacts
  8 | import UIKit
    |        `- error: no such module 'UIKit'
  9 |
 10 | #if !COCOAPODS
error: emit-module command failed with exit code 1 (use -v to see invocation)
[7/10] Compiling ContactsChangeNotifier CloudKitHistoryTokenStorage.swift
/Users/admin/builder/spi-builder-workspace/Sources/ContactsChangeNotifier/ContactsChangeNotifier.swift:8:8: error: no such module 'UIKit'
  6 |
  7 | @preconcurrency import Contacts
  8 | import UIKit
    |        `- error: no such module 'UIKit'
  9 |
 10 | #if !COCOAPODS
[8/10] Emitting module ContactsChangeNotifier
/Users/admin/builder/spi-builder-workspace/Sources/ContactsChangeNotifier/ContactsChangeNotifier.swift:8:8: error: no such module 'UIKit'
  6 |
  7 | @preconcurrency import Contacts
  8 | import UIKit
    |        `- error: no such module 'UIKit'
  9 |
 10 | #if !COCOAPODS
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "/Users/admin/builder/spi-builder-workspace/Sources/ContactStoreChangeHistory/include/ContactStoreChangeHistory.h"
  |         `- note: in file included from <module-includes>:1:
2 |
/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:
1 | #import "../CNContactStore+ChangeHistory.h"
  |         `- note: in file included from /Users/admin/builder/spi-builder-workspace/Sources/ContactStoreChangeHistory/include/ContactStoreChangeHistory.h:1:
2 |
[9/10] Compiling ContactsChangeNotifier HistoryTokenStorage.swift
/Users/admin/builder/spi-builder-workspace/Sources/ContactsChangeNotifier/ContactsChangeNotifier.swift:8:8: error: no such module 'UIKit'
  6 |
  7 | @preconcurrency import Contacts
  8 | import UIKit
    |        `- error: no such module 'UIKit'
  9 |
 10 | #if !COCOAPODS
[10/10] Compiling ContactsChangeNotifier ContactsChangeNotifier.swift
/Users/admin/builder/spi-builder-workspace/Sources/ContactsChangeNotifier/ContactsChangeNotifier.swift:8:8: error: no such module 'UIKit'
  6 |
  7 | @preconcurrency import Contacts
  8 | import UIKit
    |        `- error: no such module 'UIKit'
  9 |
 10 | #if !COCOAPODS
BUILD FAILURE 6.0 macosSpm