Build Information
Successful build of CocoaMQTT, reference 2.4.1 (4c5a9a), with Swift 6.4 for macOS (SPM) on 28 Sep 2026 01:44:44 UTC.
Swift 6 data race errors: 0
Build Command
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/emqx/CocoaMQTT.git
Reference: 2.4.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/emqx/CocoaMQTT
* tag 2.4.1 -> FETCH_HEAD
HEAD is now at 4c5a9a6 Merge pull request #741 from hjianbo/release/2.4.1
Cloned https://github.com/emqx/CocoaMQTT.git
Revision (git rev-parse @):
4c5a9a68eac0a4eab74ba504981e5a839d7e7593
SUCCESS checkout https://github.com/emqx/CocoaMQTT.git at 2.4.1
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.4
Building package at path: $PWD
https://github.com/emqx/CocoaMQTT.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64
Building for debugging...
[Computing dependencies]
[Pre-planning 1 / 272]
[Planning deferred tasks]
[65 / 105] CocoaMQTT_CocoaMQTT
[74 / 105]
[78 / 107] MqttCocoaAsyncSocket
[85 / 140] Starscream
[98 / 201]
[103 / 201]
[111 / 201]
[115 / 201]
[120 / 201]
[127 / 201]
[131 / 201]
[133 / 201]
[140 / 201]
[145 / 201]
[149 / 201] MqttCocoaAsyncSocket
[151 / 201]
[164 / 201] Starscream
[165 / 201] CocoaMQTT
[178 / 201] Starscream
[185 / 201] Starscream-product
[187 / 201] CocoaMQTTWebSocket
[188 / 202] Starscream
[188 / 202] CocoaMQTT
[195 / 204] CocoaMQTTWebSocket
[201 / 204] CocoaMQTTWebSocket
Build complete! (8.71 sec)
Fetching https://github.com/daltoniam/Starscream.git
Fetching https://github.com/leeway1208/MqttCocoaAsyncSocket
[1/3847] Fetching mqttcocoaasyncsocket
[78/9052] Fetching mqttcocoaasyncsocket, starscream
Fetched https://github.com/leeway1208/MqttCocoaAsyncSocket (1.49s)
Fetched https://github.com/daltoniam/Starscream.git (1.49s)
Computing version for https://github.com/leeway1208/MqttCocoaAsyncSocket
Computed https://github.com/leeway1208/MqttCocoaAsyncSocket at 1.0.8 (2.24s)
Computing version for https://github.com/daltoniam/Starscream.git
Computed https://github.com/daltoniam/Starscream.git at 4.0.8 (0.67s)
Creating working copy for https://github.com/daltoniam/Starscream.git
Working copy of https://github.com/daltoniam/Starscream.git resolved at 4.0.8
Creating working copy for https://github.com/leeway1208/MqttCocoaAsyncSocket
Working copy of https://github.com/leeway1208/MqttCocoaAsyncSocket resolved at 1.0.8
/Users/admin/builder/spi-builder-workspace/Source/WebSocket/CocoaMQTTWebSocket.swift:579:9: [1;33mwarning: [1;39m'SecTrustEvaluate' was deprecated in macOS 10.15: renamed to 'SecTrustEvaluateWithError(_:_:)'[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m577 |[0;0m public func evaluateTrust(trust: SecTrust, domain: String?, completion: ((PinningState) -> Void)) {
[0;36m578 |[0;0m var result: SecTrustResultType = .unspecified
[0;36m579 |[0;0m SecTrustEvaluate(trust, &result)
[0;36m|[0;0m |- [1;33mwarning: [1;39m'SecTrustEvaluate' was deprecated in macOS 10.15: renamed to 'SecTrustEvaluateWithError(_:_:)'[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m|[0;0m `- [1;39mnote: [1;39muse 'SecTrustEvaluateWithError(_:_:)' instead[0;0m
[0;36m580 |[0;0m let e = CFErrorCreate(kCFAllocatorDefault, "FoundationSecurityError" as NSString?, Int(result.rawValue), nil)
[0;36m581 |[0;0m guard let delegate = self.delegate else {
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
Build complete.
{
"dependencies" : [
{
"identity" : "starscream",
"requirement" : {
"range" : [
{
"lower_bound" : "4.0.8",
"upper_bound" : "6.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/daltoniam/Starscream.git"
},
{
"identity" : "mqttcocoaasyncsocket",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.8",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/leeway1208/MqttCocoaAsyncSocket"
}
],
"manifest_display_name" : "CocoaMQTT",
"name" : "CocoaMQTT",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.13"
},
{
"name" : "ios",
"version" : "12.0"
},
{
"name" : "tvos",
"version" : "12.0"
}
],
"products" : [
{
"name" : "CocoaMQTT",
"targets" : [
"CocoaMQTT"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "CocoaMQTTWebSocket",
"targets" : [
"CocoaMQTTWebSocket"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "CocoaMQTTWebSocket",
"module_type" : "SwiftTarget",
"name" : "CocoaMQTTWebSocket",
"path" : "Source/WebSocket",
"product_dependencies" : [
"Starscream"
],
"product_memberships" : [
"CocoaMQTTWebSocket"
],
"sources" : [
"CocoaMQTTWebSocket.swift"
],
"target_dependencies" : [
"CocoaMQTT"
],
"type" : "library"
},
{
"c99name" : "CocoaMQTTTests",
"module_type" : "SwiftTarget",
"name" : "CocoaMQTTTests",
"path" : "CocoaMQTTTests",
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/CocoaMQTTTests/client-keycert.p12",
"rule" : {
"copy" : {
}
}
}
],
"sources" : [
"AutoReconnectStateTests.swift",
"ClientEventLoopTests.swift",
"ClientIdentityTests.swift",
"CocoaMQTT5DisconnectReasonStateTests.swift",
"CocoaMQTT5PublishValidationTests.swift",
"CocoaMQTT5ReasonCodeFallbackTests.swift",
"CocoaMQTT5ReceiveMessageContentTypeTests.swift",
"CocoaMQTTDeliverTests.swift",
"CocoaMQTTReaderProtocolErrorTests.swift",
"CocoaMQTTStorageTests.swift",
"CocoaMQTTTests.swift",
"CocoaMQTTWebSocketAuthenticationTests.swift",
"ConcurrentAtomicTests.swift",
"FrameTests.swift",
"GracefulDisconnectTests.swift",
"KeepAliveTests.swift",
"MQTTAutoReconnectControllerTests.swift",
"PrivacyManifestTests.swift",
"PublicLoggerAPITests.swift",
"SendingMessageLifecycleTests.swift",
"TLSChallengeResolutionTests.swift",
"TLSLoopbackIntegrationTests.swift",
"TLSLoopbackTestSupport.swift",
"ThreadSafetyRegressionTests.swift",
"WebSocketMTLSIntegrationTests.swift"
],
"target_dependencies" : [
"CocoaMQTT",
"CocoaMQTTWebSocket"
],
"type" : "test"
},
{
"c99name" : "CocoaMQTT",
"module_type" : "SwiftTarget",
"name" : "CocoaMQTT",
"path" : "Source",
"product_dependencies" : [
"MqttCocoaAsyncSocket"
],
"product_memberships" : [
"CocoaMQTT",
"CocoaMQTTWebSocket"
],
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Source/PrivacyInfo.xcprivacy",
"rule" : {
"copy" : {
}
}
}
],
"sources" : [
"CocoaMQTT.swift",
"CocoaMQTT5.swift",
"CocoaMQTT5Message.swift",
"CocoaMQTTClientIdentity.swift",
"CocoaMQTTDeliver.swift",
"CocoaMQTTLogger.swift",
"CocoaMQTTMessage.swift",
"CocoaMQTTProperty.swift",
"CocoaMQTTReader.swift",
"CocoaMQTTReasonCode.swift",
"CocoaMQTTSocket.swift",
"CocoaMQTTStorage.swift",
"CocoaMQTTTimer.swift",
"CocoaMQTTTypes.swift",
"Frame.swift",
"FrameAuth.swift",
"FrameConnAck.swift",
"FrameConnect.swift",
"FrameDisconnect.swift",
"FramePingReq.swift",
"FramePingResp.swift",
"FramePubAck.swift",
"FramePubComp.swift",
"FramePubRec.swift",
"FramePubRel.swift",
"FramePublish.swift",
"FrameSubAck.swift",
"FrameSubscribe.swift",
"FrameUnsubAck.swift",
"FrameUnsubscribe.swift",
"MQTT5SessionState.swift",
"MQTTAutoReconnectController.swift",
"MQTTKeepAliveController.swift",
"MQTTPacketIdentifierAllocator.swift",
"MqttAuthProperties.swift",
"MqttConnectProperties.swift",
"MqttDecodeConnAck.swift",
"MqttDecodePubAck.swift",
"MqttDecodePubComp.swift",
"MqttDecodePubRec.swift",
"MqttDecodePubRel.swift",
"MqttDecodePublish.swift",
"MqttDecodeSubAck.swift",
"MqttDecodeUnsubAck.swift",
"MqttPublishProperties.swift",
"MqttSubscription.swift",
"ThreadSafeDictionary.swift",
"utilities/ConcurrentAtomic.swift"
],
"type" : "library"
}
],
"tools_version" : "5.7"
}
Done.