The Swift Package Index logo.Swift Package Index

Build Information

Successful build of MQTTKit, reference 0.1.0 (e33bd0), with Swift 6.2 for macOS (SPM) on 18 Jun 2025 00:42:21 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/arnecs/mqttkit.git
Reference: 0.1.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/arnecs/mqttkit
 * tag               0.1.0      -> FETCH_HEAD
HEAD is now at e33bd0a Package.swift, and restructure of source files
Cloned https://github.com/arnecs/mqttkit.git
Revision (git rev-parse @):
e33bd0ac53d35c5033734eec459ea84162952308
SUCCESS checkout https://github.com/arnecs/mqttkit.git at 0.1.0
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/arnecs/mqttkit.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-1EA4D86E10B52AF.txt
[3/7] Compiling MQTTKit Constants.swift
/Users/admin/builder/spi-builder-workspace/Sources/Constants.swift:42:5: warning: 'public' modifier is redundant for operator function declared in a public extension
 40 |
 41 | public extension MQTTQoSLevel {
 42 |     public static func <(lhs: MQTTQoSLevel, rhs: MQTTQoSLevel) -> Bool {
    |     `- warning: 'public' modifier is redundant for operator function declared in a public extension
 43 |         return lhs.rawValue < rhs.rawValue
 44 |     }
[4/7] Compiling MQTTKit MQTTKit.swift
/Users/admin/builder/spi-builder-workspace/Sources/MQTTKit.swift:294:27: warning: 'deallocate(capacity:)' is deprecated: Swift currently only supports freeing entire heap blocks, use deallocate() instead [#DeprecatedDeclaration]
292 |         defer {
293 |             messageBuffer.deinitialize(count: options.bufferSize)
294 |             messageBuffer.deallocate(capacity: options.bufferSize)
    |                           `- warning: 'deallocate(capacity:)' is deprecated: Swift currently only supports freeing entire heap blocks, use deallocate() instead [#DeprecatedDeclaration]
295 |         }
296 |
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[5/7] Compiling MQTTKit MQTTPacket.swift
/Users/admin/builder/spi-builder-workspace/Sources/MQTTPacket.swift:63:14: warning: function call causes an infinite recursion
 61 |
 62 |     init(header: MQTTPacket.Header) {
 63 |         self.init(header: header)
    |              `- warning: function call causes an infinite recursion
 64 |     }
 65 | }
[6/7] Compiling MQTTKit Extensions.swift
[7/7] Emitting module MQTTKit
/Users/admin/builder/spi-builder-workspace/Sources/Constants.swift:42:5: warning: 'public' modifier is redundant for operator function declared in a public extension
 40 |
 41 | public extension MQTTQoSLevel {
 42 |     public static func <(lhs: MQTTQoSLevel, rhs: MQTTQoSLevel) -> Bool {
    |     `- warning: 'public' modifier is redundant for operator function declared in a public extension
 43 |         return lhs.rawValue < rhs.rawValue
 44 |     }
Build complete! (3.54s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "MQTTKit",
  "name" : "MQTTKit",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "MQTTKit",
      "targets" : [
        "MQTTKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "MQTTKitTests",
      "module_type" : "SwiftTarget",
      "name" : "MQTTKitTests",
      "path" : "Tests",
      "sources" : [
        "MQTTKitTests.swift"
      ],
      "target_dependencies" : [
        "MQTTKit"
      ],
      "type" : "test"
    },
    {
      "c99name" : "MQTTKit",
      "module_type" : "SwiftTarget",
      "name" : "MQTTKit",
      "path" : "Sources",
      "product_memberships" : [
        "MQTTKit"
      ],
      "sources" : [
        "Constants.swift",
        "Extensions.swift",
        "MQTTKit.swift",
        "MQTTPacket.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.0"
}
Done.