Build Information
Failed to build BerkananSDK, reference master (7bcbad
), with Swift 6.2 (beta) for macOS (SPM) on 17 Jun 2025 21:27:32 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/zssz/BerkananSDK.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/zssz/BerkananSDK
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 7bcbad7 Update README.md
Cloned https://github.com/zssz/BerkananSDK.git
Revision (git rev-parse @):
7bcbad726aa451e09860a0a9ae77414ded9a0f4f
SUCCESS checkout https://github.com/zssz/BerkananSDK.git at master
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.2
Building package at path: $PWD
https://github.com/zssz/BerkananSDK.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
[1/1] Compiling plugin SwiftProtobufPlugin
Building for debugging...
[1/12] Write sources
[3/12] Copying PrivacyInfo.xcprivacy
[4/12] Write sources
[6/12] Write swift-version-1EA4D86E10B52AF.txt
[7/105] Compiling CBerkananSDK CBPeripheralManager+Init.m
[8/105] Compiling CBerkananSDK CBMutableService+Init.m
[9/105] Compiling CBerkananSDK CBMutableCharacteristic+Init.m
[11/105] Compiling BerkananFoundation Types+DataRepresentable.swift
[12/105] Compiling BerkananFoundation DataRepresentable.swift
[13/105] Compiling BerkananFoundation String+Quotes.swift
[14/105] Emitting module BerkananFoundation
[15/105] Compiling BerkananCompression DataProtocol+Compression.swift
[16/105] Compiling BerkananCompression Algorithm+CustomStringConvertible.swift
[17/105] Emitting module BerkananCompression
[18/105] Compiling BerkananCompression Data+Compression.swift
[19/105] Compiling SwiftProtobuf BinaryEncodingSizeVisitor.swift
[20/105] Compiling SwiftProtobuf BinaryEncodingVisitor.swift
[21/105] Compiling SwiftProtobuf CustomJSONCodable.swift
[22/105] Compiling SwiftProtobuf Decoder.swift
[23/105] Compiling SwiftProtobuf DoubleParser.swift
[24/105] Compiling SwiftProtobuf Enum.swift
[25/105] Compiling SwiftProtobuf ExtensibleMessage.swift
[26/105] Compiling SwiftProtobuf ExtensionFieldValueSet.swift
[27/105] Compiling SwiftProtobuf ExtensionFields.swift
[28/105] Compiling SwiftProtobuf ExtensionMap.swift
[29/114] Compiling SwiftProtobuf FieldTag.swift
[30/114] Compiling SwiftProtobuf FieldTypes.swift
[31/114] Compiling SwiftProtobuf Google_Protobuf_Any+Extensions.swift
[32/114] Compiling SwiftProtobuf Google_Protobuf_Any+Registry.swift
[33/114] Compiling SwiftProtobuf Google_Protobuf_Duration+Extensions.swift
[34/114] Compiling SwiftProtobuf Google_Protobuf_FieldMask+Extensions.swift
[35/114] Compiling SwiftProtobuf Google_Protobuf_ListValue+Extensions.swift
[36/114] Compiling SwiftProtobuf Google_Protobuf_NullValue+Extensions.swift
[37/114] Compiling SwiftProtobuf Google_Protobuf_Struct+Extensions.swift
[38/114] Compiling SwiftProtobuf Google_Protobuf_Timestamp+Extensions.swift
[39/114] Compiling SwiftProtobuf JSONEncodingOptions.swift
[40/114] Compiling SwiftProtobuf JSONEncodingVisitor.swift
[41/114] Compiling SwiftProtobuf JSONMapEncodingVisitor.swift
[42/114] Compiling SwiftProtobuf JSONScanner.swift
[43/114] Compiling SwiftProtobuf MathUtils.swift
[44/114] Compiling SwiftProtobuf Message+AnyAdditions.swift
[45/114] Compiling SwiftProtobuf Message+BinaryAdditions.swift
[46/114] Compiling SwiftProtobuf Message+BinaryAdditions_Data.swift
[47/114] Compiling SwiftProtobuf Message+FieldMask.swift
[48/114] Compiling SwiftProtobuf PathVisitor.swift
[49/114] Compiling SwiftProtobuf ProtoNameProviding.swift
[50/114] Compiling SwiftProtobuf ProtobufAPIVersionCheck.swift
[51/114] Compiling SwiftProtobuf ProtobufMap.swift
[52/114] Compiling SwiftProtobuf SelectiveVisitor.swift
[53/114] Compiling SwiftProtobuf SimpleExtensionMap.swift
[54/114] Compiling SwiftProtobuf StringUtils.swift
[55/114] Compiling SwiftProtobuf SwiftProtobufContiguousBytes.swift
[56/114] Compiling SwiftProtobuf SwiftProtobufError.swift
[57/114] Compiling SwiftProtobuf AnyMessageStorage.swift
[58/114] Compiling SwiftProtobuf AnyUnpackError.swift
[59/114] Compiling SwiftProtobuf AsyncMessageSequence.swift
[60/114] Compiling SwiftProtobuf BinaryDecoder.swift
[61/114] Compiling SwiftProtobuf BinaryDecodingError.swift
[62/114] Compiling SwiftProtobuf BinaryDecodingOptions.swift
[63/114] Compiling SwiftProtobuf BinaryDelimited.swift
[64/114] Compiling SwiftProtobuf BinaryEncoder.swift
[65/114] Compiling SwiftProtobuf BinaryEncodingError.swift
[66/114] Compiling SwiftProtobuf BinaryEncodingOptions.swift
[67/114] Compiling SwiftProtobuf Message+JSONAdditions.swift
[68/114] Compiling SwiftProtobuf Message+JSONAdditions_Data.swift
[69/114] Compiling SwiftProtobuf Message+JSONArrayAdditions.swift
[70/114] Compiling SwiftProtobuf Message+JSONArrayAdditions_Data.swift
[71/114] Compiling SwiftProtobuf Message+TextFormatAdditions.swift
[72/114] Compiling SwiftProtobuf Message.swift
[73/114] Compiling SwiftProtobuf MessageExtension.swift
[74/114] Compiling SwiftProtobuf NameMap.swift
[75/114] Compiling SwiftProtobuf PathDecoder.swift
[76/114] Compiling SwiftProtobuf Google_Protobuf_Value+Extensions.swift
[77/114] Compiling SwiftProtobuf Google_Protobuf_Wrappers+Extensions.swift
[78/114] Compiling SwiftProtobuf HashVisitor.swift
[79/114] Compiling SwiftProtobuf Internal.swift
[80/114] Compiling SwiftProtobuf JSONDecoder.swift
[81/114] Compiling SwiftProtobuf JSONDecodingError.swift
[82/114] Compiling SwiftProtobuf JSONDecodingOptions.swift
[83/114] Compiling SwiftProtobuf JSONEncoder.swift
[84/114] Compiling SwiftProtobuf JSONEncodingError.swift
[85/114] Compiling SwiftProtobuf TextFormatDecoder.swift
[86/114] Compiling SwiftProtobuf TextFormatDecodingError.swift
[87/114] Compiling SwiftProtobuf TextFormatDecodingOptions.swift
[88/114] Compiling SwiftProtobuf TextFormatEncoder.swift
[89/114] Compiling SwiftProtobuf TextFormatEncodingOptions.swift
[90/114] Compiling SwiftProtobuf TextFormatEncodingVisitor.swift
[91/114] Compiling SwiftProtobuf TextFormatScanner.swift
[92/114] Compiling SwiftProtobuf TimeUtils.swift
[93/114] Compiling SwiftProtobuf UnknownStorage.swift
[94/114] Compiling SwiftProtobuf duration.pb.swift
[95/114] Compiling SwiftProtobuf empty.pb.swift
[96/114] Compiling SwiftProtobuf field_mask.pb.swift
[97/114] Compiling SwiftProtobuf source_context.pb.swift
[98/114] Compiling SwiftProtobuf struct.pb.swift
[99/114] Compiling SwiftProtobuf timestamp.pb.swift
[100/114] Compiling SwiftProtobuf type.pb.swift
[101/114] Compiling SwiftProtobuf wrappers.pb.swift
[102/114] Compiling SwiftProtobuf resource_bundle_accessor.swift
[103/114] Compiling SwiftProtobuf UnsafeRawPointer+Shims.swift
[104/114] Compiling SwiftProtobuf Varint.swift
[105/114] Compiling SwiftProtobuf Version.swift
[106/114] Compiling SwiftProtobuf Visitor.swift
[107/114] Compiling SwiftProtobuf WireFormat.swift
[108/114] Compiling SwiftProtobuf ZigZag.swift
[109/114] Compiling SwiftProtobuf any.pb.swift
[110/114] Compiling SwiftProtobuf api.pb.swift
[111/114] Compiling SwiftProtobuf descriptor.pb.swift
[112/114] Emitting module SwiftProtobuf
[113/133] Compiling BerkananSDK PBUUID+Additions.swift
[114/133] Compiling BerkananSDK PBUUID+PayloadTypes.swift
[115/133] Compiling BerkananSDK PBUUID.pb.swift
/Users/admin/builder/spi-builder-workspace/Sources/BerkananSDK/Protobuf/PBUUID.pb.swift:35:51: warning: 'emptyData' is deprecated: Internal.emptyData isn't used any longer in newer versions of the generator. Generate code with a version later than 1.10.2 to get performance improvements. See https://github.com/apple/swift-protobuf/pull/1028 for more information. [#DeprecatedDeclaration]
33 |
34 | /// The required 16 bytes value of the UUID in little endian order.
35 | public var value: Data = SwiftProtobuf.Internal.emptyData
| `- warning: 'emptyData' is deprecated: Internal.emptyData isn't used any longer in newer versions of the generator. Generate code with a version later than 1.10.2 to get performance improvements. See https://github.com/apple/swift-protobuf/pull/1028 for more information. [#DeprecatedDeclaration]
36 |
37 | public var unknownFields = SwiftProtobuf.UnknownStorage()
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[116/133] Compiling BerkananSDK PublicMessage+Additions.swift
/Users/admin/builder/spi-builder-workspace/Sources/BerkananSDK/Protobuf/PBUUID.pb.swift:35:51: warning: 'emptyData' is deprecated: Internal.emptyData isn't used any longer in newer versions of the generator. Generate code with a version later than 1.10.2 to get performance improvements. See https://github.com/apple/swift-protobuf/pull/1028 for more information. [#DeprecatedDeclaration]
33 |
34 | /// The required 16 bytes value of the UUID in little endian order.
35 | public var value: Data = SwiftProtobuf.Internal.emptyData
| `- warning: 'emptyData' is deprecated: Internal.emptyData isn't used any longer in newer versions of the generator. Generate code with a version later than 1.10.2 to get performance improvements. See https://github.com/apple/swift-protobuf/pull/1028 for more information. [#DeprecatedDeclaration]
36 |
37 | public var unknownFields = SwiftProtobuf.UnknownStorage()
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[117/133] Compiling BerkananSDK PublicMessage.pb.swift
[118/133] Compiling BerkananSDK User+Additions.swift
[119/134] Compiling BerkananSDK Configuration.pb.swift
/Users/admin/builder/spi-builder-workspace/Sources/BerkananSDK/Protobuf/Configuration.pb.swift:69:50: warning: 'emptyData' is deprecated: Internal.emptyData isn't used any longer in newer versions of the generator. Generate code with a version later than 1.10.2 to get performance improvements. See https://github.com/apple/swift-protobuf/pull/1028 for more information. [#DeprecatedDeclaration]
67 | fileprivate class _StorageClass {
68 | var _identifier: PBUUID? = nil
69 | var _userInfo: Data = SwiftProtobuf.Internal.emptyData
| `- warning: 'emptyData' is deprecated: Internal.emptyData isn't used any longer in newer versions of the generator. Generate code with a version later than 1.10.2 to get performance improvements. See https://github.com/apple/swift-protobuf/pull/1028 for more information. [#DeprecatedDeclaration]
70 |
71 | static let defaultInstance = _StorageClass()
/Users/admin/builder/spi-builder-workspace/Sources/BerkananSDK/Protobuf/Message+Additions.swift:45:54: warning: 'emptyData' is deprecated: Internal.emptyData isn't used any longer in newer versions of the generator. Generate code with a version later than 1.10.2 to get performance improvements. See https://github.com/apple/swift-protobuf/pull/1028 for more information. [#DeprecatedDeclaration]
43 | self.payloadType = payloadType
44 | }
45 | self.payload = payload ?? SwiftProtobuf.Internal.emptyData
| `- warning: 'emptyData' is deprecated: Internal.emptyData isn't used any longer in newer versions of the generator. Generate code with a version later than 1.10.2 to get performance improvements. See https://github.com/apple/swift-protobuf/pull/1028 for more information. [#DeprecatedDeclaration]
46 | }
47 |
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[120/134] Compiling BerkananSDK Message+Additions.swift
/Users/admin/builder/spi-builder-workspace/Sources/BerkananSDK/Protobuf/Configuration.pb.swift:69:50: warning: 'emptyData' is deprecated: Internal.emptyData isn't used any longer in newer versions of the generator. Generate code with a version later than 1.10.2 to get performance improvements. See https://github.com/apple/swift-protobuf/pull/1028 for more information. [#DeprecatedDeclaration]
67 | fileprivate class _StorageClass {
68 | var _identifier: PBUUID? = nil
69 | var _userInfo: Data = SwiftProtobuf.Internal.emptyData
| `- warning: 'emptyData' is deprecated: Internal.emptyData isn't used any longer in newer versions of the generator. Generate code with a version later than 1.10.2 to get performance improvements. See https://github.com/apple/swift-protobuf/pull/1028 for more information. [#DeprecatedDeclaration]
70 |
71 | static let defaultInstance = _StorageClass()
/Users/admin/builder/spi-builder-workspace/Sources/BerkananSDK/Protobuf/Message+Additions.swift:45:54: warning: 'emptyData' is deprecated: Internal.emptyData isn't used any longer in newer versions of the generator. Generate code with a version later than 1.10.2 to get performance improvements. See https://github.com/apple/swift-protobuf/pull/1028 for more information. [#DeprecatedDeclaration]
43 | self.payloadType = payloadType
44 | }
45 | self.payload = payload ?? SwiftProtobuf.Internal.emptyData
| `- warning: 'emptyData' is deprecated: Internal.emptyData isn't used any longer in newer versions of the generator. Generate code with a version later than 1.10.2 to get performance improvements. See https://github.com/apple/swift-protobuf/pull/1028 for more information. [#DeprecatedDeclaration]
46 | }
47 |
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[121/134] Compiling BerkananSDK Message+PDU.swift
/Users/admin/builder/spi-builder-workspace/Sources/BerkananSDK/Protobuf/Message+PDU.swift:27:14: warning: 'init(serializedData:extensions:partial:options:)' is deprecated: replaced by 'init(serializedBytes:extensions:partial:options:)' [#DeprecatedDeclaration]
25 | throw CBATTError(.invalidPdu)
26 | }
27 | try self.init(serializedData: result)
| |- warning: 'init(serializedData:extensions:partial:options:)' is deprecated: replaced by 'init(serializedBytes:extensions:partial:options:)' [#DeprecatedDeclaration]
| `- note: use 'init(serializedBytes:extensions:partial:options:)' instead
28 | }
29 |
/Users/admin/builder/spi-builder-workspace/Sources/BerkananSDK/Protobuf/Message.pb.swift:128:49: warning: 'emptyData' is deprecated: Internal.emptyData isn't used any longer in newer versions of the generator. Generate code with a version later than 1.10.2 to get performance improvements. See https://github.com/apple/swift-protobuf/pull/1028 for more information. [#DeprecatedDeclaration]
126 | var _destinationAddress: PBUUID? = nil
127 | var _payloadType: PBUUID? = nil
128 | var _payload: Data = SwiftProtobuf.Internal.emptyData
| `- warning: 'emptyData' is deprecated: Internal.emptyData isn't used any longer in newer versions of the generator. Generate code with a version later than 1.10.2 to get performance improvements. See https://github.com/apple/swift-protobuf/pull/1028 for more information. [#DeprecatedDeclaration]
129 |
130 | static let defaultInstance = _StorageClass()
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[122/134] Compiling BerkananSDK Message.pb.swift
/Users/admin/builder/spi-builder-workspace/Sources/BerkananSDK/Protobuf/Message+PDU.swift:27:14: warning: 'init(serializedData:extensions:partial:options:)' is deprecated: replaced by 'init(serializedBytes:extensions:partial:options:)' [#DeprecatedDeclaration]
25 | throw CBATTError(.invalidPdu)
26 | }
27 | try self.init(serializedData: result)
| |- warning: 'init(serializedData:extensions:partial:options:)' is deprecated: replaced by 'init(serializedBytes:extensions:partial:options:)' [#DeprecatedDeclaration]
| `- note: use 'init(serializedBytes:extensions:partial:options:)' instead
28 | }
29 |
/Users/admin/builder/spi-builder-workspace/Sources/BerkananSDK/Protobuf/Message.pb.swift:128:49: warning: 'emptyData' is deprecated: Internal.emptyData isn't used any longer in newer versions of the generator. Generate code with a version later than 1.10.2 to get performance improvements. See https://github.com/apple/swift-protobuf/pull/1028 for more information. [#DeprecatedDeclaration]
126 | var _destinationAddress: PBUUID? = nil
127 | var _payloadType: PBUUID? = nil
128 | var _payload: Data = SwiftProtobuf.Internal.emptyData
| `- warning: 'emptyData' is deprecated: Internal.emptyData isn't used any longer in newer versions of the generator. Generate code with a version later than 1.10.2 to get performance improvements. See https://github.com/apple/swift-protobuf/pull/1028 for more information. [#DeprecatedDeclaration]
129 |
130 | static let defaultInstance = _StorageClass()
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[123/134] Compiling BerkananSDK CBPeripheral+Notifications.swift
[124/134] Compiling BerkananSDK UUID+Protobuf.swift
[125/134] Compiling BerkananSDK User.pb.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[126/134] Compiling BerkananSDK Configuration+Additions.swift
/Users/admin/builder/spi-builder-workspace/Sources/BerkananSDK/Protobuf/Configuration+Additions.swift:18:56: warning: 'emptyData' is deprecated: Internal.emptyData isn't used any longer in newer versions of the generator. Generate code with a version later than 1.10.2 to get performance improvements. See https://github.com/apple/swift-protobuf/pull/1028 for more information. [#DeprecatedDeclaration]
16 | public init(identifier: UUID, userInfo: Data? = nil) {
17 | self.identifier = identifier.protobufValue()
18 | self.userInfo = userInfo ?? SwiftProtobuf.Internal.emptyData
| `- warning: 'emptyData' is deprecated: Internal.emptyData isn't used any longer in newer versions of the generator. Generate code with a version later than 1.10.2 to get performance improvements. See https://github.com/apple/swift-protobuf/pull/1028 for more information. [#DeprecatedDeclaration]
19 | }
20 |
/Users/admin/builder/spi-builder-workspace/Sources/BerkananSDK/Protobuf/Configuration+PDU.swift:27:14: warning: 'init(serializedData:extensions:partial:options:)' is deprecated: replaced by 'init(serializedBytes:extensions:partial:options:)' [#DeprecatedDeclaration]
25 | throw CBATTError(.invalidPdu)
26 | }
27 | try self.init(serializedData: result)
| |- warning: 'init(serializedData:extensions:partial:options:)' is deprecated: replaced by 'init(serializedBytes:extensions:partial:options:)' [#DeprecatedDeclaration]
| `- note: use 'init(serializedBytes:extensions:partial:options:)' instead
28 | }
29 |
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[127/134] Compiling BerkananSDK Configuration+PDU.swift
/Users/admin/builder/spi-builder-workspace/Sources/BerkananSDK/Protobuf/Configuration+Additions.swift:18:56: warning: 'emptyData' is deprecated: Internal.emptyData isn't used any longer in newer versions of the generator. Generate code with a version later than 1.10.2 to get performance improvements. See https://github.com/apple/swift-protobuf/pull/1028 for more information. [#DeprecatedDeclaration]
16 | public init(identifier: UUID, userInfo: Data? = nil) {
17 | self.identifier = identifier.protobufValue()
18 | self.userInfo = userInfo ?? SwiftProtobuf.Internal.emptyData
| `- warning: 'emptyData' is deprecated: Internal.emptyData isn't used any longer in newer versions of the generator. Generate code with a version later than 1.10.2 to get performance improvements. See https://github.com/apple/swift-protobuf/pull/1028 for more information. [#DeprecatedDeclaration]
19 | }
20 |
/Users/admin/builder/spi-builder-workspace/Sources/BerkananSDK/Protobuf/Configuration+PDU.swift:27:14: warning: 'init(serializedData:extensions:partial:options:)' is deprecated: replaced by 'init(serializedBytes:extensions:partial:options:)' [#DeprecatedDeclaration]
25 | throw CBATTError(.invalidPdu)
26 | }
27 | try self.init(serializedData: result)
| |- warning: 'init(serializedData:extensions:partial:options:)' is deprecated: replaced by 'init(serializedBytes:extensions:partial:options:)' [#DeprecatedDeclaration]
| `- note: use 'init(serializedBytes:extensions:partial:options:)' instead
28 | }
29 |
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[128/134] Compiling BerkananSDK BluetoothService+CoreBluetooth.swift
[129/134] Compiling BerkananSDK BluetoothService.swift
[130/134] Emitting module BerkananSDK
/Users/admin/builder/spi-builder-workspace/Sources/BerkananSDK/BerkananBluetoothService.swift:17:51: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead [#deprecation]
15 | /// A protocol defining methods that local Berkanan Bluetooth service instances call on their delegates to
16 | /// handle events like receiving messages.
17 | public protocol BerkananBluetoothServiceDelegate: class {
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead [#deprecation]
18 |
19 | /// Tells the delegate that the local Berkanan Bluetooth `service` discovered `remoteService` with
/Users/admin/builder/spi-builder-workspace/Sources/BerkananSDK/BerkananBluetoothService.swift:73:4: error: stored properties cannot be marked potentially unavailable with '@available'
71 | ///
72 | /// Note: Events are not delivered on the main thread.
73 | @available(OSX 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
| `- error: stored properties cannot be marked potentially unavailable with '@available'
74 | lazy public private(set) var discoverServiceSubject =
75 | PassthroughSubject<BerkananBluetoothService, Never>()
/Users/admin/builder/spi-builder-workspace/Sources/BerkananSDK/BerkananBluetoothService.swift:80:4: error: stored properties cannot be marked potentially unavailable with '@available'
78 | ///
79 | /// Note: Events are not delivered on the main thread.
80 | @available(OSX 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
| `- error: stored properties cannot be marked potentially unavailable with '@available'
81 | lazy public private(set) var numberOfServicesInRangeSubject =
82 | PassthroughSubject<Int, Never>()
/Users/admin/builder/spi-builder-workspace/Sources/BerkananSDK/BerkananBluetoothService.swift:87:4: error: stored properties cannot be marked potentially unavailable with '@available'
85 | ///
86 | /// Note: Events are not delivered on the main thread.
87 | @available(OSX 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
| `- error: stored properties cannot be marked potentially unavailable with '@available'
88 | lazy public private(set) var receiveMessageSubject =
89 | PassthroughSubject<Message, Never>()
/Users/admin/builder/spi-builder-workspace/Sources/BerkananSDK/Protobuf/Configuration.pb.swift:69:50: warning: 'emptyData' is deprecated: Internal.emptyData isn't used any longer in newer versions of the generator. Generate code with a version later than 1.10.2 to get performance improvements. See https://github.com/apple/swift-protobuf/pull/1028 for more information. [#DeprecatedDeclaration]
67 | fileprivate class _StorageClass {
68 | var _identifier: PBUUID? = nil
69 | var _userInfo: Data = SwiftProtobuf.Internal.emptyData
| `- warning: 'emptyData' is deprecated: Internal.emptyData isn't used any longer in newer versions of the generator. Generate code with a version later than 1.10.2 to get performance improvements. See https://github.com/apple/swift-protobuf/pull/1028 for more information. [#DeprecatedDeclaration]
70 |
71 | static let defaultInstance = _StorageClass()
/Users/admin/builder/spi-builder-workspace/Sources/BerkananSDK/Protobuf/Message.pb.swift:128:49: warning: 'emptyData' is deprecated: Internal.emptyData isn't used any longer in newer versions of the generator. Generate code with a version later than 1.10.2 to get performance improvements. See https://github.com/apple/swift-protobuf/pull/1028 for more information. [#DeprecatedDeclaration]
126 | var _destinationAddress: PBUUID? = nil
127 | var _payloadType: PBUUID? = nil
128 | var _payload: Data = SwiftProtobuf.Internal.emptyData
| `- warning: 'emptyData' is deprecated: Internal.emptyData isn't used any longer in newer versions of the generator. Generate code with a version later than 1.10.2 to get performance improvements. See https://github.com/apple/swift-protobuf/pull/1028 for more information. [#DeprecatedDeclaration]
129 |
130 | static let defaultInstance = _StorageClass()
/Users/admin/builder/spi-builder-workspace/Sources/BerkananSDK/Protobuf/PBUUID.pb.swift:35:51: warning: 'emptyData' is deprecated: Internal.emptyData isn't used any longer in newer versions of the generator. Generate code with a version later than 1.10.2 to get performance improvements. See https://github.com/apple/swift-protobuf/pull/1028 for more information. [#DeprecatedDeclaration]
33 |
34 | /// The required 16 bytes value of the UUID in little endian order.
35 | public var value: Data = SwiftProtobuf.Internal.emptyData
| `- warning: 'emptyData' is deprecated: Internal.emptyData isn't used any longer in newer versions of the generator. Generate code with a version later than 1.10.2 to get performance improvements. See https://github.com/apple/swift-protobuf/pull/1028 for more information. [#DeprecatedDeclaration]
36 |
37 | public var unknownFields = SwiftProtobuf.UnknownStorage()
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[131/134] Compiling BerkananSDK BerkananBluetoothService.swift
/Users/admin/builder/spi-builder-workspace/Sources/BerkananSDK/BerkananBluetoothService.swift:17:51: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead [#deprecation]
15 | /// A protocol defining methods that local Berkanan Bluetooth service instances call on their delegates to
16 | /// handle events like receiving messages.
17 | public protocol BerkananBluetoothServiceDelegate: class {
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead [#deprecation]
18 |
19 | /// Tells the delegate that the local Berkanan Bluetooth `service` discovered `remoteService` with
/Users/admin/builder/spi-builder-workspace/Sources/BerkananSDK/BerkananBluetoothService.swift:73:4: error: stored properties cannot be marked potentially unavailable with '@available'
71 | ///
72 | /// Note: Events are not delivered on the main thread.
73 | @available(OSX 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
| `- error: stored properties cannot be marked potentially unavailable with '@available'
74 | lazy public private(set) var discoverServiceSubject =
75 | PassthroughSubject<BerkananBluetoothService, Never>()
/Users/admin/builder/spi-builder-workspace/Sources/BerkananSDK/BerkananBluetoothService.swift:80:4: error: stored properties cannot be marked potentially unavailable with '@available'
78 | ///
79 | /// Note: Events are not delivered on the main thread.
80 | @available(OSX 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
| `- error: stored properties cannot be marked potentially unavailable with '@available'
81 | lazy public private(set) var numberOfServicesInRangeSubject =
82 | PassthroughSubject<Int, Never>()
/Users/admin/builder/spi-builder-workspace/Sources/BerkananSDK/BerkananBluetoothService.swift:87:4: error: stored properties cannot be marked potentially unavailable with '@available'
85 | ///
86 | /// Note: Events are not delivered on the main thread.
87 | @available(OSX 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
| `- error: stored properties cannot be marked potentially unavailable with '@available'
88 | lazy public private(set) var receiveMessageSubject =
89 | PassthroughSubject<Message, Never>()
/Users/admin/builder/spi-builder-workspace/Sources/BerkananSDK/Bluetooth/BluetoothController.swift:1084:26: error: value of optional type 'CBService?' must be unwrapped to refer to member 'description' of wrapped base type 'CBService'
1082 | peripheral.name ?? "",
1083 | characteristic.description,
1084 | characteristic.service.description,
| |- error: value of optional type 'CBService?' must be unwrapped to refer to member 'description' of wrapped base type 'CBService'
| |- note: chain the optional using '?' to access member 'description' only for non-'nil' base values
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
1085 | error as CVarArg
1086 | )
/Users/admin/builder/spi-builder-workspace/Sources/BerkananSDK/Bluetooth/BluetoothController.swift:1097:26: error: value of optional type 'CBService?' must be unwrapped to refer to member 'description' of wrapped base type 'CBService'
1095 | peripheral.name ?? "",
1096 | characteristic.description,
1097 | characteristic.service.description
| |- error: value of optional type 'CBService?' must be unwrapped to refer to member 'description' of wrapped base type 'CBService'
| |- note: chain the optional using '?' to access member 'description' only for non-'nil' base values
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
1098 | )
1099 | }
/Users/admin/builder/spi-builder-workspace/Sources/BerkananSDK/Bluetooth/BluetoothController.swift:1117:26: error: value of optional type 'CBService?' must be unwrapped to refer to member 'description' of wrapped base type 'CBService'
1115 | peripheral.name ?? "",
1116 | characteristic.description,
1117 | characteristic.service.description,
| |- error: value of optional type 'CBService?' must be unwrapped to refer to member 'description' of wrapped base type 'CBService'
| |- note: chain the optional using '?' to access member 'description' only for non-'nil' base values
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
1118 | error as CVarArg
1119 | )
/Users/admin/builder/spi-builder-workspace/Sources/BerkananSDK/Bluetooth/BluetoothController.swift:1131:26: error: value of optional type 'CBService?' must be unwrapped to refer to member 'description' of wrapped base type 'CBService'
1129 | characteristic.value?.count ?? 0,
1130 | characteristic.description,
1131 | characteristic.service.description
| |- error: value of optional type 'CBService?' must be unwrapped to refer to member 'description' of wrapped base type 'CBService'
| |- note: chain the optional using '?' to access member 'description' only for non-'nil' base values
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
1132 | )
1133 | }
[132/134] Compiling BerkananSDK BluetoothController.swift
/Users/admin/builder/spi-builder-workspace/Sources/BerkananSDK/BerkananBluetoothService.swift:17:51: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead [#deprecation]
15 | /// A protocol defining methods that local Berkanan Bluetooth service instances call on their delegates to
16 | /// handle events like receiving messages.
17 | public protocol BerkananBluetoothServiceDelegate: class {
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead [#deprecation]
18 |
19 | /// Tells the delegate that the local Berkanan Bluetooth `service` discovered `remoteService` with
/Users/admin/builder/spi-builder-workspace/Sources/BerkananSDK/BerkananBluetoothService.swift:73:4: error: stored properties cannot be marked potentially unavailable with '@available'
71 | ///
72 | /// Note: Events are not delivered on the main thread.
73 | @available(OSX 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
| `- error: stored properties cannot be marked potentially unavailable with '@available'
74 | lazy public private(set) var discoverServiceSubject =
75 | PassthroughSubject<BerkananBluetoothService, Never>()
/Users/admin/builder/spi-builder-workspace/Sources/BerkananSDK/BerkananBluetoothService.swift:80:4: error: stored properties cannot be marked potentially unavailable with '@available'
78 | ///
79 | /// Note: Events are not delivered on the main thread.
80 | @available(OSX 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
| `- error: stored properties cannot be marked potentially unavailable with '@available'
81 | lazy public private(set) var numberOfServicesInRangeSubject =
82 | PassthroughSubject<Int, Never>()
/Users/admin/builder/spi-builder-workspace/Sources/BerkananSDK/BerkananBluetoothService.swift:87:4: error: stored properties cannot be marked potentially unavailable with '@available'
85 | ///
86 | /// Note: Events are not delivered on the main thread.
87 | @available(OSX 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
| `- error: stored properties cannot be marked potentially unavailable with '@available'
88 | lazy public private(set) var receiveMessageSubject =
89 | PassthroughSubject<Message, Never>()
/Users/admin/builder/spi-builder-workspace/Sources/BerkananSDK/Bluetooth/BluetoothController.swift:1084:26: error: value of optional type 'CBService?' must be unwrapped to refer to member 'description' of wrapped base type 'CBService'
1082 | peripheral.name ?? "",
1083 | characteristic.description,
1084 | characteristic.service.description,
| |- error: value of optional type 'CBService?' must be unwrapped to refer to member 'description' of wrapped base type 'CBService'
| |- note: chain the optional using '?' to access member 'description' only for non-'nil' base values
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
1085 | error as CVarArg
1086 | )
/Users/admin/builder/spi-builder-workspace/Sources/BerkananSDK/Bluetooth/BluetoothController.swift:1097:26: error: value of optional type 'CBService?' must be unwrapped to refer to member 'description' of wrapped base type 'CBService'
1095 | peripheral.name ?? "",
1096 | characteristic.description,
1097 | characteristic.service.description
| |- error: value of optional type 'CBService?' must be unwrapped to refer to member 'description' of wrapped base type 'CBService'
| |- note: chain the optional using '?' to access member 'description' only for non-'nil' base values
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
1098 | )
1099 | }
/Users/admin/builder/spi-builder-workspace/Sources/BerkananSDK/Bluetooth/BluetoothController.swift:1117:26: error: value of optional type 'CBService?' must be unwrapped to refer to member 'description' of wrapped base type 'CBService'
1115 | peripheral.name ?? "",
1116 | characteristic.description,
1117 | characteristic.service.description,
| |- error: value of optional type 'CBService?' must be unwrapped to refer to member 'description' of wrapped base type 'CBService'
| |- note: chain the optional using '?' to access member 'description' only for non-'nil' base values
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
1118 | error as CVarArg
1119 | )
/Users/admin/builder/spi-builder-workspace/Sources/BerkananSDK/Bluetooth/BluetoothController.swift:1131:26: error: value of optional type 'CBService?' must be unwrapped to refer to member 'description' of wrapped base type 'CBService'
1129 | characteristic.value?.count ?? 0,
1130 | characteristic.description,
1131 | characteristic.service.description
| |- error: value of optional type 'CBService?' must be unwrapped to refer to member 'description' of wrapped base type 'CBService'
| |- note: chain the optional using '?' to access member 'description' only for non-'nil' base values
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
1132 | )
1133 | }
Fetching https://github.com/apple/swift-protobuf.git
Fetching https://github.com/zssz/BerkananCompression
Fetching https://github.com/zssz/BerkananFoundation
[1/45] Fetching berkanancompression
[4/68] Fetching berkanancompression, berkananfoundation
[62/39523] Fetching berkanancompression, berkananfoundation, swift-protobuf
Fetched https://github.com/zssz/BerkananCompression from cache (3.85s)
Fetched https://github.com/apple/swift-protobuf.git from cache (3.85s)
Fetched https://github.com/zssz/BerkananFoundation from cache (3.85s)
Computing version for https://github.com/zssz/BerkananFoundation
Computed https://github.com/zssz/BerkananFoundation at 1.0.0 (4.39s)
Computing version for https://github.com/zssz/BerkananCompression
Computed https://github.com/zssz/BerkananCompression at 1.0.3 (0.50s)
Computing version for https://github.com/apple/swift-protobuf.git
Computed https://github.com/apple/swift-protobuf.git at 1.30.0 (0.41s)
Creating working copy for https://github.com/apple/swift-protobuf.git
Working copy of https://github.com/apple/swift-protobuf.git resolved at 1.30.0
Creating working copy for https://github.com/zssz/BerkananCompression
Working copy of https://github.com/zssz/BerkananCompression resolved at 1.0.3
Creating working copy for https://github.com/zssz/BerkananFoundation
Working copy of https://github.com/zssz/BerkananFoundation resolved at 1.0.0
BUILD FAILURE 6.2 macosSpm