Build Information
Failed to build BerkananSDK, reference 2.2.8 (3ea4e8
), with Swift 6.1 for macOS (SPM) on 24 Apr 2025 19:51:09 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/zssz/BerkananSDK.git
Reference: 2.2.8
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/zssz/BerkananSDK
* tag 2.2.8 -> FETCH_HEAD
HEAD is now at 3ea4e8c Update README.md
Cloned https://github.com/zssz/BerkananSDK.git
Revision (git rev-parse @):
3ea4e8ca0eb038c789c4be7ead0de0bd7954dec6
SUCCESS checkout https://github.com/zssz/BerkananSDK.git at 2.2.8
Fetching https://github.com/zssz/BerkananCompression
Fetching https://github.com/zssz/BerkananFoundation
Fetching https://github.com/apple/swift-protobuf.git from cache
[1/23] Fetching berkananfoundation
[24/68] Fetching berkananfoundation, berkanancompression
Fetched https://github.com/zssz/BerkananCompression from cache (0.60s)
Fetched https://github.com/zssz/BerkananFoundation from cache (0.60s)
Fetched https://github.com/apple/swift-protobuf.git from cache (0.60s)
Computing version for https://github.com/zssz/BerkananFoundation
Computed https://github.com/zssz/BerkananFoundation at 1.0.0 (1.18s)
Computing version for https://github.com/zssz/BerkananCompression
Computed https://github.com/zssz/BerkananCompression at 1.0.3 (0.53s)
Computing version for https://github.com/apple/swift-protobuf.git
Computed https://github.com/apple/swift-protobuf.git at 1.29.0 (0.47s)
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.29.0
Creating working copy for https://github.com/zssz/BerkananCompression
Working copy of https://github.com/zssz/BerkananCompression resolved at 1.0.3
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "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",
"dependencies": [
{
"identity": "swift-protobuf",
"name": "SwiftProtobuf",
"url": "https://github.com/apple/swift-protobuf.git",
"version": "1.29.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-protobuf",
"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",
"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",
"dependencies": [
]
}
]
}
]
}
Fetching https://github.com/zssz/BerkananSDK.git
[1/277] Fetching berkanansdk
Fetched https://github.com/zssz/BerkananSDK.git from cache (0.65s)
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/zssz/BerkananCompression from cache (0.45s)
Fetched https://github.com/zssz/BerkananFoundation from cache (0.63s)
Fetched https://github.com/apple/swift-protobuf.git from cache (0.63s)
Computing version for https://github.com/zssz/BerkananFoundation
Computed https://github.com/zssz/BerkananFoundation at 1.0.0 (0.69s)
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.29.0 (0.03s)
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/BerkananSDK.git
Working copy of https://github.com/zssz/BerkananSDK.git resolved at 2.2.8 (3ea4e8c)
Creating working copy for https://github.com/apple/swift-protobuf.git
Working copy of https://github.com/apple/swift-protobuf.git resolved at 1.29.0
Creating working copy for https://github.com/zssz/BerkananFoundation
Working copy of https://github.com/zssz/BerkananFoundation resolved at 1.0.0
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.1
Building package at path: $PWD
https://github.com/zssz/BerkananSDK.git
https://github.com/zssz/BerkananSDK.git
{
"dependencies" : [
{
"identity" : "swift-protobuf",
"requirement" : {
"range" : [
{
"lower_bound" : "1.7.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-protobuf.git"
},
{
"identity" : "berkananfoundation",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/zssz/BerkananFoundation"
},
{
"identity" : "berkanancompression",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/zssz/BerkananCompression"
}
],
"manifest_display_name" : "BerkananSDK",
"name" : "BerkananSDK",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "9.0"
},
{
"name" : "macos",
"version" : "10.13"
},
{
"name" : "watchos",
"version" : "4.0"
},
{
"name" : "tvos",
"version" : "9.0"
}
],
"products" : [
{
"name" : "BerkananSDK",
"targets" : [
"BerkananSDK"
],
"type" : {
"library" : [
"static"
]
}
}
],
"swift_languages_versions" : [
"5"
],
"targets" : [
{
"c99name" : "CBerkananSDK",
"module_type" : "ClangTarget",
"name" : "CBerkananSDK",
"path" : "Sources/CBerkananSDK",
"product_memberships" : [
"BerkananSDK"
],
"sources" : [
"CBMutableCharacteristic+Init.m",
"CBMutableService+Init.m",
"CBPeripheralManager+Init.m"
],
"type" : "library"
},
{
"c99name" : "BerkananSDKTests",
"module_type" : "SwiftTarget",
"name" : "BerkananSDKTests",
"path" : "Tests/BerkananSDKTests",
"sources" : [
"BerkananSDKTests.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"BerkananSDK"
],
"type" : "test"
},
{
"c99name" : "BerkananSDK",
"module_type" : "SwiftTarget",
"name" : "BerkananSDK",
"path" : "Sources/BerkananSDK",
"product_dependencies" : [
"SwiftProtobuf",
"BerkananFoundation",
"BerkananCompression"
],
"product_memberships" : [
"BerkananSDK"
],
"sources" : [
"BerkananBluetoothService.swift",
"Bluetooth/BluetoothController.swift",
"Bluetooth/BluetoothService+CoreBluetooth.swift",
"Bluetooth/BluetoothService.swift",
"Bluetooth/CBPeripheral+Notifications.swift",
"Foundation/UUID+Protobuf.swift",
"Protobuf/Configuration+Additions.swift",
"Protobuf/Configuration+PDU.swift",
"Protobuf/Configuration.pb.swift",
"Protobuf/Message+Additions.swift",
"Protobuf/Message+PDU.swift",
"Protobuf/Message.pb.swift",
"Protobuf/PBUUID+Additions.swift",
"Protobuf/PBUUID+PayloadTypes.swift",
"Protobuf/PBUUID.pb.swift",
"Protobuf/PublicMessage+Additions.swift",
"Protobuf/PublicMessage.pb.swift",
"Protobuf/User+Additions.swift",
"Protobuf/User.pb.swift"
],
"target_dependencies" : [
"CBerkananSDK"
],
"type" : "library"
}
],
"tools_version" : "5.1"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
[1/1] Compiling plugin SwiftProtobufPlugin
Building for debugging...
[1/12] Write sources
[5/12] Copying PrivacyInfo.xcprivacy
[6/12] Write swift-version-2F0A5646E1D333AE.txt
[7/105] Compiling CBerkananSDK CBPeripheralManager+Init.m
[8/105] Compiling CBerkananSDK CBMutableService+Init.m
[9/105] Compiling CBerkananSDK CBMutableCharacteristic+Init.m
[11/105] Emitting module SwiftProtobuf
[12/114] Compiling BerkananFoundation String+Quotes.swift
[13/114] Compiling BerkananFoundation DataRepresentable.swift
[14/114] Emitting module BerkananFoundation
[15/114] Compiling BerkananFoundation Types+DataRepresentable.swift
[16/114] Compiling BerkananCompression DataProtocol+Compression.swift
[17/114] Compiling BerkananCompression Algorithm+CustomStringConvertible.swift
[18/114] Compiling BerkananCompression Data+Compression.swift
[19/114] Emitting module BerkananCompression
[20/114] Compiling SwiftProtobuf PathVisitor.swift
[21/114] Compiling SwiftProtobuf ProtoNameProviding.swift
[22/114] Compiling SwiftProtobuf ProtobufAPIVersionCheck.swift
[23/114] Compiling SwiftProtobuf ProtobufMap.swift
[24/114] Compiling SwiftProtobuf SelectiveVisitor.swift
[25/114] Compiling SwiftProtobuf SimpleExtensionMap.swift
[26/114] Compiling SwiftProtobuf StringUtils.swift
[27/114] Compiling SwiftProtobuf SwiftProtobufContiguousBytes.swift
[28/114] Compiling SwiftProtobuf SwiftProtobufError.swift
[29/114] Compiling SwiftProtobuf AnyMessageStorage.swift
[30/114] Compiling SwiftProtobuf AnyUnpackError.swift
[31/114] Compiling SwiftProtobuf AsyncMessageSequence.swift
[32/114] Compiling SwiftProtobuf BinaryDecoder.swift
[33/114] Compiling SwiftProtobuf BinaryDecodingError.swift
[34/114] Compiling SwiftProtobuf BinaryDecodingOptions.swift
[35/114] Compiling SwiftProtobuf BinaryDelimited.swift
[36/114] Compiling SwiftProtobuf BinaryEncoder.swift
[37/114] Compiling SwiftProtobuf BinaryEncodingError.swift
[38/114] Compiling SwiftProtobuf BinaryEncodingOptions.swift
[39/114] Compiling SwiftProtobuf Message+JSONAdditions.swift
[40/114] Compiling SwiftProtobuf Message+JSONAdditions_Data.swift
[41/114] Compiling SwiftProtobuf Message+JSONArrayAdditions.swift
[42/114] Compiling SwiftProtobuf Message+JSONArrayAdditions_Data.swift
[43/114] Compiling SwiftProtobuf Message+TextFormatAdditions.swift
[44/114] Compiling SwiftProtobuf Message.swift
[45/114] Compiling SwiftProtobuf MessageExtension.swift
[46/114] Compiling SwiftProtobuf NameMap.swift
[47/114] Compiling SwiftProtobuf PathDecoder.swift
[48/114] Compiling SwiftProtobuf TextFormatDecoder.swift
[49/114] Compiling SwiftProtobuf TextFormatDecodingError.swift
[50/114] Compiling SwiftProtobuf TextFormatDecodingOptions.swift
[51/114] Compiling SwiftProtobuf TextFormatEncoder.swift
[52/114] Compiling SwiftProtobuf TextFormatEncodingOptions.swift
[53/114] Compiling SwiftProtobuf TextFormatEncodingVisitor.swift
[54/114] Compiling SwiftProtobuf TextFormatScanner.swift
[55/114] Compiling SwiftProtobuf TimeUtils.swift
[56/114] Compiling SwiftProtobuf UnknownStorage.swift
[57/114] Compiling SwiftProtobuf duration.pb.swift
[58/114] Compiling SwiftProtobuf empty.pb.swift
[59/114] Compiling SwiftProtobuf field_mask.pb.swift
[60/114] Compiling SwiftProtobuf source_context.pb.swift
[61/114] Compiling SwiftProtobuf struct.pb.swift
[62/114] Compiling SwiftProtobuf timestamp.pb.swift
[63/114] Compiling SwiftProtobuf type.pb.swift
[64/114] Compiling SwiftProtobuf wrappers.pb.swift
[65/114] Compiling SwiftProtobuf resource_bundle_accessor.swift
[66/114] Compiling SwiftProtobuf JSONEncodingOptions.swift
[67/114] Compiling SwiftProtobuf JSONEncodingVisitor.swift
[68/114] Compiling SwiftProtobuf JSONMapEncodingVisitor.swift
[69/114] Compiling SwiftProtobuf JSONScanner.swift
[70/114] Compiling SwiftProtobuf MathUtils.swift
[71/114] Compiling SwiftProtobuf Message+AnyAdditions.swift
[72/114] Compiling SwiftProtobuf Message+BinaryAdditions.swift
[73/114] Compiling SwiftProtobuf Message+BinaryAdditions_Data.swift
[74/114] Compiling SwiftProtobuf Message+FieldMask.swift
[75/114] Compiling SwiftProtobuf Google_Protobuf_Value+Extensions.swift
[76/114] Compiling SwiftProtobuf Google_Protobuf_Wrappers+Extensions.swift
[77/114] Compiling SwiftProtobuf HashVisitor.swift
[78/114] Compiling SwiftProtobuf Internal.swift
[79/114] Compiling SwiftProtobuf JSONDecoder.swift
[80/114] Compiling SwiftProtobuf JSONDecodingError.swift
[81/114] Compiling SwiftProtobuf JSONDecodingOptions.swift
[82/114] Compiling SwiftProtobuf JSONEncoder.swift
[83/114] Compiling SwiftProtobuf JSONEncodingError.swift
[84/114] Compiling SwiftProtobuf BinaryEncodingSizeVisitor.swift
[85/114] Compiling SwiftProtobuf BinaryEncodingVisitor.swift
[86/114] Compiling SwiftProtobuf CustomJSONCodable.swift
[87/114] Compiling SwiftProtobuf Decoder.swift
[88/114] Compiling SwiftProtobuf DoubleParser.swift
[89/114] Compiling SwiftProtobuf Enum.swift
[90/114] Compiling SwiftProtobuf ExtensibleMessage.swift
[91/114] Compiling SwiftProtobuf ExtensionFieldValueSet.swift
[92/114] Compiling SwiftProtobuf ExtensionFields.swift
[93/114] Compiling SwiftProtobuf ExtensionMap.swift
[94/114] Compiling SwiftProtobuf UnsafeRawPointer+Shims.swift
[95/114] Compiling SwiftProtobuf Varint.swift
[96/114] Compiling SwiftProtobuf Version.swift
[97/114] Compiling SwiftProtobuf Visitor.swift
[98/114] Compiling SwiftProtobuf WireFormat.swift
[99/114] Compiling SwiftProtobuf ZigZag.swift
[100/114] Compiling SwiftProtobuf any.pb.swift
[101/114] Compiling SwiftProtobuf api.pb.swift
[102/114] Compiling SwiftProtobuf descriptor.pb.swift
[103/114] Compiling SwiftProtobuf FieldTag.swift
[104/114] Compiling SwiftProtobuf FieldTypes.swift
[105/114] Compiling SwiftProtobuf Google_Protobuf_Any+Extensions.swift
[106/114] Compiling SwiftProtobuf Google_Protobuf_Any+Registry.swift
[107/114] Compiling SwiftProtobuf Google_Protobuf_Duration+Extensions.swift
[108/114] Compiling SwiftProtobuf Google_Protobuf_FieldMask+Extensions.swift
[109/114] Compiling SwiftProtobuf Google_Protobuf_ListValue+Extensions.swift
[110/114] Compiling SwiftProtobuf Google_Protobuf_NullValue+Extensions.swift
[111/114] Compiling SwiftProtobuf Google_Protobuf_Struct+Extensions.swift
[112/114] Compiling SwiftProtobuf Google_Protobuf_Timestamp+Extensions.swift
[113/133] Compiling BerkananSDK PBUUID+Additions.swift
[114/133] Compiling BerkananSDK PBUUID+PayloadTypes.swift
[115/134] 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.
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.
36 |
37 | public var unknownFields = SwiftProtobuf.UnknownStorage()
[116/134] 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.
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.
36 |
37 | public var unknownFields = SwiftProtobuf.UnknownStorage()
[117/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.
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.
70 |
71 | static let defaultInstance = _StorageClass()
/Users/admin/builder/spi-builder-workspace/Sources/BerkananSDK/Protobuf/Configuration.pb.swift:71:16: warning: static property 'defaultInstance' is not concurrency-safe because non-'Sendable' type 'Configuration._StorageClass' may have shared mutable state; this is an error in the Swift 6 language mode
65 | ]
66 |
67 | fileprivate class _StorageClass {
| `- note: class '_StorageClass' does not conform to the 'Sendable' protocol
68 | var _identifier: PBUUID? = nil
69 | var _userInfo: Data = SwiftProtobuf.Internal.emptyData
70 |
71 | static let defaultInstance = _StorageClass()
| |- warning: static property 'defaultInstance' is not concurrency-safe because non-'Sendable' type 'Configuration._StorageClass' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultInstance' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
72 |
73 | private init() {}
/Users/admin/builder/spi-builder-workspace/Sources/BerkananSDK/Protobuf/Configuration.pb.swift:55:19: warning: stored property '_storage' of 'Sendable'-conforming struct 'Configuration' has non-sendable type 'Configuration._StorageClass'; this is an error in the Swift 6 language mode
53 | public init() {}
54 |
55 | fileprivate var _storage = _StorageClass.defaultInstance
| `- warning: stored property '_storage' of 'Sendable'-conforming struct 'Configuration' has non-sendable type 'Configuration._StorageClass'; this is an error in the Swift 6 language mode
56 | }
57 |
:
65 | ]
66 |
67 | fileprivate class _StorageClass {
| `- note: class '_StorageClass' does not conform to the 'Sendable' protocol
68 | var _identifier: PBUUID? = nil
69 | var _userInfo: Data = SwiftProtobuf.Internal.emptyData
/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.
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.
46 | }
47 |
[118/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.
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.
70 |
71 | static let defaultInstance = _StorageClass()
/Users/admin/builder/spi-builder-workspace/Sources/BerkananSDK/Protobuf/Configuration.pb.swift:71:16: warning: static property 'defaultInstance' is not concurrency-safe because non-'Sendable' type 'Configuration._StorageClass' may have shared mutable state; this is an error in the Swift 6 language mode
65 | ]
66 |
67 | fileprivate class _StorageClass {
| `- note: class '_StorageClass' does not conform to the 'Sendable' protocol
68 | var _identifier: PBUUID? = nil
69 | var _userInfo: Data = SwiftProtobuf.Internal.emptyData
70 |
71 | static let defaultInstance = _StorageClass()
| |- warning: static property 'defaultInstance' is not concurrency-safe because non-'Sendable' type 'Configuration._StorageClass' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultInstance' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
72 |
73 | private init() {}
/Users/admin/builder/spi-builder-workspace/Sources/BerkananSDK/Protobuf/Configuration.pb.swift:55:19: warning: stored property '_storage' of 'Sendable'-conforming struct 'Configuration' has non-sendable type 'Configuration._StorageClass'; this is an error in the Swift 6 language mode
53 | public init() {}
54 |
55 | fileprivate var _storage = _StorageClass.defaultInstance
| `- warning: stored property '_storage' of 'Sendable'-conforming struct 'Configuration' has non-sendable type 'Configuration._StorageClass'; this is an error in the Swift 6 language mode
56 | }
57 |
:
65 | ]
66 |
67 | fileprivate class _StorageClass {
| `- note: class '_StorageClass' does not conform to the 'Sendable' protocol
68 | var _identifier: PBUUID? = nil
69 | var _userInfo: Data = SwiftProtobuf.Internal.emptyData
/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.
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.
46 | }
47 |
[119/134] Compiling BerkananSDK PublicMessage.pb.swift
/Users/admin/builder/spi-builder-workspace/Sources/BerkananSDK/Protobuf/PublicMessage.pb.swift:85:16: warning: static property 'defaultInstance' is not concurrency-safe because non-'Sendable' type 'PublicMessage._StorageClass' may have shared mutable state; this is an error in the Swift 6 language mode
78 | ]
79 |
80 | fileprivate class _StorageClass {
| `- note: class '_StorageClass' does not conform to the 'Sendable' protocol
81 | var _identifier: PBUUID? = nil
82 | var _sourceUser: User? = nil
83 | var _text: String = String()
84 |
85 | static let defaultInstance = _StorageClass()
| |- warning: static property 'defaultInstance' is not concurrency-safe because non-'Sendable' type 'PublicMessage._StorageClass' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultInstance' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
86 |
87 | private init() {}
/Users/admin/builder/spi-builder-workspace/Sources/BerkananSDK/Protobuf/PublicMessage.pb.swift:67:19: warning: stored property '_storage' of 'Sendable'-conforming struct 'PublicMessage' has non-sendable type 'PublicMessage._StorageClass'; this is an error in the Swift 6 language mode
65 | public init() {}
66 |
67 | fileprivate var _storage = _StorageClass.defaultInstance
| `- warning: stored property '_storage' of 'Sendable'-conforming struct 'PublicMessage' has non-sendable type 'PublicMessage._StorageClass'; this is an error in the Swift 6 language mode
68 | }
69 |
:
78 | ]
79 |
80 | fileprivate class _StorageClass {
| `- note: class '_StorageClass' does not conform to the 'Sendable' protocol
81 | var _identifier: PBUUID? = nil
82 | var _sourceUser: User? = nil
/Users/admin/builder/spi-builder-workspace/Sources/BerkananSDK/Protobuf/User+Additions.swift:19:21: warning: static property 'current' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
17 | /// On systems with UIKit it uses `UIDevice.current.identifierForVendor` for `identifier`
18 | /// and `UIDevice.current.name` for `name`.
19 | public static var current: User = {
| |- warning: static property 'current' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'current' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'current' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | return .with {
21 | #if canImport(UIKit) && !os(watchOS)
[120/134] Compiling BerkananSDK User+Additions.swift
/Users/admin/builder/spi-builder-workspace/Sources/BerkananSDK/Protobuf/PublicMessage.pb.swift:85:16: warning: static property 'defaultInstance' is not concurrency-safe because non-'Sendable' type 'PublicMessage._StorageClass' may have shared mutable state; this is an error in the Swift 6 language mode
78 | ]
79 |
80 | fileprivate class _StorageClass {
| `- note: class '_StorageClass' does not conform to the 'Sendable' protocol
81 | var _identifier: PBUUID? = nil
82 | var _sourceUser: User? = nil
83 | var _text: String = String()
84 |
85 | static let defaultInstance = _StorageClass()
| |- warning: static property 'defaultInstance' is not concurrency-safe because non-'Sendable' type 'PublicMessage._StorageClass' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultInstance' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
86 |
87 | private init() {}
/Users/admin/builder/spi-builder-workspace/Sources/BerkananSDK/Protobuf/PublicMessage.pb.swift:67:19: warning: stored property '_storage' of 'Sendable'-conforming struct 'PublicMessage' has non-sendable type 'PublicMessage._StorageClass'; this is an error in the Swift 6 language mode
65 | public init() {}
66 |
67 | fileprivate var _storage = _StorageClass.defaultInstance
| `- warning: stored property '_storage' of 'Sendable'-conforming struct 'PublicMessage' has non-sendable type 'PublicMessage._StorageClass'; this is an error in the Swift 6 language mode
68 | }
69 |
:
78 | ]
79 |
80 | fileprivate class _StorageClass {
| `- note: class '_StorageClass' does not conform to the 'Sendable' protocol
81 | var _identifier: PBUUID? = nil
82 | var _sourceUser: User? = nil
/Users/admin/builder/spi-builder-workspace/Sources/BerkananSDK/Protobuf/User+Additions.swift:19:21: warning: static property 'current' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
17 | /// On systems with UIKit it uses `UIDevice.current.identifierForVendor` for `identifier`
18 | /// and `UIDevice.current.name` for `name`.
19 | public static var current: User = {
| |- warning: static property 'current' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'current' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'current' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | return .with {
21 | #if canImport(UIKit) && !os(watchOS)
[121/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.
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.
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:)'
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:)'
| `- note: use 'init(serializedBytes:extensions:partial:options:)' instead
28 | }
29 |
[122/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.
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.
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:)'
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:)'
| `- note: use 'init(serializedBytes:extensions:partial:options:)' instead
28 | }
29 |
[123/134] Compiling BerkananSDK CBPeripheral+Notifications.swift
[124/134] Compiling BerkananSDK UUID+Protobuf.swift
[125/134] Compiling BerkananSDK BluetoothService+CoreBluetooth.swift
/Users/admin/builder/spi-builder-workspace/Sources/BerkananSDK/Bluetooth/BluetoothService.swift:13:21: warning: static property 'UUIDPeripheralServiceString' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | /// The string representation of the UUID for the primary peripheral service.
13 | public static var UUIDPeripheralServiceString =
| |- warning: static property 'UUIDPeripheralServiceString' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'UUIDPeripheralServiceString' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'UUIDPeripheralServiceString' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | "BE92D831-6750-4EBF-B83F-E42801AB1A13"
15 |
/Users/admin/builder/spi-builder-workspace/Sources/BerkananSDK/Bluetooth/BluetoothService.swift:17:21: warning: static property 'UUIDMessageCharacteristicString' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
15 |
16 | /// The string representation of the UUID for the message characteristic.
17 | public static var UUIDMessageCharacteristicString: String =
| |- warning: static property 'UUIDMessageCharacteristicString' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'UUIDMessageCharacteristicString' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'UUIDMessageCharacteristicString' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | "FFD50BE8-082C-45BC-87D9-E46B4C0F31F6"
19 |
/Users/admin/builder/spi-builder-workspace/Sources/BerkananSDK/Bluetooth/BluetoothService.swift:21:21: warning: static property 'UUIDConfigurationCharacteristicString' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
19 |
20 | /// The string representation of the UUID for the configuration characteristic.
21 | public static var UUIDConfigurationCharacteristicString: String =
| |- warning: static property 'UUIDConfigurationCharacteristicString' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'UUIDConfigurationCharacteristicString' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'UUIDConfigurationCharacteristicString' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | "C0ED3A5B-57FD-49C7-9995-5017E8202DB9"
23 | }
[126/134] Compiling BerkananSDK BluetoothService.swift
/Users/admin/builder/spi-builder-workspace/Sources/BerkananSDK/Bluetooth/BluetoothService.swift:13:21: warning: static property 'UUIDPeripheralServiceString' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | /// The string representation of the UUID for the primary peripheral service.
13 | public static var UUIDPeripheralServiceString =
| |- warning: static property 'UUIDPeripheralServiceString' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'UUIDPeripheralServiceString' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'UUIDPeripheralServiceString' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | "BE92D831-6750-4EBF-B83F-E42801AB1A13"
15 |
/Users/admin/builder/spi-builder-workspace/Sources/BerkananSDK/Bluetooth/BluetoothService.swift:17:21: warning: static property 'UUIDMessageCharacteristicString' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
15 |
16 | /// The string representation of the UUID for the message characteristic.
17 | public static var UUIDMessageCharacteristicString: String =
| |- warning: static property 'UUIDMessageCharacteristicString' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'UUIDMessageCharacteristicString' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'UUIDMessageCharacteristicString' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | "FFD50BE8-082C-45BC-87D9-E46B4C0F31F6"
19 |
/Users/admin/builder/spi-builder-workspace/Sources/BerkananSDK/Bluetooth/BluetoothService.swift:21:21: warning: static property 'UUIDConfigurationCharacteristicString' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
19 |
20 | /// The string representation of the UUID for the configuration characteristic.
21 | public static var UUIDConfigurationCharacteristicString: String =
| |- warning: static property 'UUIDConfigurationCharacteristicString' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'UUIDConfigurationCharacteristicString' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'UUIDConfigurationCharacteristicString' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | "C0ED3A5B-57FD-49C7-9995-5017E8202DB9"
23 | }
[127/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:)'
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:)'
| `- 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.
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.
129 |
130 | static let defaultInstance = _StorageClass()
/Users/admin/builder/spi-builder-workspace/Sources/BerkananSDK/Protobuf/Message.pb.swift:130:16: warning: static property 'defaultInstance' is not concurrency-safe because non-'Sendable' type 'Message._StorageClass' may have shared mutable state; this is an error in the Swift 6 language mode
120 | ]
121 |
122 | fileprivate class _StorageClass {
| `- note: class '_StorageClass' does not conform to the 'Sendable' protocol
123 | var _identifier: PBUUID? = nil
124 | var _timeToLive: Int32 = 0
:
128 | var _payload: Data = SwiftProtobuf.Internal.emptyData
129 |
130 | static let defaultInstance = _StorageClass()
| |- warning: static property 'defaultInstance' is not concurrency-safe because non-'Sendable' type 'Message._StorageClass' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultInstance' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
131 |
132 | private init() {}
/Users/admin/builder/spi-builder-workspace/Sources/BerkananSDK/Protobuf/Message.pb.swift:106:19: warning: stored property '_storage' of 'Sendable'-conforming struct 'Message' has non-sendable type 'Message._StorageClass'; this is an error in the Swift 6 language mode
104 | public init() {}
105 |
106 | fileprivate var _storage = _StorageClass.defaultInstance
| `- warning: stored property '_storage' of 'Sendable'-conforming struct 'Message' has non-sendable type 'Message._StorageClass'; this is an error in the Swift 6 language mode
107 | }
108 |
:
120 | ]
121 |
122 | fileprivate class _StorageClass {
| `- note: class '_StorageClass' does not conform to the 'Sendable' protocol
123 | var _identifier: PBUUID? = nil
124 | var _timeToLive: Int32 = 0
[128/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:)'
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:)'
| `- 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.
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.
129 |
130 | static let defaultInstance = _StorageClass()
/Users/admin/builder/spi-builder-workspace/Sources/BerkananSDK/Protobuf/Message.pb.swift:130:16: warning: static property 'defaultInstance' is not concurrency-safe because non-'Sendable' type 'Message._StorageClass' may have shared mutable state; this is an error in the Swift 6 language mode
120 | ]
121 |
122 | fileprivate class _StorageClass {
| `- note: class '_StorageClass' does not conform to the 'Sendable' protocol
123 | var _identifier: PBUUID? = nil
124 | var _timeToLive: Int32 = 0
:
128 | var _payload: Data = SwiftProtobuf.Internal.emptyData
129 |
130 | static let defaultInstance = _StorageClass()
| |- warning: static property 'defaultInstance' is not concurrency-safe because non-'Sendable' type 'Message._StorageClass' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultInstance' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
131 |
132 | private init() {}
/Users/admin/builder/spi-builder-workspace/Sources/BerkananSDK/Protobuf/Message.pb.swift:106:19: warning: stored property '_storage' of 'Sendable'-conforming struct 'Message' has non-sendable type 'Message._StorageClass'; this is an error in the Swift 6 language mode
104 | public init() {}
105 |
106 | fileprivate var _storage = _StorageClass.defaultInstance
| `- warning: stored property '_storage' of 'Sendable'-conforming struct 'Message' has non-sendable type 'Message._StorageClass'; this is an error in the Swift 6 language mode
107 | }
108 |
:
120 | ]
121 |
122 | fileprivate class _StorageClass {
| `- note: class '_StorageClass' does not conform to the 'Sendable' protocol
123 | var _identifier: PBUUID? = nil
124 | var _timeToLive: Int32 = 0
[129/134] Compiling BerkananSDK User.pb.swift
/Users/admin/builder/spi-builder-workspace/Sources/BerkananSDK/Protobuf/User.pb.swift:70:16: warning: static property 'defaultInstance' is not concurrency-safe because non-'Sendable' type 'User._StorageClass' may have shared mutable state; this is an error in the Swift 6 language mode
64 | ]
65 |
66 | fileprivate class _StorageClass {
| `- note: class '_StorageClass' does not conform to the 'Sendable' protocol
67 | var _identifier: PBUUID? = nil
68 | var _name: String = String()
69 |
70 | static let defaultInstance = _StorageClass()
| |- warning: static property 'defaultInstance' is not concurrency-safe because non-'Sendable' type 'User._StorageClass' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultInstance' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
71 |
72 | private init() {}
/Users/admin/builder/spi-builder-workspace/Sources/BerkananSDK/Protobuf/User.pb.swift:54:19: warning: stored property '_storage' of 'Sendable'-conforming struct 'User' has non-sendable type 'User._StorageClass'; this is an error in the Swift 6 language mode
52 | public init() {}
53 |
54 | fileprivate var _storage = _StorageClass.defaultInstance
| `- warning: stored property '_storage' of 'Sendable'-conforming struct 'User' has non-sendable type 'User._StorageClass'; this is an error in the Swift 6 language mode
55 | }
56 |
:
64 | ]
65 |
66 | fileprivate class _StorageClass {
| `- note: class '_StorageClass' does not conform to the 'Sendable' protocol
67 | var _identifier: PBUUID? = nil
68 | var _name: String = String()
error: emit-module command failed with exit code 1 (use -v to see invocation)
[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
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
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/BluetoothService.swift:13:21: warning: static property 'UUIDPeripheralServiceString' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | /// The string representation of the UUID for the primary peripheral service.
13 | public static var UUIDPeripheralServiceString =
| |- warning: static property 'UUIDPeripheralServiceString' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'UUIDPeripheralServiceString' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'UUIDPeripheralServiceString' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | "BE92D831-6750-4EBF-B83F-E42801AB1A13"
15 |
/Users/admin/builder/spi-builder-workspace/Sources/BerkananSDK/Bluetooth/BluetoothService.swift:17:21: warning: static property 'UUIDMessageCharacteristicString' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
15 |
16 | /// The string representation of the UUID for the message characteristic.
17 | public static var UUIDMessageCharacteristicString: String =
| |- warning: static property 'UUIDMessageCharacteristicString' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'UUIDMessageCharacteristicString' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'UUIDMessageCharacteristicString' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | "FFD50BE8-082C-45BC-87D9-E46B4C0F31F6"
19 |
/Users/admin/builder/spi-builder-workspace/Sources/BerkananSDK/Bluetooth/BluetoothService.swift:21:21: warning: static property 'UUIDConfigurationCharacteristicString' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
19 |
20 | /// The string representation of the UUID for the configuration characteristic.
21 | public static var UUIDConfigurationCharacteristicString: String =
| |- warning: static property 'UUIDConfigurationCharacteristicString' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'UUIDConfigurationCharacteristicString' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'UUIDConfigurationCharacteristicString' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | "C0ED3A5B-57FD-49C7-9995-5017E8202DB9"
23 | }
/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.
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.
70 |
71 | static let defaultInstance = _StorageClass()
/Users/admin/builder/spi-builder-workspace/Sources/BerkananSDK/Protobuf/Configuration.pb.swift:71:16: warning: static property 'defaultInstance' is not concurrency-safe because non-'Sendable' type 'Configuration._StorageClass' may have shared mutable state; this is an error in the Swift 6 language mode
65 | ]
66 |
67 | fileprivate class _StorageClass {
| `- note: class '_StorageClass' does not conform to the 'Sendable' protocol
68 | var _identifier: PBUUID? = nil
69 | var _userInfo: Data = SwiftProtobuf.Internal.emptyData
70 |
71 | static let defaultInstance = _StorageClass()
| |- warning: static property 'defaultInstance' is not concurrency-safe because non-'Sendable' type 'Configuration._StorageClass' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultInstance' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
72 |
73 | private init() {}
/Users/admin/builder/spi-builder-workspace/Sources/BerkananSDK/Protobuf/Configuration.pb.swift:55:19: warning: stored property '_storage' of 'Sendable'-conforming struct 'Configuration' has non-sendable type 'Configuration._StorageClass'; this is an error in the Swift 6 language mode
53 | public init() {}
54 |
55 | fileprivate var _storage = _StorageClass.defaultInstance
| `- warning: stored property '_storage' of 'Sendable'-conforming struct 'Configuration' has non-sendable type 'Configuration._StorageClass'; this is an error in the Swift 6 language mode
56 | }
57 |
:
65 | ]
66 |
67 | fileprivate class _StorageClass {
| `- note: class '_StorageClass' does not conform to the 'Sendable' protocol
68 | var _identifier: PBUUID? = nil
69 | var _userInfo: Data = SwiftProtobuf.Internal.emptyData
/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.
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.
129 |
130 | static let defaultInstance = _StorageClass()
/Users/admin/builder/spi-builder-workspace/Sources/BerkananSDK/Protobuf/Message.pb.swift:130:16: warning: static property 'defaultInstance' is not concurrency-safe because non-'Sendable' type 'Message._StorageClass' may have shared mutable state; this is an error in the Swift 6 language mode
120 | ]
121 |
122 | fileprivate class _StorageClass {
| `- note: class '_StorageClass' does not conform to the 'Sendable' protocol
123 | var _identifier: PBUUID? = nil
124 | var _timeToLive: Int32 = 0
:
128 | var _payload: Data = SwiftProtobuf.Internal.emptyData
129 |
130 | static let defaultInstance = _StorageClass()
| |- warning: static property 'defaultInstance' is not concurrency-safe because non-'Sendable' type 'Message._StorageClass' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultInstance' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
131 |
132 | private init() {}
/Users/admin/builder/spi-builder-workspace/Sources/BerkananSDK/Protobuf/Message.pb.swift:106:19: warning: stored property '_storage' of 'Sendable'-conforming struct 'Message' has non-sendable type 'Message._StorageClass'; this is an error in the Swift 6 language mode
104 | public init() {}
105 |
106 | fileprivate var _storage = _StorageClass.defaultInstance
| `- warning: stored property '_storage' of 'Sendable'-conforming struct 'Message' has non-sendable type 'Message._StorageClass'; this is an error in the Swift 6 language mode
107 | }
108 |
:
120 | ]
121 |
122 | fileprivate class _StorageClass {
| `- note: class '_StorageClass' does not conform to the 'Sendable' protocol
123 | var _identifier: PBUUID? = nil
124 | var _timeToLive: Int32 = 0
/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.
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.
36 |
37 | public var unknownFields = SwiftProtobuf.UnknownStorage()
/Users/admin/builder/spi-builder-workspace/Sources/BerkananSDK/Protobuf/PublicMessage.pb.swift:85:16: warning: static property 'defaultInstance' is not concurrency-safe because non-'Sendable' type 'PublicMessage._StorageClass' may have shared mutable state; this is an error in the Swift 6 language mode
78 | ]
79 |
80 | fileprivate class _StorageClass {
| `- note: class '_StorageClass' does not conform to the 'Sendable' protocol
81 | var _identifier: PBUUID? = nil
82 | var _sourceUser: User? = nil
83 | var _text: String = String()
84 |
85 | static let defaultInstance = _StorageClass()
| |- warning: static property 'defaultInstance' is not concurrency-safe because non-'Sendable' type 'PublicMessage._StorageClass' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultInstance' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
86 |
87 | private init() {}
/Users/admin/builder/spi-builder-workspace/Sources/BerkananSDK/Protobuf/PublicMessage.pb.swift:67:19: warning: stored property '_storage' of 'Sendable'-conforming struct 'PublicMessage' has non-sendable type 'PublicMessage._StorageClass'; this is an error in the Swift 6 language mode
65 | public init() {}
66 |
67 | fileprivate var _storage = _StorageClass.defaultInstance
| `- warning: stored property '_storage' of 'Sendable'-conforming struct 'PublicMessage' has non-sendable type 'PublicMessage._StorageClass'; this is an error in the Swift 6 language mode
68 | }
69 |
:
78 | ]
79 |
80 | fileprivate class _StorageClass {
| `- note: class '_StorageClass' does not conform to the 'Sendable' protocol
81 | var _identifier: PBUUID? = nil
82 | var _sourceUser: User? = nil
/Users/admin/builder/spi-builder-workspace/Sources/BerkananSDK/Protobuf/User+Additions.swift:19:21: warning: static property 'current' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
17 | /// On systems with UIKit it uses `UIDevice.current.identifierForVendor` for `identifier`
18 | /// and `UIDevice.current.name` for `name`.
19 | public static var current: User = {
| |- warning: static property 'current' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'current' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'current' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | return .with {
21 | #if canImport(UIKit) && !os(watchOS)
/Users/admin/builder/spi-builder-workspace/Sources/BerkananSDK/Protobuf/User.pb.swift:70:16: warning: static property 'defaultInstance' is not concurrency-safe because non-'Sendable' type 'User._StorageClass' may have shared mutable state; this is an error in the Swift 6 language mode
64 | ]
65 |
66 | fileprivate class _StorageClass {
| `- note: class '_StorageClass' does not conform to the 'Sendable' protocol
67 | var _identifier: PBUUID? = nil
68 | var _name: String = String()
69 |
70 | static let defaultInstance = _StorageClass()
| |- warning: static property 'defaultInstance' is not concurrency-safe because non-'Sendable' type 'User._StorageClass' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultInstance' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
71 |
72 | private init() {}
/Users/admin/builder/spi-builder-workspace/Sources/BerkananSDK/Protobuf/User.pb.swift:54:19: warning: stored property '_storage' of 'Sendable'-conforming struct 'User' has non-sendable type 'User._StorageClass'; this is an error in the Swift 6 language mode
52 | public init() {}
53 |
54 | fileprivate var _storage = _StorageClass.defaultInstance
| `- warning: stored property '_storage' of 'Sendable'-conforming struct 'User' has non-sendable type 'User._StorageClass'; this is an error in the Swift 6 language mode
55 | }
56 |
:
64 | ]
65 |
66 | fileprivate class _StorageClass {
| `- note: class '_StorageClass' does not conform to the 'Sendable' protocol
67 | var _identifier: PBUUID? = nil
68 | var _name: String = String()
[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
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
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:108:7: warning: capture of 'self' with non-sendable type 'BluetoothController' in a '@Sendable' closure
24 |
25 | /// The controller responsible for the Bluetooth communication.
26 | class BluetoothController: NSObject {
| `- note: class 'BluetoothController' does not conform to the 'Sendable' protocol
27 |
28 | public let label = UUID().uuidString
:
106 | }
107 | self.dispatchQueue.async {
108 | self.configuration = configuration
| `- warning: capture of 'self' with non-sendable type 'BluetoothController' in a '@Sendable' closure
109 | if self.isStarted {
110 | if let peripheralManager = self.peripheralManager {
/Users/admin/builder/spi-builder-workspace/Sources/BerkananSDK/Bluetooth/BluetoothController.swift:214:24: warning: capture of 'self' with non-sendable type 'BluetoothController?' in a '@Sendable' closure
24 |
25 | /// The controller responsible for the Bluetooth communication.
26 | class BluetoothController: NSObject {
| `- note: class 'BluetoothController' does not conform to the 'Sendable' protocol
27 |
28 | public let label = UUID().uuidString
:
212 | ) {
213 | self.dispatchQueue.async { [weak self] in
214 | guard let self = self else { return }
| `- warning: capture of 'self' with non-sendable type 'BluetoothController?' in a '@Sendable' closure
215 | self.discoveryTimeoutTimersForPeripheralIdentifiers.values.forEach {
216 | $0.invalidate()
/Users/admin/builder/spi-builder-workspace/Sources/BerkananSDK/Bluetooth/BluetoothController.swift:226:24: warning: capture of 'self' with non-sendable type 'BluetoothController?' in a '@Sendable' closure
24 |
25 | /// The controller responsible for the Bluetooth communication.
26 | class BluetoothController: NSObject {
| `- note: class 'BluetoothController' does not conform to the 'Sendable' protocol
27 |
28 | public let label = UUID().uuidString
:
224 | ) {
225 | self.dispatchQueue.async { [weak self] in
226 | guard let self = self else { return }
| `- warning: capture of 'self' with non-sendable type 'BluetoothController?' in a '@Sendable' closure
227 | self.discoveredPeripherals.forEach {
228 | self.setupDiscoveryTimeoutTimer(for: $0)
/Users/admin/builder/spi-builder-workspace/Sources/BerkananSDK/Bluetooth/BluetoothController.swift:250:13: warning: capture of 'self' with non-sendable type 'BluetoothController' in a '@Sendable' closure
24 |
25 | /// The controller responsible for the Bluetooth communication.
26 | class BluetoothController: NSObject {
| `- note: class 'BluetoothController' does not conform to the 'Sendable' protocol
27 |
28 | public let label = UUID().uuidString
:
248 | func start() {
249 | self.dispatchQueue.async {
250 | guard self.centralManager == nil else {
| `- warning: capture of 'self' with non-sendable type 'BluetoothController' in a '@Sendable' closure
251 | return
252 | }
/Users/admin/builder/spi-builder-workspace/Sources/BerkananSDK/Bluetooth/BluetoothController.swift:290:7: warning: capture of 'self' with non-sendable type 'BluetoothController' in a '@Sendable' closure
24 |
25 | /// The controller responsible for the Bluetooth communication.
26 | class BluetoothController: NSObject {
| `- note: class 'BluetoothController' does not conform to the 'Sendable' protocol
27 |
28 | public let label = UUID().uuidString
:
288 | func stop() {
289 | self.dispatchQueue.async {
290 | self.stopCentralManager()
| `- warning: capture of 'self' with non-sendable type 'BluetoothController' in a '@Sendable' closure
291 | self.centralManager?.delegate = nil
292 | self.centralManager = nil
/Users/admin/builder/spi-builder-workspace/Sources/BerkananSDK/Bluetooth/BluetoothController.swift:350:7: warning: capture of 'self' with non-sendable type 'BluetoothController' in a '@Sendable' closure
24 |
25 | /// The controller responsible for the Bluetooth communication.
26 | class BluetoothController: NSObject {
| `- note: class 'BluetoothController' does not conform to the 'Sendable' protocol
27 |
28 | public let label = UUID().uuidString
:
348 | ) {
349 | self.dispatchQueue.async {
350 | self._send(message, via: services, broadcastTimeToLive: timeToLive)
| `- warning: capture of 'self' with non-sendable type 'BluetoothController' in a '@Sendable' closure
351 | }
352 | }
/Users/admin/builder/spi-builder-workspace/Sources/BerkananSDK/Bluetooth/BluetoothController.swift:350:32: warning: capture of 'services' with non-sendable type '[BerkananBluetoothService]?' in a '@Sendable' closure
348 | ) {
349 | self.dispatchQueue.async {
350 | self._send(message, via: services, broadcastTimeToLive: timeToLive)
| `- warning: capture of 'services' with non-sendable type '[BerkananBluetoothService]?' in a '@Sendable' closure
351 | }
352 | }
/Users/admin/builder/spi-builder-workspace/Sources/BerkananSDK/BerkananBluetoothService.swift:61:14: note: class 'BerkananBluetoothService' does not conform to the 'Sendable' protocol
59 | /// Be prepared to receive messages that your app doesn't know how to handle —
60 | /// examine the `payloadType` of the received `Message`.
61 | public class BerkananBluetoothService: NSObject {
| `- note: class 'BerkananBluetoothService' does not conform to the 'Sendable' protocol
62 |
63 | /// The delegate assigned with this object.
/Users/admin/builder/spi-builder-workspace/Sources/BerkananSDK/Bluetooth/BluetoothController.swift:520:24: warning: capture of 'self' with non-sendable type 'BluetoothController?' in a '@Sendable' closure
24 |
25 | /// The controller responsible for the Bluetooth communication.
26 | class BluetoothController: NSObject {
| `- note: class 'BluetoothController' does not conform to the 'Sendable' protocol
27 |
28 | public let label = UUID().uuidString
:
518 | let userInfo = timer.userInfo
519 | self.dispatchQueue.async { [weak self] in
520 | guard let self = self else { return }
| `- warning: capture of 'self' with non-sendable type 'BluetoothController?' in a '@Sendable' closure
521 | guard let userInfo = userInfo as? [AnyHashable : Any],
522 | let peripheral = userInfo["peripheral"] as? CBPeripheral else {
/Users/admin/builder/spi-builder-workspace/Sources/BerkananSDK/Bluetooth/BluetoothController.swift:521:28: warning: capture of 'userInfo' with non-sendable type 'Any?' in a '@Sendable' closure
519 | self.dispatchQueue.async { [weak self] in
520 | guard let self = self else { return }
521 | guard let userInfo = userInfo as? [AnyHashable : Any],
| `- warning: capture of 'userInfo' with non-sendable type 'Any?' in a '@Sendable' closure
522 | let peripheral = userInfo["peripheral"] as? CBPeripheral else {
523 | return
/Users/admin/builder/spi-builder-workspace/Sources/BerkananSDK/Bluetooth/BluetoothController.swift:540:24: warning: capture of 'self' with non-sendable type 'BluetoothController?' in a '@Sendable' closure
24 |
25 | /// The controller responsible for the Bluetooth communication.
26 | class BluetoothController: NSObject {
| `- note: class 'BluetoothController' does not conform to the 'Sendable' protocol
27 |
28 | public let label = UUID().uuidString
:
538 | let userInfo = timer.userInfo
539 | self.dispatchQueue.async { [weak self] in
540 | guard let self = self else { return }
| `- warning: capture of 'self' with non-sendable type 'BluetoothController?' in a '@Sendable' closure
541 | guard let userInfo = userInfo as? [AnyHashable : Any],
542 | let peripheral = userInfo["peripheral"] as? CBPeripheral else {
/Users/admin/builder/spi-builder-workspace/Sources/BerkananSDK/Bluetooth/BluetoothController.swift:541:28: warning: capture of 'userInfo' with non-sendable type 'Any?' in a '@Sendable' closure
539 | self.dispatchQueue.async { [weak self] in
540 | guard let self = self else { return }
541 | guard let userInfo = userInfo as? [AnyHashable : Any],
| `- warning: capture of 'userInfo' with non-sendable type 'Any?' in a '@Sendable' closure
542 | let peripheral = userInfo["peripheral"] as? CBPeripheral else {
543 | return
/Users/admin/builder/spi-builder-workspace/Sources/BerkananSDK/Bluetooth/BluetoothController.swift:562:24: warning: capture of 'self' with non-sendable type 'BluetoothController?' in a '@Sendable' closure
24 |
25 | /// The controller responsible for the Bluetooth communication.
26 | class BluetoothController: NSObject {
| `- note: class 'BluetoothController' does not conform to the 'Sendable' protocol
27 |
28 | public let label = UUID().uuidString
:
560 | let userInfo = timer.userInfo
561 | self.dispatchQueue.async { [weak self] in
562 | guard let self = self else { return }
| `- warning: capture of 'self' with non-sendable type 'BluetoothController?' in a '@Sendable' closure
563 | guard let userInfo = userInfo as? [AnyHashable : Any],
564 | let peripheral = userInfo["peripheral"] as? CBPeripheral else {
/Users/admin/builder/spi-builder-workspace/Sources/BerkananSDK/Bluetooth/BluetoothController.swift:563:28: warning: capture of 'userInfo' with non-sendable type 'Any?' in a '@Sendable' closure
561 | self.dispatchQueue.async { [weak self] in
562 | guard let self = self else { return }
563 | guard let userInfo = userInfo as? [AnyHashable : Any],
| `- warning: capture of 'userInfo' with non-sendable type 'Any?' in a '@Sendable' closure
564 | let peripheral = userInfo["peripheral"] as? CBPeripheral else {
565 | return
/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
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
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:108:7: warning: capture of 'self' with non-sendable type 'BluetoothController' in a '@Sendable' closure
24 |
25 | /// The controller responsible for the Bluetooth communication.
26 | class BluetoothController: NSObject {
| `- note: class 'BluetoothController' does not conform to the 'Sendable' protocol
27 |
28 | public let label = UUID().uuidString
:
106 | }
107 | self.dispatchQueue.async {
108 | self.configuration = configuration
| `- warning: capture of 'self' with non-sendable type 'BluetoothController' in a '@Sendable' closure
109 | if self.isStarted {
110 | if let peripheralManager = self.peripheralManager {
/Users/admin/builder/spi-builder-workspace/Sources/BerkananSDK/Bluetooth/BluetoothController.swift:214:24: warning: capture of 'self' with non-sendable type 'BluetoothController?' in a '@Sendable' closure
24 |
25 | /// The controller responsible for the Bluetooth communication.
26 | class BluetoothController: NSObject {
| `- note: class 'BluetoothController' does not conform to the 'Sendable' protocol
27 |
28 | public let label = UUID().uuidString
:
212 | ) {
213 | self.dispatchQueue.async { [weak self] in
214 | guard let self = self else { return }
| `- warning: capture of 'self' with non-sendable type 'BluetoothController?' in a '@Sendable' closure
215 | self.discoveryTimeoutTimersForPeripheralIdentifiers.values.forEach {
216 | $0.invalidate()
/Users/admin/builder/spi-builder-workspace/Sources/BerkananSDK/Bluetooth/BluetoothController.swift:226:24: warning: capture of 'self' with non-sendable type 'BluetoothController?' in a '@Sendable' closure
24 |
25 | /// The controller responsible for the Bluetooth communication.
26 | class BluetoothController: NSObject {
| `- note: class 'BluetoothController' does not conform to the 'Sendable' protocol
27 |
28 | public let label = UUID().uuidString
:
224 | ) {
225 | self.dispatchQueue.async { [weak self] in
226 | guard let self = self else { return }
| `- warning: capture of 'self' with non-sendable type 'BluetoothController?' in a '@Sendable' closure
227 | self.discoveredPeripherals.forEach {
228 | self.setupDiscoveryTimeoutTimer(for: $0)
/Users/admin/builder/spi-builder-workspace/Sources/BerkananSDK/Bluetooth/BluetoothController.swift:250:13: warning: capture of 'self' with non-sendable type 'BluetoothController' in a '@Sendable' closure
24 |
25 | /// The controller responsible for the Bluetooth communication.
26 | class BluetoothController: NSObject {
| `- note: class 'BluetoothController' does not conform to the 'Sendable' protocol
27 |
28 | public let label = UUID().uuidString
:
248 | func start() {
249 | self.dispatchQueue.async {
250 | guard self.centralManager == nil else {
| `- warning: capture of 'self' with non-sendable type 'BluetoothController' in a '@Sendable' closure
251 | return
252 | }
/Users/admin/builder/spi-builder-workspace/Sources/BerkananSDK/Bluetooth/BluetoothController.swift:290:7: warning: capture of 'self' with non-sendable type 'BluetoothController' in a '@Sendable' closure
24 |
25 | /// The controller responsible for the Bluetooth communication.
26 | class BluetoothController: NSObject {
| `- note: class 'BluetoothController' does not conform to the 'Sendable' protocol
27 |
28 | public let label = UUID().uuidString
:
288 | func stop() {
289 | self.dispatchQueue.async {
290 | self.stopCentralManager()
| `- warning: capture of 'self' with non-sendable type 'BluetoothController' in a '@Sendable' closure
291 | self.centralManager?.delegate = nil
292 | self.centralManager = nil
/Users/admin/builder/spi-builder-workspace/Sources/BerkananSDK/Bluetooth/BluetoothController.swift:350:7: warning: capture of 'self' with non-sendable type 'BluetoothController' in a '@Sendable' closure
24 |
25 | /// The controller responsible for the Bluetooth communication.
26 | class BluetoothController: NSObject {
| `- note: class 'BluetoothController' does not conform to the 'Sendable' protocol
27 |
28 | public let label = UUID().uuidString
:
348 | ) {
349 | self.dispatchQueue.async {
350 | self._send(message, via: services, broadcastTimeToLive: timeToLive)
| `- warning: capture of 'self' with non-sendable type 'BluetoothController' in a '@Sendable' closure
351 | }
352 | }
/Users/admin/builder/spi-builder-workspace/Sources/BerkananSDK/Bluetooth/BluetoothController.swift:350:32: warning: capture of 'services' with non-sendable type '[BerkananBluetoothService]?' in a '@Sendable' closure
348 | ) {
349 | self.dispatchQueue.async {
350 | self._send(message, via: services, broadcastTimeToLive: timeToLive)
| `- warning: capture of 'services' with non-sendable type '[BerkananBluetoothService]?' in a '@Sendable' closure
351 | }
352 | }
/Users/admin/builder/spi-builder-workspace/Sources/BerkananSDK/BerkananBluetoothService.swift:61:14: note: class 'BerkananBluetoothService' does not conform to the 'Sendable' protocol
59 | /// Be prepared to receive messages that your app doesn't know how to handle —
60 | /// examine the `payloadType` of the received `Message`.
61 | public class BerkananBluetoothService: NSObject {
| `- note: class 'BerkananBluetoothService' does not conform to the 'Sendable' protocol
62 |
63 | /// The delegate assigned with this object.
/Users/admin/builder/spi-builder-workspace/Sources/BerkananSDK/Bluetooth/BluetoothController.swift:520:24: warning: capture of 'self' with non-sendable type 'BluetoothController?' in a '@Sendable' closure
24 |
25 | /// The controller responsible for the Bluetooth communication.
26 | class BluetoothController: NSObject {
| `- note: class 'BluetoothController' does not conform to the 'Sendable' protocol
27 |
28 | public let label = UUID().uuidString
:
518 | let userInfo = timer.userInfo
519 | self.dispatchQueue.async { [weak self] in
520 | guard let self = self else { return }
| `- warning: capture of 'self' with non-sendable type 'BluetoothController?' in a '@Sendable' closure
521 | guard let userInfo = userInfo as? [AnyHashable : Any],
522 | let peripheral = userInfo["peripheral"] as? CBPeripheral else {
/Users/admin/builder/spi-builder-workspace/Sources/BerkananSDK/Bluetooth/BluetoothController.swift:521:28: warning: capture of 'userInfo' with non-sendable type 'Any?' in a '@Sendable' closure
519 | self.dispatchQueue.async { [weak self] in
520 | guard let self = self else { return }
521 | guard let userInfo = userInfo as? [AnyHashable : Any],
| `- warning: capture of 'userInfo' with non-sendable type 'Any?' in a '@Sendable' closure
522 | let peripheral = userInfo["peripheral"] as? CBPeripheral else {
523 | return
/Users/admin/builder/spi-builder-workspace/Sources/BerkananSDK/Bluetooth/BluetoothController.swift:540:24: warning: capture of 'self' with non-sendable type 'BluetoothController?' in a '@Sendable' closure
24 |
25 | /// The controller responsible for the Bluetooth communication.
26 | class BluetoothController: NSObject {
| `- note: class 'BluetoothController' does not conform to the 'Sendable' protocol
27 |
28 | public let label = UUID().uuidString
:
538 | let userInfo = timer.userInfo
539 | self.dispatchQueue.async { [weak self] in
540 | guard let self = self else { return }
| `- warning: capture of 'self' with non-sendable type 'BluetoothController?' in a '@Sendable' closure
541 | guard let userInfo = userInfo as? [AnyHashable : Any],
542 | let peripheral = userInfo["peripheral"] as? CBPeripheral else {
/Users/admin/builder/spi-builder-workspace/Sources/BerkananSDK/Bluetooth/BluetoothController.swift:541:28: warning: capture of 'userInfo' with non-sendable type 'Any?' in a '@Sendable' closure
539 | self.dispatchQueue.async { [weak self] in
540 | guard let self = self else { return }
541 | guard let userInfo = userInfo as? [AnyHashable : Any],
| `- warning: capture of 'userInfo' with non-sendable type 'Any?' in a '@Sendable' closure
542 | let peripheral = userInfo["peripheral"] as? CBPeripheral else {
543 | return
/Users/admin/builder/spi-builder-workspace/Sources/BerkananSDK/Bluetooth/BluetoothController.swift:562:24: warning: capture of 'self' with non-sendable type 'BluetoothController?' in a '@Sendable' closure
24 |
25 | /// The controller responsible for the Bluetooth communication.
26 | class BluetoothController: NSObject {
| `- note: class 'BluetoothController' does not conform to the 'Sendable' protocol
27 |
28 | public let label = UUID().uuidString
:
560 | let userInfo = timer.userInfo
561 | self.dispatchQueue.async { [weak self] in
562 | guard let self = self else { return }
| `- warning: capture of 'self' with non-sendable type 'BluetoothController?' in a '@Sendable' closure
563 | guard let userInfo = userInfo as? [AnyHashable : Any],
564 | let peripheral = userInfo["peripheral"] as? CBPeripheral else {
/Users/admin/builder/spi-builder-workspace/Sources/BerkananSDK/Bluetooth/BluetoothController.swift:563:28: warning: capture of 'userInfo' with non-sendable type 'Any?' in a '@Sendable' closure
561 | self.dispatchQueue.async { [weak self] in
562 | guard let self = self else { return }
563 | guard let userInfo = userInfo as? [AnyHashable : Any],
| `- warning: capture of 'userInfo' with non-sendable type 'Any?' in a '@Sendable' closure
564 | let peripheral = userInfo["peripheral"] as? CBPeripheral else {
565 | return
/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 | }
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
[0/1] Planning build
[1/1] Compiling plugin SwiftProtobufPlugin
Building for debugging...
[1/4] Write swift-version-2F0A5646E1D333AE.txt
[3/97] Compiling BerkananFoundation Types+DataRepresentable.swift
[4/97] Compiling BerkananFoundation DataRepresentable.swift
[5/97] Compiling BerkananFoundation String+Quotes.swift
[6/97] Emitting module BerkananFoundation
[7/97] Compiling BerkananCompression Algorithm+CustomStringConvertible.swift
[8/97] Emitting module BerkananCompression
[9/97] Compiling BerkananCompression DataProtocol+Compression.swift
[10/97] Compiling BerkananCompression Data+Compression.swift
[11/97] Compiling SwiftProtobuf PathVisitor.swift
[12/97] Compiling SwiftProtobuf ProtoNameProviding.swift
[13/97] Compiling SwiftProtobuf ProtobufAPIVersionCheck.swift
[14/97] Compiling SwiftProtobuf ProtobufMap.swift
[15/97] Compiling SwiftProtobuf SelectiveVisitor.swift
[16/97] Compiling SwiftProtobuf SimpleExtensionMap.swift
[17/97] Compiling SwiftProtobuf StringUtils.swift
[18/97] Compiling SwiftProtobuf SwiftProtobufContiguousBytes.swift
[19/97] Compiling SwiftProtobuf SwiftProtobufError.swift
[20/106] Compiling SwiftProtobuf BinaryEncodingSizeVisitor.swift
[21/106] Compiling SwiftProtobuf BinaryEncodingVisitor.swift
[22/106] Compiling SwiftProtobuf CustomJSONCodable.swift
[23/106] Compiling SwiftProtobuf Decoder.swift
[24/106] Compiling SwiftProtobuf DoubleParser.swift
[25/106] Compiling SwiftProtobuf Enum.swift
[26/106] Compiling SwiftProtobuf ExtensibleMessage.swift
[27/106] Compiling SwiftProtobuf ExtensionFieldValueSet.swift
[28/106] Compiling SwiftProtobuf ExtensionFields.swift
[29/106] Compiling SwiftProtobuf ExtensionMap.swift
[30/106] Compiling SwiftProtobuf duration.pb.swift
[31/106] Compiling SwiftProtobuf empty.pb.swift
[32/106] Compiling SwiftProtobuf field_mask.pb.swift
[33/106] Compiling SwiftProtobuf source_context.pb.swift
[34/106] Compiling SwiftProtobuf struct.pb.swift
[35/106] Compiling SwiftProtobuf timestamp.pb.swift
[36/106] Compiling SwiftProtobuf type.pb.swift
[37/106] Compiling SwiftProtobuf wrappers.pb.swift
[38/106] Compiling SwiftProtobuf resource_bundle_accessor.swift
[39/106] Compiling SwiftProtobuf AnyMessageStorage.swift
[40/106] Compiling SwiftProtobuf AnyUnpackError.swift
[41/106] Compiling SwiftProtobuf AsyncMessageSequence.swift
[42/106] Compiling SwiftProtobuf BinaryDecoder.swift
[43/106] Compiling SwiftProtobuf BinaryDecodingError.swift
[44/106] Compiling SwiftProtobuf BinaryDecodingOptions.swift
[45/106] Compiling SwiftProtobuf BinaryDelimited.swift
[46/106] Compiling SwiftProtobuf BinaryEncoder.swift
[47/106] Compiling SwiftProtobuf BinaryEncodingError.swift
[48/106] Compiling SwiftProtobuf BinaryEncodingOptions.swift
[49/106] Compiling SwiftProtobuf JSONEncodingOptions.swift
[50/106] Compiling SwiftProtobuf JSONEncodingVisitor.swift
[51/106] Compiling SwiftProtobuf JSONMapEncodingVisitor.swift
[52/106] Compiling SwiftProtobuf JSONScanner.swift
[53/106] Compiling SwiftProtobuf MathUtils.swift
[54/106] Compiling SwiftProtobuf Message+AnyAdditions.swift
[55/106] Compiling SwiftProtobuf Message+BinaryAdditions.swift
[56/106] Compiling SwiftProtobuf Message+BinaryAdditions_Data.swift
[57/106] Compiling SwiftProtobuf Message+FieldMask.swift
[58/106] Compiling SwiftProtobuf Google_Protobuf_Value+Extensions.swift
[59/106] Compiling SwiftProtobuf Google_Protobuf_Wrappers+Extensions.swift
[60/106] Compiling SwiftProtobuf HashVisitor.swift
[61/106] Compiling SwiftProtobuf Internal.swift
[62/106] Compiling SwiftProtobuf JSONDecoder.swift
[63/106] Compiling SwiftProtobuf JSONDecodingError.swift
[64/106] Compiling SwiftProtobuf JSONDecodingOptions.swift
[65/106] Compiling SwiftProtobuf JSONEncoder.swift
[66/106] Compiling SwiftProtobuf JSONEncodingError.swift
[67/106] Compiling SwiftProtobuf Message+JSONAdditions.swift
[68/106] Compiling SwiftProtobuf Message+JSONAdditions_Data.swift
[69/106] Compiling SwiftProtobuf Message+JSONArrayAdditions.swift
[70/106] Compiling SwiftProtobuf Message+JSONArrayAdditions_Data.swift
[71/106] Compiling SwiftProtobuf Message+TextFormatAdditions.swift
[72/106] Compiling SwiftProtobuf Message.swift
[73/106] Compiling SwiftProtobuf MessageExtension.swift
[74/106] Compiling SwiftProtobuf NameMap.swift
[75/106] Compiling SwiftProtobuf PathDecoder.swift
[76/106] Compiling SwiftProtobuf TextFormatDecoder.swift
[77/106] Compiling SwiftProtobuf TextFormatDecodingError.swift
[78/106] Compiling SwiftProtobuf TextFormatDecodingOptions.swift
[79/106] Compiling SwiftProtobuf TextFormatEncoder.swift
[80/106] Compiling SwiftProtobuf TextFormatEncodingOptions.swift
[81/106] Compiling SwiftProtobuf TextFormatEncodingVisitor.swift
[82/106] Compiling SwiftProtobuf TextFormatScanner.swift
[83/106] Compiling SwiftProtobuf TimeUtils.swift
[84/106] Compiling SwiftProtobuf UnknownStorage.swift
[85/106] Emitting module SwiftProtobuf
[86/106] Compiling SwiftProtobuf UnsafeRawPointer+Shims.swift
[87/106] Compiling SwiftProtobuf Varint.swift
[88/106] Compiling SwiftProtobuf Version.swift
[89/106] Compiling SwiftProtobuf Visitor.swift
[90/106] Compiling SwiftProtobuf WireFormat.swift
[91/106] Compiling SwiftProtobuf ZigZag.swift
[92/106] Compiling SwiftProtobuf any.pb.swift
[93/106] Compiling SwiftProtobuf api.pb.swift
[94/106] Compiling SwiftProtobuf descriptor.pb.swift
[95/106] Compiling SwiftProtobuf FieldTag.swift
[96/106] Compiling SwiftProtobuf FieldTypes.swift
[97/106] Compiling SwiftProtobuf Google_Protobuf_Any+Extensions.swift
[98/106] Compiling SwiftProtobuf Google_Protobuf_Any+Registry.swift
[99/106] Compiling SwiftProtobuf Google_Protobuf_Duration+Extensions.swift
[100/106] Compiling SwiftProtobuf Google_Protobuf_FieldMask+Extensions.swift
[101/106] Compiling SwiftProtobuf Google_Protobuf_ListValue+Extensions.swift
[102/106] Compiling SwiftProtobuf Google_Protobuf_NullValue+Extensions.swift
[103/106] Compiling SwiftProtobuf Google_Protobuf_Struct+Extensions.swift
[104/106] Compiling SwiftProtobuf Google_Protobuf_Timestamp+Extensions.swift
[105/125] 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.
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.
36 |
37 | public var unknownFields = SwiftProtobuf.UnknownStorage()
[106/125] 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.
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.
36 |
37 | public var unknownFields = SwiftProtobuf.UnknownStorage()
[107/126] Compiling BerkananSDK PublicMessage.pb.swift
[108/126] Compiling BerkananSDK User+Additions.swift
[109/126] Compiling BerkananSDK CBPeripheral+Notifications.swift
[110/126] Compiling BerkananSDK UUID+Protobuf.swift
[111/126] 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:)'
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:)'
| `- 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.
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.
129 |
130 | static let defaultInstance = _StorageClass()
[112/126] 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:)'
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:)'
| `- 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.
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.
129 |
130 | static let defaultInstance = _StorageClass()
[113/126] 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.
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.
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:)'
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:)'
| `- note: use 'init(serializedBytes:extensions:partial:options:)' instead
28 | }
29 |
[114/126] 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.
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.
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:)'
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:)'
| `- note: use 'init(serializedBytes:extensions:partial:options:)' instead
28 | }
29 |
[115/126] Compiling BerkananSDK PBUUID+Additions.swift
[116/126] Compiling BerkananSDK PBUUID+PayloadTypes.swift
[117/126] 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.
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.
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.
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.
46 | }
47 |
[118/126] 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.
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.
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.
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.
46 | }
47 |
[119/126] Compiling BerkananSDK BluetoothService+CoreBluetooth.swift
[120/126] Compiling BerkananSDK BluetoothService.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[121/126] 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
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
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.
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.
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.
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.
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.
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.
36 |
37 | public var unknownFields = SwiftProtobuf.UnknownStorage()
[122/126] 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
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
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 | }
[123/126] 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
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
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 | }
[124/126] Compiling BerkananSDK User.pb.swift
BUILD FAILURE 6.1 macosSpm