Build Information
Successful build of CocoaMQTT, reference release/2.x (4c5a9a), with Swift 6.3 for macOS (SPM) on 9 Sep 2026 00:38:38 UTC.
Swift 6 data race errors: 0
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.5.0.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 5.0.2
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 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 release/2.x
Fetching https://github.com/daltoniam/Starscream.git
Fetching https://github.com/leeway1208/MqttCocoaAsyncSocket
[1/3847] Fetching mqttcocoaasyncsocket
[1309/9044] Fetching mqttcocoaasyncsocket, starscream
Fetched https://github.com/daltoniam/Starscream.git from cache (1.87s)
Fetched https://github.com/leeway1208/MqttCocoaAsyncSocket from cache (1.87s)
Computing version for https://github.com/leeway1208/MqttCocoaAsyncSocket
Computed https://github.com/leeway1208/MqttCocoaAsyncSocket at 1.0.8 (2.55s)
Computing version for https://github.com/daltoniam/Starscream.git
Computed https://github.com/daltoniam/Starscream.git at 4.0.8 (0.66s)
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
========================================
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/5986] Fetching cocoamqtt
Fetched https://github.com/emqx/CocoaMQTT.git from cache (1.39s)
Fetching https://github.com/leeway1208/MqttCocoaAsyncSocket from cache
Fetching https://github.com/daltoniam/Starscream.git from cache
Fetched https://github.com/leeway1208/MqttCocoaAsyncSocket from cache (0.61s)
Fetched https://github.com/daltoniam/Starscream.git from cache (0.61s)
Computing version for https://github.com/leeway1208/MqttCocoaAsyncSocket
Computed https://github.com/leeway1208/MqttCocoaAsyncSocket at 1.0.8 (0.68s)
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 (4c5a9a6)
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
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.3
Building package at path: $PWD
https://github.com/emqx/CocoaMQTT.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.5.0.app xcrun swift build --arch arm64
Building for debugging...
[0/8] Copying PrivacyInfo.xcprivacy
[1/8] Write sources
[3/8] Copying PrivacyInfo.xcprivacy
[4/8] Write sources
[5/8] Write swift-version-69A768CDF2A0BEE1.txt
[6/28] Compiling MqttCocoaAsyncSocket MGCDAsyncUdpSocket.m
[7/28] Compiling MqttCocoaAsyncSocket MGCDAsyncSocket.m
[9/74] Emitting module CocoaMQTT
[10/78] Compiling CocoaMQTT MqttSubscription.swift
[11/78] Compiling CocoaMQTT ThreadSafeDictionary.swift
[12/78] Compiling CocoaMQTT ConcurrentAtomic.swift
[13/78] Compiling CocoaMQTT resource_bundle_accessor.swift
[14/78] Compiling CocoaMQTT MqttConnectProperties.swift
[15/78] Compiling CocoaMQTT MqttDecodeConnAck.swift
[16/78] Compiling CocoaMQTT MqttDecodePubAck.swift
[17/78] Compiling CocoaMQTT MqttDecodePubComp.swift
[18/78] Compiling CocoaMQTT MqttDecodePubRec.swift
[19/78] Compiling CocoaMQTT MqttDecodePubRel.swift
[20/78] Compiling CocoaMQTT MqttDecodePublish.swift
[21/78] Compiling CocoaMQTT MqttDecodeSubAck.swift
[22/78] Compiling CocoaMQTT MqttDecodeUnsubAck.swift
[23/78] Compiling CocoaMQTT MqttPublishProperties.swift
[24/78] Compiling CocoaMQTT FramePublish.swift
[25/78] Compiling CocoaMQTT FrameSubAck.swift
[26/78] Compiling CocoaMQTT FrameAuth.swift
[27/78] Compiling CocoaMQTT FrameConnAck.swift
[30/80] Compiling CocoaMQTT FrameSubscribe.swift
[31/80] Compiling CocoaMQTT FrameUnsubAck.swift
[32/80] Compiling Starscream Transport.swift
[35/80] Compiling CocoaMQTT FrameConnect.swift
[36/80] Compiling CocoaMQTT FrameDisconnect.swift
[37/80] Compiling CocoaMQTT FramePingReq.swift
[38/80] Compiling CocoaMQTT CocoaMQTTLogger.swift
[39/80] Compiling CocoaMQTT CocoaMQTTMessage.swift
[40/80] Compiling CocoaMQTT CocoaMQTTProperty.swift
[41/80] Compiling CocoaMQTT CocoaMQTTReader.swift
[42/80] Compiling CocoaMQTT CocoaMQTTReasonCode.swift
[51/80] Compiling CocoaMQTT CocoaMQTTClientIdentity.swift
[52/80] Compiling CocoaMQTT CocoaMQTTDeliver.swift
[53/80] Compiling CocoaMQTT CocoaMQTT.swift
[54/80] Compiling CocoaMQTT CocoaMQTT5.swift
[55/80] Compiling CocoaMQTT CocoaMQTT5Message.swift
[58/80] Emitting module Starscream
[60/80] Compiling Starscream resource_bundle_accessor.swift
[61/80] Compiling CocoaMQTT FramePingResp.swift
[62/80] Compiling CocoaMQTT FramePubAck.swift
[63/80] Compiling CocoaMQTT FramePubComp.swift
[64/80] Compiling CocoaMQTT FramePubRec.swift
[65/80] Compiling CocoaMQTT FramePubRel.swift
[66/80] Compiling CocoaMQTT CocoaMQTTSocket.swift
[67/80] Compiling CocoaMQTT CocoaMQTTStorage.swift
[68/80] Compiling CocoaMQTT CocoaMQTTTimer.swift
[69/80] Compiling CocoaMQTT CocoaMQTTTypes.swift
[70/80] Compiling CocoaMQTT Frame.swift
[71/80] Compiling CocoaMQTT MQTT5SessionState.swift
[72/80] Compiling CocoaMQTT MQTTAutoReconnectController.swift
[73/80] Compiling CocoaMQTT MQTTKeepAliveController.swift
[74/80] Compiling CocoaMQTT MQTTPacketIdentifierAllocator.swift
[75/80] Compiling CocoaMQTT MqttAuthProperties.swift
[81/82] Compiling CocoaMQTTWebSocket CocoaMQTTWebSocket.swift
[82/82] Emitting module CocoaMQTTWebSocket
Build complete! (7.55s)
warning: 'starscream': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Starscream/Sources/Info.plist
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.