Build Information
Failed to build BerkananSDK, reference master (7bcbad), with Swift 6.3 for macOS (SPM) on 10 Apr 2026 18:22:24 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 4.70.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
Fetching https://github.com/zssz/BerkananCompression
Fetching https://github.com/zssz/BerkananFoundation
Fetching https://github.com/apple/swift-protobuf.git
[1/23] Fetching berkananfoundation
[24/68] Fetching berkananfoundation, berkanancompression
Fetched https://github.com/zssz/BerkananCompression from cache (0.65s)
[1/45835] Fetching swift-protobuf
Fetched https://github.com/zssz/BerkananFoundation from cache (10.84s)
Fetched https://github.com/apple/swift-protobuf.git from cache (10.84s)
Computing version for https://github.com/zssz/BerkananFoundation
Computed https://github.com/zssz/BerkananFoundation at 1.0.0 (11.55s)
Computing version for https://github.com/zssz/BerkananCompression
Computed https://github.com/zssz/BerkananCompression at 1.0.3 (0.66s)
Computing version for https://github.com/apple/swift-protobuf.git
Computed https://github.com/apple/swift-protobuf.git at 1.36.1 (0.67s)
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
Creating working copy for https://github.com/apple/swift-protobuf.git
Working copy of https://github.com/apple/swift-protobuf.git resolved at 1.36.1
========================================
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",
"traits": [
"default"
],
"dependencies": [
{
"identity": "berkanansdk",
"name": "BerkananSDK",
"url": "https://github.com/zssz/BerkananSDK.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/BerkananSDK",
"traits": [
"default"
],
"dependencies": [
{
"identity": "swift-protobuf",
"name": "SwiftProtobuf",
"url": "https://github.com/apple/swift-protobuf.git",
"version": "1.36.1",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-protobuf",
"traits": [
"BinaryDelimitedStreams",
"FieldMaskUtilities"
],
"dependencies": [
]
},
{
"identity": "berkananfoundation",
"name": "BerkananFoundation",
"url": "https://github.com/zssz/BerkananFoundation",
"version": "1.0.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/BerkananFoundation",
"traits": [
"default"
],
"dependencies": [
]
},
{
"identity": "berkanancompression",
"name": "BerkananCompression",
"url": "https://github.com/zssz/BerkananCompression",
"version": "1.0.3",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/BerkananCompression",
"traits": [
"default"
],
"dependencies": [
]
}
]
}
]
}
Fetching https://github.com/zssz/BerkananSDK.git
[1/277] Fetching berkanansdk
Fetched https://github.com/zssz/BerkananSDK.git from cache (0.79s)
Fetching https://github.com/apple/swift-protobuf.git from cache
Fetching https://github.com/zssz/BerkananCompression from cache
Fetching https://github.com/zssz/BerkananFoundation from cache
Fetched https://github.com/apple/swift-protobuf.git from cache (0.75s)
Fetched https://github.com/zssz/BerkananCompression from cache (0.75s)
Fetched https://github.com/zssz/BerkananFoundation from cache (0.76s)
Computing version for https://github.com/zssz/BerkananFoundation
Computed https://github.com/zssz/BerkananFoundation at 1.0.0 (0.82s)
Computing version for https://github.com/zssz/BerkananCompression
Computed https://github.com/zssz/BerkananCompression at 1.0.3 (0.03s)
Computing version for https://github.com/apple/swift-protobuf.git
Computed https://github.com/apple/swift-protobuf.git at 1.36.1 (0.05s)
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
Creating working copy for https://github.com/apple/swift-protobuf.git
Working copy of https://github.com/apple/swift-protobuf.git resolved at 1.36.1
Creating working copy for https://github.com/zssz/BerkananSDK.git
Working copy of https://github.com/zssz/BerkananSDK.git resolved at master (7bcbad7)
warning: '.resolve-product-dependencies': dependency 'berkanansdk' is not used by any target
Found 3 product dependencies
- SwiftProtobuf
- BerkananFoundation
- BerkananCompression
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.3
Building package at path: $PWD
https://github.com/zssz/BerkananSDK.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64
[1/1] Compiling plugin SwiftProtobufPlugin
Building for debugging...
[1/12] Copying PrivacyInfo.xcprivacy
[2/12] Write sources
[6/12] Write swift-version--6988338F2F200930.txt
[7/107] Compiling CBerkananSDK CBMutableService+Init.m
[8/107] Compiling CBerkananSDK CBMutableCharacteristic+Init.m
[9/107] Compiling CBerkananSDK CBPeripheralManager+Init.m
[11/107] Compiling BerkananFoundation Types+DataRepresentable.swift
[12/107] Compiling BerkananFoundation String+Quotes.swift
[13/107] Emitting module BerkananFoundation
[14/107] Compiling BerkananFoundation DataRepresentable.swift
[15/107] Compiling BerkananCompression Data+Compression.swift
[16/107] Emitting module BerkananCompression
[17/107] Compiling BerkananCompression DataProtocol+Compression.swift
[18/107] Compiling BerkananCompression Algorithm+CustomStringConvertible.swift
[19/107] Emitting module SwiftProtobuf
[20/116] Compiling SwiftProtobuf JSONEncodingError.swift
[21/116] Compiling SwiftProtobuf JSONEncodingOptions.swift
[22/116] Compiling SwiftProtobuf JSONEncodingVisitor.swift
[23/116] Compiling SwiftProtobuf JSONMapEncodingVisitor.swift
[24/116] Compiling SwiftProtobuf JSONScanner.swift
[25/116] Compiling SwiftProtobuf MathUtils.swift
[26/116] Compiling SwiftProtobuf Message+AnyAdditions.swift
[27/116] Compiling SwiftProtobuf Message+BinaryAdditions.swift
[28/116] Compiling SwiftProtobuf Message+BinaryAdditions_Data.swift
[29/116] Compiling SwiftProtobuf Message+FieldMask.swift
[30/116] Compiling SwiftProtobuf PathVisitor.swift
[31/116] Compiling SwiftProtobuf ProtoNameProviding.swift
[32/116] Compiling SwiftProtobuf ProtobufAPIVersionCheck.swift
[33/116] Compiling SwiftProtobuf ProtobufMap.swift
[34/116] Compiling SwiftProtobuf SelectiveVisitor.swift
[35/116] Compiling SwiftProtobuf SimpleExtensionMap.swift
[36/116] Compiling SwiftProtobuf StringUtils.swift
[37/116] Compiling SwiftProtobuf SwiftProtobufContiguousBytes.swift
[38/116] Compiling SwiftProtobuf SwiftProtobufError.swift
[39/116] Compiling SwiftProtobuf Message+JSONAdditions.swift
[40/116] Compiling SwiftProtobuf Message+JSONAdditions_Data.swift
[41/116] Compiling SwiftProtobuf Message+JSONArrayAdditions.swift
[42/116] Compiling SwiftProtobuf Message+JSONArrayAdditions_Data.swift
[43/116] Compiling SwiftProtobuf Message+TextFormatAdditions.swift
[44/116] Compiling SwiftProtobuf Message.swift
[45/116] Compiling SwiftProtobuf MessageExtension.swift
[46/116] Compiling SwiftProtobuf NameMap.swift
[47/116] Compiling SwiftProtobuf PathDecoder.swift
[48/116] Compiling SwiftProtobuf AnyMessageStorage.swift
[49/116] Compiling SwiftProtobuf AnyUnpackError.swift
[50/116] Compiling SwiftProtobuf AsyncMessageSequence.swift
[51/116] Compiling SwiftProtobuf BinaryDecoder.swift
[52/116] Compiling SwiftProtobuf BinaryDecodingError.swift
[53/116] Compiling SwiftProtobuf BinaryDecodingOptions.swift
[54/116] Compiling SwiftProtobuf BinaryDelimited.swift
[55/116] Compiling SwiftProtobuf BinaryEncoder.swift
[56/116] Compiling SwiftProtobuf BinaryEncodingError.swift
[57/116] Compiling SwiftProtobuf BinaryEncodingOptions.swift
[58/116] Compiling SwiftProtobuf duration.pb.swift
[59/116] Compiling SwiftProtobuf empty.pb.swift
[60/116] Compiling SwiftProtobuf field_mask.pb.swift
[61/116] Compiling SwiftProtobuf source_context.pb.swift
[62/116] Compiling SwiftProtobuf struct.pb.swift
[63/116] Compiling SwiftProtobuf timestamp.pb.swift
[64/116] Compiling SwiftProtobuf type.pb.swift
[65/116] Compiling SwiftProtobuf wrappers.pb.swift
[66/116] Compiling SwiftProtobuf resource_bundle_accessor.swift
[67/116] Compiling SwiftProtobuf ExtensionFields.swift
[68/116] Compiling SwiftProtobuf ExtensionMap.swift
[69/116] Compiling SwiftProtobuf FieldTag.swift
[70/116] Compiling SwiftProtobuf FieldTypes.swift
[71/116] Compiling SwiftProtobuf Google_Protobuf_Any+Extensions.swift
[72/116] Compiling SwiftProtobuf Google_Protobuf_Any+Registry.swift
[73/116] Compiling SwiftProtobuf Google_Protobuf_Duration+Extensions.swift
[74/116] Compiling SwiftProtobuf Google_Protobuf_FieldMask+Extensions.swift
[75/116] Compiling SwiftProtobuf Google_Protobuf_ListValue+Extensions.swift
[76/116] Compiling SwiftProtobuf Google_Protobuf_NullValue+Extensions.swift
[77/116] Compiling SwiftProtobuf TextFormatDecoder.swift
[78/116] Compiling SwiftProtobuf TextFormatDecodingError.swift
[79/116] Compiling SwiftProtobuf TextFormatDecodingOptions.swift
[80/116] Compiling SwiftProtobuf TextFormatEncoder.swift
[81/116] Compiling SwiftProtobuf TextFormatEncodingOptions.swift
[82/116] Compiling SwiftProtobuf TextFormatEncodingVisitor.swift
[83/116] Compiling SwiftProtobuf TextFormatScanner.swift
[84/116] Compiling SwiftProtobuf TimeUtils.swift
[85/116] Compiling SwiftProtobuf UnknownStorage.swift
[86/116] Compiling SwiftProtobuf BinaryEncodingSizeVisitor.swift
[87/116] Compiling SwiftProtobuf BinaryEncodingVisitor.swift
[88/116] Compiling SwiftProtobuf BytecodeInterpreter.swift
[89/116] Compiling SwiftProtobuf BytecodeReader.swift
[90/116] Compiling SwiftProtobuf CustomJSONCodable.swift
[91/116] Compiling SwiftProtobuf Decoder.swift
[92/116] Compiling SwiftProtobuf DoubleParser.swift
[93/116] Compiling SwiftProtobuf Enum.swift
[94/116] Compiling SwiftProtobuf ExtensibleMessage.swift
[95/116] Compiling SwiftProtobuf ExtensionFieldValueSet.swift
[96/116] Compiling SwiftProtobuf UnsafeRawPointer+Shims.swift
[97/116] Compiling SwiftProtobuf Varint.swift
[98/116] Compiling SwiftProtobuf Version.swift
[99/116] Compiling SwiftProtobuf Visitor.swift
[100/116] Compiling SwiftProtobuf WireFormat.swift
[101/116] Compiling SwiftProtobuf ZigZag.swift
[102/116] Compiling SwiftProtobuf any.pb.swift
[103/116] Compiling SwiftProtobuf api.pb.swift
[104/116] Compiling SwiftProtobuf descriptor.pb.swift
[105/116] Compiling SwiftProtobuf Google_Protobuf_Struct+Extensions.swift
[106/116] Compiling SwiftProtobuf Google_Protobuf_Timestamp+Extensions.swift
[107/116] Compiling SwiftProtobuf Google_Protobuf_Value+Extensions.swift
[108/116] Compiling SwiftProtobuf Google_Protobuf_Wrappers+Extensions.swift
[109/116] Compiling SwiftProtobuf HashVisitor.swift
[110/116] Compiling SwiftProtobuf Internal.swift
[111/116] Compiling SwiftProtobuf JSONDecoder.swift
[112/116] Compiling SwiftProtobuf JSONDecodingError.swift
[113/116] Compiling SwiftProtobuf JSONDecodingOptions.swift
[114/116] Compiling SwiftProtobuf JSONEncoder.swift
[115/135] Compiling BerkananSDK PBUUID+Additions.swift
[116/135] Compiling BerkananSDK PBUUID+PayloadTypes.swift
[117/135] Compiling BerkananSDK PublicMessage.pb.swift
/Users/admin/builder/spi-builder-workspace/Sources/BerkananSDK/Protobuf/PublicMessage.pb.swift:74:65: warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
72 | extension PublicMessage: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
73 | public static let protoMessageName: String = "PublicMessage"
74 | public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
| `- warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
75 | 1: .same(proto: "identifier"),
76 | 2: .standard(proto: "source_user"),
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[118/135] Compiling BerkananSDK User+Additions.swift
/Users/admin/builder/spi-builder-workspace/Sources/BerkananSDK/Protobuf/PublicMessage.pb.swift:74:65: warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
72 | extension PublicMessage: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
73 | public static let protoMessageName: String = "PublicMessage"
74 | public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
| `- warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
75 | 1: .same(proto: "identifier"),
76 | 2: .standard(proto: "source_user"),
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[119/135] Compiling BerkananSDK Configuration.pb.swift
/Users/admin/builder/spi-builder-workspace/Sources/BerkananSDK/Protobuf/Configuration.pb.swift:62:65: warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
60 | extension Configuration: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
61 | public static let protoMessageName: String = "Configuration"
62 | public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
| `- warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
63 | 1: .same(proto: "identifier"),
64 | 2: .standard(proto: "user_info"),
/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/135] Compiling BerkananSDK Message+Additions.swift
/Users/admin/builder/spi-builder-workspace/Sources/BerkananSDK/Protobuf/Configuration.pb.swift:62:65: warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
60 | extension Configuration: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
61 | public static let protoMessageName: String = "Configuration"
62 | public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
| `- warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
63 | 1: .same(proto: "identifier"),
64 | 2: .standard(proto: "user_info"),
/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/135] 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()
/Users/admin/builder/spi-builder-workspace/Sources/BerkananSDK/Protobuf/PBUUID.pb.swift:46:65: warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
44 | extension PBUUID: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
45 | public static let protoMessageName: String = "PBUUID"
46 | public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
| `- warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
47 | 1: .same(proto: "value"),
48 | ]
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[122/135] 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()
/Users/admin/builder/spi-builder-workspace/Sources/BerkananSDK/Protobuf/PBUUID.pb.swift:46:65: warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
44 | extension PBUUID: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
45 | public static let protoMessageName: String = "PBUUID"
46 | public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
| `- warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
47 | 1: .same(proto: "value"),
48 | ]
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[123/136] 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>
[124/136] 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>
[125/136] Compiling BerkananSDK BluetoothService+CoreBluetooth.swift
[126/136] Compiling BerkananSDK BluetoothService.swift
[127/136] Compiling BerkananSDK CBPeripheral+Notifications.swift
[128/136] Compiling BerkananSDK UUID+Protobuf.swift
[129/136] 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:113:65: warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
111 | extension Message: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
112 | public static let protoMessageName: String = "Message"
113 | public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
| `- warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
114 | 1: .same(proto: "identifier"),
115 | 2: .standard(proto: "time_to_live"),
/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>
[130/136] 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:113:65: warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
111 | extension Message: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
112 | public static let protoMessageName: String = "Message"
113 | public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
| `- warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
114 | 1: .same(proto: "identifier"),
115 | 2: .standard(proto: "time_to_live"),
/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>
error: emit-module command failed with exit code 1 (use -v to see invocation)
[131/136] 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:62:65: warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
60 | extension Configuration: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
61 | public static let protoMessageName: String = "Configuration"
62 | public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
| `- warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
63 | 1: .same(proto: "identifier"),
64 | 2: .standard(proto: "user_info"),
/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:113:65: warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
111 | extension Message: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
112 | public static let protoMessageName: String = "Message"
113 | public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
| `- warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
114 | 1: .same(proto: "identifier"),
115 | 2: .standard(proto: "time_to_live"),
/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()
/Users/admin/builder/spi-builder-workspace/Sources/BerkananSDK/Protobuf/PBUUID.pb.swift:46:65: warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
44 | extension PBUUID: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
45 | public static let protoMessageName: String = "PBUUID"
46 | public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
| `- warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
47 | 1: .same(proto: "value"),
48 | ]
/Users/admin/builder/spi-builder-workspace/Sources/BerkananSDK/Protobuf/PublicMessage.pb.swift:74:65: warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
72 | extension PublicMessage: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
73 | public static let protoMessageName: String = "PublicMessage"
74 | public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
| `- warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
75 | 1: .same(proto: "identifier"),
76 | 2: .standard(proto: "source_user"),
/Users/admin/builder/spi-builder-workspace/Sources/BerkananSDK/Protobuf/User.pb.swift:61:65: warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
59 | extension User: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
60 | public static let protoMessageName: String = "User"
61 | public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
| `- warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
62 | 1: .same(proto: "identifier"),
63 | 2: .same(proto: "name"),
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[132/136] 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 | }
[133/136] 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 | }
[134/136] Compiling BerkananSDK User.pb.swift
/Users/admin/builder/spi-builder-workspace/Sources/BerkananSDK/Protobuf/User.pb.swift:61:65: warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
59 | extension User: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
60 | public static let protoMessageName: String = "User"
61 | public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
| `- warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
62 | 1: .same(proto: "identifier"),
63 | 2: .same(proto: "name"),
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
BUILD FAILURE 6.3 macosSpm