Build Information
Successful build of CocoaMQTT, reference release/2.x (236ff0), with Swift 6.4 for macOS (SPM) on 31 Oct 2026 18:41:52 UTC.
Swift 6 data race errors: 0
Build Command
env DEVELOPER_DIR=/Applications/Xcode-27.0.0.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 5.1.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/emqx/CocoaMQTT.git
Reference: release/2.x
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/emqx/CocoaMQTT
* branch release/2.x -> FETCH_HEAD
* [new branch] release/2.x -> origin/release/2.x
HEAD is now at 236ff06 Merge pull request #745 from emqx/codex/fix-744-socket-delegate-race
Cloned https://github.com/emqx/CocoaMQTT.git
Revision (git rev-parse @):
236ff0621ad93504ad2419222636a3340d6b6c7a
SUCCESS checkout https://github.com/emqx/CocoaMQTT.git at release/2.x
Fetching https://github.com/daltoniam/Starscream.git
Fetching https://github.com/leeway1208/MqttCocoaAsyncSocket
[1/3847] Fetching mqttcocoaasyncsocket
[40/9082] Fetching mqttcocoaasyncsocket, starscream
Fetched https://github.com/daltoniam/Starscream.git (2.58s)
Fetched https://github.com/leeway1208/MqttCocoaAsyncSocket (2.58s)
Computing version for https://github.com/leeway1208/MqttCocoaAsyncSocket
Computed https://github.com/leeway1208/MqttCocoaAsyncSocket at 1.0.8 (3.28s)
Computing version for https://github.com/daltoniam/Starscream.git
Computed https://github.com/daltoniam/Starscream.git at 4.0.8 (0.69s)
Creating working copy for https://github.com/leeway1208/MqttCocoaAsyncSocket
Working copy of https://github.com/leeway1208/MqttCocoaAsyncSocket resolved at 1.0.8
Creating working copy for https://github.com/daltoniam/Starscream.git
Working copy of https://github.com/daltoniam/Starscream.git resolved at 4.0.8
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"traits": [
"default"
],
"dependencies": [
{
"identity": "cocoamqtt",
"name": "CocoaMQTT",
"url": "https://github.com/emqx/CocoaMQTT.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/CocoaMQTT",
"traits": [
"default"
],
"dependencies": [
{
"identity": "starscream",
"name": "Starscream",
"url": "https://github.com/daltoniam/Starscream.git",
"version": "4.0.8",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Starscream",
"traits": [
"default"
],
"dependencies": [
]
},
{
"identity": "mqttcocoaasyncsocket",
"name": "MqttCocoaAsyncSocket",
"url": "https://github.com/leeway1208/MqttCocoaAsyncSocket",
"version": "1.0.8",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/MqttCocoaAsyncSocket",
"traits": [
"default"
],
"dependencies": [
]
}
]
}
]
}
Fetching https://github.com/emqx/CocoaMQTT.git
[1/6012] Fetching cocoamqtt
Fetched https://github.com/emqx/CocoaMQTT.git (2.60s)
Fetching https://github.com/daltoniam/Starscream.git from cache
Fetching https://github.com/leeway1208/MqttCocoaAsyncSocket from cache
Fetched https://github.com/daltoniam/Starscream.git from cache (1.00s)
Fetched https://github.com/leeway1208/MqttCocoaAsyncSocket from cache (1.02s)
Computing version for https://github.com/leeway1208/MqttCocoaAsyncSocket
Computed https://github.com/leeway1208/MqttCocoaAsyncSocket at 1.0.8 (1.09s)
Computing version for https://github.com/daltoniam/Starscream.git
Computed https://github.com/daltoniam/Starscream.git at 4.0.8 (0.03s)
Creating working copy for https://github.com/emqx/CocoaMQTT.git
Working copy of https://github.com/emqx/CocoaMQTT.git resolved at release/2.x (236ff06)
Creating working copy for https://github.com/leeway1208/MqttCocoaAsyncSocket
Working copy of https://github.com/leeway1208/MqttCocoaAsyncSocket resolved at 1.0.8
Creating working copy for https://github.com/daltoniam/Starscream.git
Working copy of https://github.com/daltoniam/Starscream.git resolved at 4.0.8
warning: '.resolve-product-dependencies': dependency 'cocoamqtt' is not used by any target
Found 2 product dependencies
- Starscream
- MqttCocoaAsyncSocket
========================================
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.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
[88 / 189]
[98 / 201]
[103 / 201]
[111 / 201]
[115 / 201]
[119 / 201]
[127 / 201]
[132 / 201]
[133 / 201]
[140 / 201]
[144 / 201]
[145 / 201]
[147 / 201]
[149 / 201] MqttCocoaAsyncSocket
[151 / 201]
[164 / 201] Starscream
[165 / 201] CocoaMQTT
[178 / 201] Starscream
[186 / 201] Starscream-product
[187 / 201] Starscream-product
[188 / 202] Starscream
[190 / 202] Starscream
[190 / 202] CocoaMQTTWebSocket
[194 / 204] CocoaMQTT
[201 / 204] CocoaMQTTWebSocket
Build complete! (8.91 sec)
/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.