The Swift Package Index logo.Swift Package Index

Build Information

Successful build of USBDeviceSwift, reference master (b26a0b), with Swift 6.4 for macOS (SPM) on 19 Sep 2026 23:44:46 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Arti3DPlayer/USBDeviceSwift.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/Arti3DPlayer/USBDeviceSwift
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at b26a0b4 Merge pull request #27 from emorydunn/master
Cloned https://github.com/Arti3DPlayer/USBDeviceSwift.git
Revision (git rev-parse @):
b26a0b4b3f9230ac767eee248e31706f7949a143
SUCCESS checkout https://github.com/Arti3DPlayer/USBDeviceSwift.git at master
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.4
Building package at path:  $PWD
https://github.com/Arti3DPlayer/USBDeviceSwift.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64
Building for debugging...
[Planning deferred tasks]
[19 / 28]
[27 / 36] USBDeviceSwift
[33 / 36] USBDeviceSwift
Build complete! (9.33 sec)
/Users/admin/builder/spi-builder-workspace/Sources/SerialDevice.swift:32:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'SerialDevice' to 'Hashable' by implementing 'hash(into:)' instead [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
30 |
31 | extension SerialDevice: Hashable {
32 |     public var hashValue: Int {
   |                `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'SerialDevice' to 'Hashable' by implementing 'hash(into:)' instead [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
33 |         return "\(path)".hashValue
34 |     }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
/Users/admin/builder/spi-builder-workspace/Sources/SerialDevice.swift:32:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'SerialDevice' to 'Hashable' by implementing 'hash(into:)' instead [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
30 |
31 | extension SerialDevice: Hashable {
32 |     public var hashValue: Int {
   |                `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'SerialDevice' to 'Hashable' by implementing 'hash(into:)' instead [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
33 |         return "\(path)".hashValue
34 |     }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
/Users/admin/builder/spi-builder-workspace/Sources/SerialDeviceMonitor.swift:79:51: warning: 'kIOMasterPortDefault' was deprecated in macOS 12.0: renamed to 'kIOMainPortDefault' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
77 |             let classesToMatch = IOServiceMatching(kIOSerialBSDServiceValue) as NSMutableDictionary
78 |             classesToMatch[kIOSerialBSDTypeKey] = kIOSerialBSDAllTypes
79 |             result = IOServiceGetMatchingServices(kIOMasterPortDefault, classesToMatch, &portIterator)
   |                                                   |- warning: 'kIOMasterPortDefault' was deprecated in macOS 12.0: renamed to 'kIOMainPortDefault' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
   |                                                   `- note: use 'kIOMainPortDefault' instead
80 |             if result == KERN_SUCCESS {
81 |                 getSerialDevices(iterator: portIterator)
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
/Users/admin/builder/spi-builder-workspace/Sources/USBDeviceMonitor.swift:23:77: warning: 'kIOMasterPortDefault' was deprecated in macOS 12.0: renamed to 'kIOMainPortDefault' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
 21 |             var matchedIterator:io_iterator_t = 0
 22 |             var removalIterator:io_iterator_t = 0
 23 |             let notifyPort:IONotificationPortRef = IONotificationPortCreate(kIOMasterPortDefault)
    |                                                                             |- warning: 'kIOMasterPortDefault' was deprecated in macOS 12.0: renamed to 'kIOMainPortDefault' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
    |                                                                             `- note: use 'kIOMainPortDefault' instead
 24 |             IONotificationPortSetDispatchQueue(notifyPort, DispatchQueue(label: "IODetector"))
 25 |             let matchingDict = IOServiceMatching(kIOUSBDeviceClassName)
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "USBDeviceSwift",
  "name" : "USBDeviceSwift",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "USBDeviceSwift",
      "targets" : [
        "USBDeviceSwift"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "USBDeviceSwift",
      "module_type" : "SwiftTarget",
      "name" : "USBDeviceSwift",
      "path" : "Sources",
      "product_memberships" : [
        "USBDeviceSwift"
      ],
      "sources" : [
        "HIDDevice.swift",
        "HIDDeviceMonitor.swift",
        "SerialDevice.swift",
        "SerialDeviceMonitor.swift",
        "USBDevice.swift",
        "USBDeviceMonitor.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.0"
}
Done.