Build Information
Failed to build MockCloudKitFramework with Swift 5.10 for macOS (SPM).
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.3.0-Beta.2.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.29.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ccavnor/MockCloudKitFramework.git
Reference: main
Initialized empty Git repository in /Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.git/
From https://github.com/ccavnor/MockCloudKitFramework
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at d1dc9d5 Update README.md
Cloned https://github.com/ccavnor/MockCloudKitFramework.git
Revision (git rev-parse @):
d1dc9d5d07faba46e5d08c788b5a858ede4fdf09
SUCCESS checkout https://github.com/ccavnor/MockCloudKitFramework.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 5.10
Building package at path: $workDir
https://github.com/ccavnor/MockCloudKitFramework.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0-Beta.2.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--423B1241ED78D482.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/4] Emitting module MockCloudKitFramework
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/MockCloudKitFramework/MockCloudKit.swift:115:1: warning: sendability of function types in instance method 'accountStatus(completionHandler:)' does not match requirement in protocol 'CloudContainable'
extension CKContainer: CloudContainable {}
^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/MockCloudKitFramework/MockCloudKit.swift:107:10: note: expected sendability to match requirement here
func accountStatus(completionHandler: @escaping (CKAccountStatus, Error?) -> Void)
^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/MockCloudKitFramework/MockCloudKit.swift:115:1: warning: sendability of function types in instance method 'fetchUserRecordID(completionHandler:)' does not match requirement in protocol 'CloudContainable'
extension CKContainer: CloudContainable {}
^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/MockCloudKitFramework/MockCloudKit.swift:108:10: note: expected sendability to match requirement here
func fetchUserRecordID(completionHandler: @escaping (CKRecord.ID?, Error?) -> Void)
^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/MockCloudKitFramework/MockCloudKit.swift:127:1: warning: sendability of function types in property 'completionBlock' does not match requirement in protocol 'DatabaseOperational'
extension CKDatabaseOperation: DatabaseOperational {
^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/MockCloudKitFramework/MockCloudKit.swift:97:9: note: expected sendability to match requirement here
var completionBlock: (() -> Void)? { get set }
^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/MockCloudKitFramework/MockCloudKit.swift:1213:31: error: property 'completionBlock' with type '(() -> Void)?' cannot override a property with type '(@Sendable () -> Void)?'
@objc public override var completionBlock: (() -> Void)? {
^
Foundation.Operation:31:14: note: attempt to override property here
open var completionBlock: (@Sendable () -> Void)? { get set }
^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/MockCloudKitFramework/MockCloudKit.swift:1214:9: error: getter for 'completionBlock' with Objective-C selector 'completionBlock' conflicts with getter for 'completionBlock' from superclass 'Operation' with the same Objective-C selector
get {
^
<unknown>:0: note: getter for 'completionBlock' declared here
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/MockCloudKitFramework/MockCloudKit.swift:1217:9: error: setter for 'completionBlock' with Objective-C selector 'setCompletionBlock:' conflicts with setter for 'completionBlock' from superclass 'Operation' with the same Objective-C selector
set {
^
<unknown>:0: note: setter for 'completionBlock' declared here
[4/4] Compiling MockCloudKitFramework MockCloudKit.swift
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/MockCloudKitFramework/MockCloudKit.swift:115:1: warning: sendability of function types in instance method 'accountStatus(completionHandler:)' does not match requirement in protocol 'CloudContainable'
extension CKContainer: CloudContainable {}
^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/MockCloudKitFramework/MockCloudKit.swift:107:10: note: expected sendability to match requirement here
func accountStatus(completionHandler: @escaping (CKAccountStatus, Error?) -> Void)
^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/MockCloudKitFramework/MockCloudKit.swift:115:1: warning: sendability of function types in instance method 'fetchUserRecordID(completionHandler:)' does not match requirement in protocol 'CloudContainable'
extension CKContainer: CloudContainable {}
^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/MockCloudKitFramework/MockCloudKit.swift:108:10: note: expected sendability to match requirement here
func fetchUserRecordID(completionHandler: @escaping (CKRecord.ID?, Error?) -> Void)
^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/MockCloudKitFramework/MockCloudKit.swift:127:1: warning: sendability of function types in property 'completionBlock' does not match requirement in protocol 'DatabaseOperational'
extension CKDatabaseOperation: DatabaseOperational {
^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/MockCloudKitFramework/MockCloudKit.swift:97:9: note: expected sendability to match requirement here
var completionBlock: (() -> Void)? { get set }
^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/MockCloudKitFramework/MockCloudKit.swift:1213:31: error: property 'completionBlock' with type '(() -> Void)?' cannot override a property with type '(@Sendable () -> Void)?'
@objc public override var completionBlock: (() -> Void)? {
^
Foundation.Operation:31:14: note: attempt to override property here
open var completionBlock: (@Sendable () -> Void)? { get set }
^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/MockCloudKitFramework/MockCloudKit.swift:260:16: error: ambiguous use of 'completionBlock'
mockOp.completionBlock = self.completionBlock
^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/MockCloudKitFramework/MockCloudKit.swift:1213:31: note: found this candidate
@objc public override var completionBlock: (() -> Void)? {
^
Foundation.Operation:31:14: note: found this candidate
open var completionBlock: (@Sendable () -> Void)? { get set }
^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/MockCloudKitFramework/MockCloudKit.swift:283:16: error: ambiguous use of 'completionBlock'
mockOp.completionBlock = self.completionBlock
^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/MockCloudKitFramework/MockCloudKit.swift:1213:31: note: found this candidate
@objc public override var completionBlock: (() -> Void)? {
^
Foundation.Operation:31:14: note: found this candidate
open var completionBlock: (@Sendable () -> Void)? { get set }
^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/MockCloudKitFramework/MockCloudKit.swift:307:16: error: ambiguous use of 'completionBlock'
mockOp.completionBlock = self.completionBlock
^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/MockCloudKitFramework/MockCloudKit.swift:1213:31: note: found this candidate
@objc public override var completionBlock: (() -> Void)? {
^
Foundation.Operation:31:14: note: found this candidate
open var completionBlock: (@Sendable () -> Void)? { get set }
^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/MockCloudKitFramework/MockCloudKit.swift:993:19: error: ambiguous use of 'completionBlock'
operation.completionBlock?()
^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/MockCloudKitFramework/MockCloudKit.swift:1213:31: note: found this candidate
@objc public override var completionBlock: (() -> Void)? {
^
Foundation.Operation:31:14: note: found this candidate
open var completionBlock: (@Sendable () -> Void)? { get set }
^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/MockCloudKitFramework/MockCloudKit.swift:1214:9: error: getter for 'completionBlock' with Objective-C selector 'completionBlock' conflicts with getter for 'completionBlock' from superclass 'Operation' with the same Objective-C selector
get {
^
<unknown>:0: note: getter for 'completionBlock' declared here
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/MockCloudKitFramework/MockCloudKit.swift:1217:9: error: setter for 'completionBlock' with Objective-C selector 'setCompletionBlock:' conflicts with setter for 'completionBlock' from superclass 'Operation' with the same Objective-C selector
set {
^
<unknown>:0: note: setter for 'completionBlock' declared here
error: fatalError
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version--423B1241ED78D482.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/3] Emitting module MockCloudKitFramework
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/MockCloudKitFramework/MockCloudKit.swift:115:1: warning: sendability of function types in instance method 'accountStatus(completionHandler:)' does not match requirement in protocol 'CloudContainable'
extension CKContainer: CloudContainable {}
^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/MockCloudKitFramework/MockCloudKit.swift:107:10: note: expected sendability to match requirement here
func accountStatus(completionHandler: @escaping (CKAccountStatus, Error?) -> Void)
^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/MockCloudKitFramework/MockCloudKit.swift:115:1: warning: sendability of function types in instance method 'fetchUserRecordID(completionHandler:)' does not match requirement in protocol 'CloudContainable'
extension CKContainer: CloudContainable {}
^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/MockCloudKitFramework/MockCloudKit.swift:108:10: note: expected sendability to match requirement here
func fetchUserRecordID(completionHandler: @escaping (CKRecord.ID?, Error?) -> Void)
^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/MockCloudKitFramework/MockCloudKit.swift:127:1: warning: sendability of function types in property 'completionBlock' does not match requirement in protocol 'DatabaseOperational'
extension CKDatabaseOperation: DatabaseOperational {
^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/MockCloudKitFramework/MockCloudKit.swift:97:9: note: expected sendability to match requirement here
var completionBlock: (() -> Void)? { get set }
^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/MockCloudKitFramework/MockCloudKit.swift:1213:31: error: property 'completionBlock' with type '(() -> Void)?' cannot override a property with type '(@Sendable () -> Void)?'
@objc public override var completionBlock: (() -> Void)? {
^
Foundation.Operation:31:14: note: attempt to override property here
open var completionBlock: (@Sendable () -> Void)? { get set }
^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/MockCloudKitFramework/MockCloudKit.swift:1214:9: error: getter for 'completionBlock' with Objective-C selector 'completionBlock' conflicts with getter for 'completionBlock' from superclass 'Operation' with the same Objective-C selector
get {
^
<unknown>:0: note: getter for 'completionBlock' declared here
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/MockCloudKitFramework/MockCloudKit.swift:1217:9: error: setter for 'completionBlock' with Objective-C selector 'setCompletionBlock:' conflicts with setter for 'completionBlock' from superclass 'Operation' with the same Objective-C selector
set {
^
<unknown>:0: note: setter for 'completionBlock' declared here
[3/3] Compiling MockCloudKitFramework MockCloudKit.swift
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/MockCloudKitFramework/MockCloudKit.swift:115:1: warning: sendability of function types in instance method 'accountStatus(completionHandler:)' does not match requirement in protocol 'CloudContainable'
extension CKContainer: CloudContainable {}
^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/MockCloudKitFramework/MockCloudKit.swift:107:10: note: expected sendability to match requirement here
func accountStatus(completionHandler: @escaping (CKAccountStatus, Error?) -> Void)
^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/MockCloudKitFramework/MockCloudKit.swift:115:1: warning: sendability of function types in instance method 'fetchUserRecordID(completionHandler:)' does not match requirement in protocol 'CloudContainable'
extension CKContainer: CloudContainable {}
^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/MockCloudKitFramework/MockCloudKit.swift:108:10: note: expected sendability to match requirement here
func fetchUserRecordID(completionHandler: @escaping (CKRecord.ID?, Error?) -> Void)
^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/MockCloudKitFramework/MockCloudKit.swift:127:1: warning: sendability of function types in property 'completionBlock' does not match requirement in protocol 'DatabaseOperational'
extension CKDatabaseOperation: DatabaseOperational {
^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/MockCloudKitFramework/MockCloudKit.swift:97:9: note: expected sendability to match requirement here
var completionBlock: (() -> Void)? { get set }
^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/MockCloudKitFramework/MockCloudKit.swift:1213:31: error: property 'completionBlock' with type '(() -> Void)?' cannot override a property with type '(@Sendable () -> Void)?'
@objc public override var completionBlock: (() -> Void)? {
^
Foundation.Operation:31:14: note: attempt to override property here
open var completionBlock: (@Sendable () -> Void)? { get set }
^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/MockCloudKitFramework/MockCloudKit.swift:260:16: error: ambiguous use of 'completionBlock'
mockOp.completionBlock = self.completionBlock
^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/MockCloudKitFramework/MockCloudKit.swift:1213:31: note: found this candidate
@objc public override var completionBlock: (() -> Void)? {
^
Foundation.Operation:31:14: note: found this candidate
open var completionBlock: (@Sendable () -> Void)? { get set }
^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/MockCloudKitFramework/MockCloudKit.swift:283:16: error: ambiguous use of 'completionBlock'
mockOp.completionBlock = self.completionBlock
^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/MockCloudKitFramework/MockCloudKit.swift:1213:31: note: found this candidate
@objc public override var completionBlock: (() -> Void)? {
^
Foundation.Operation:31:14: note: found this candidate
open var completionBlock: (@Sendable () -> Void)? { get set }
^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/MockCloudKitFramework/MockCloudKit.swift:307:16: error: ambiguous use of 'completionBlock'
mockOp.completionBlock = self.completionBlock
^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/MockCloudKitFramework/MockCloudKit.swift:1213:31: note: found this candidate
@objc public override var completionBlock: (() -> Void)? {
^
Foundation.Operation:31:14: note: found this candidate
open var completionBlock: (@Sendable () -> Void)? { get set }
^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/MockCloudKitFramework/MockCloudKit.swift:993:19: error: ambiguous use of 'completionBlock'
operation.completionBlock?()
^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/MockCloudKitFramework/MockCloudKit.swift:1213:31: note: found this candidate
@objc public override var completionBlock: (() -> Void)? {
^
Foundation.Operation:31:14: note: found this candidate
open var completionBlock: (@Sendable () -> Void)? { get set }
^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/MockCloudKitFramework/MockCloudKit.swift:1214:9: error: getter for 'completionBlock' with Objective-C selector 'completionBlock' conflicts with getter for 'completionBlock' from superclass 'Operation' with the same Objective-C selector
get {
^
<unknown>:0: note: getter for 'completionBlock' declared here
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/MockCloudKitFramework/MockCloudKit.swift:1217:9: error: setter for 'completionBlock' with Objective-C selector 'setCompletionBlock:' conflicts with setter for 'completionBlock' from superclass 'Operation' with the same Objective-C selector
set {
^
<unknown>:0: note: setter for 'completionBlock' declared here
error: fatalError
BUILD FAILURE 5.10 macosSpm