The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Successful build of cometblue, reference master (5ac149), with Swift 6.2 (beta) for macOS (SPM) on 18 Jun 2025 19:44:05 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/vaddieg/cometblue.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/vaddieg/cometblue
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 5ac1492 Merge branch 'master' of https://github.com/vaddieg/cometblue
Cloned https://github.com/vaddieg/cometblue.git
Revision (git rev-parse @):
5ac14926617b0b0a598eea2cd89c1897e10508f5
SUCCESS checkout https://github.com/vaddieg/cometblue.git at master
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/vaddieg/cometblue.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/6] Write sources
[1/6] Write cometblue-entitlement.plist
[2/6] Write swift-version-1EA4D86E10B52AF.txt
[4/10] Compiling cometblue main.swift
[5/10] Compiling cometblue cli.swift
[6/10] Emitting module cometblue
/Users/admin/builder/spi-builder-workspace/Sources/cometblue/CometBlueDevice.swift:25:43: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead [#deprecation]
 23 | }
 24 |
 25 | public protocol CometBlueDeviceDelegate : class {
    |                                           `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead [#deprecation]
 26 | 	func cometBlue(_ device:CometBlueDevice, discoveredCharacteristics chars:[CometBlueDevice.Characteristics])
 27 | 	func cometBlueAuthorized(_ device:CometBlueDevice) //from that point you can read and write
[7/10] Compiling cometblue CometBlueDevice.swift
/Users/admin/builder/spi-builder-workspace/Sources/cometblue/CometBlueDevice.swift:25:43: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead [#deprecation]
 23 | }
 24 |
 25 | public protocol CometBlueDeviceDelegate : class {
    |                                           `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead [#deprecation]
 26 | 	func cometBlue(_ device:CometBlueDevice, discoveredCharacteristics chars:[CometBlueDevice.Characteristics])
 27 | 	func cometBlueAuthorized(_ device:CometBlueDevice) //from that point you can read and write
/Users/admin/builder/spi-builder-workspace/Sources/cometblue/CometBlueDevice.swift:232:15: warning: initialization of 'UnsafeRawPointer' results in a dangling pointer [#TemporaryPointers]
230 | 			var buf = Array<UInt8>(repeating: 0, count: 4)
231 | 			data.copyBytes(to: &buf, count: 3)
232 | 			let intb = UnsafeRawPointer(buf).assumingMemoryBound(to: UInt.self).pointee.littleEndian
    |               |                |- note: implicit argument conversion from '[UInt8]' to 'UnsafeRawPointer' produces a pointer valid only for the duration of the call to 'init(_:)'
    |               |                `- note: use the 'withUnsafeBytes' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope
    |               `- warning: initialization of 'UnsafeRawPointer' results in a dangling pointer [#TemporaryPointers]
233 | 			status = StatusOptions(rawValue: intb)
234 | 			DLog("current opts \(status!)")
[#TemporaryPointers]: <https://docs.swift.org/compiler/documentation/diagnostics/temporary-pointers>
[7/10] Write Objects.LinkFileList
[8/10] Linking cometblue
[9/10] Applying cometblue
Build complete! (4.11s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "cometblue",
  "name" : "cometblue",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.13"
    }
  ],
  "products" : [
    {
      "name" : "cometblue",
      "targets" : [
        "cometblue"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "cometblueTests",
      "module_type" : "SwiftTarget",
      "name" : "cometblueTests",
      "path" : "Tests/cometblueTests",
      "sources" : [
        "XCTestManifests.swift",
        "cometblueTests.swift"
      ],
      "target_dependencies" : [
        "cometblue"
      ],
      "type" : "test"
    },
    {
      "c99name" : "cometblue",
      "module_type" : "SwiftTarget",
      "name" : "cometblue",
      "path" : "Sources/cometblue",
      "product_memberships" : [
        "cometblue"
      ],
      "sources" : [
        "CometBlueDevice.swift",
        "cli.swift",
        "main.swift"
      ],
      "type" : "executable"
    }
  ],
  "tools_version" : "5.1"
}
Done.