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 arm64Build 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: [1;33mwarning: [1;39m'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'SerialDevice' to 'Hashable' by implementing 'hash(into:)' instead[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m30 |[0;0m
[0;36m31 |[0;0m extension SerialDevice: Hashable {
[0;36m32 |[0;0m public var hashValue: Int {
[0;36m|[0;0m `- [1;33mwarning: [1;39m'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'SerialDevice' to 'Hashable' by implementing 'hash(into:)' instead[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m33 |[0;0m return "\(path)".hashValue
[0;36m34 |[0;0m }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
/Users/admin/builder/spi-builder-workspace/Sources/SerialDevice.swift:32:16: [1;33mwarning: [1;39m'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'SerialDevice' to 'Hashable' by implementing 'hash(into:)' instead[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m30 |[0;0m
[0;36m31 |[0;0m extension SerialDevice: Hashable {
[0;36m32 |[0;0m public var hashValue: Int {
[0;36m|[0;0m `- [1;33mwarning: [1;39m'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'SerialDevice' to 'Hashable' by implementing 'hash(into:)' instead[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m33 |[0;0m return "\(path)".hashValue
[0;36m34 |[0;0m }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
/Users/admin/builder/spi-builder-workspace/Sources/SerialDeviceMonitor.swift:79:51: [1;33mwarning: [1;39m'kIOMasterPortDefault' was deprecated in macOS 12.0: renamed to 'kIOMainPortDefault'[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m77 |[0;0m let classesToMatch = IOServiceMatching(kIOSerialBSDServiceValue) as NSMutableDictionary
[0;36m78 |[0;0m classesToMatch[kIOSerialBSDTypeKey] = kIOSerialBSDAllTypes
[0;36m79 |[0;0m result = IOServiceGetMatchingServices(kIOMasterPortDefault, classesToMatch, &portIterator)
[0;36m|[0;0m |- [1;33mwarning: [1;39m'kIOMasterPortDefault' was deprecated in macOS 12.0: renamed to 'kIOMainPortDefault'[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m|[0;0m `- [1;39mnote: [1;39muse 'kIOMainPortDefault' instead[0;0m
[0;36m80 |[0;0m if result == KERN_SUCCESS {
[0;36m81 |[0;0m getSerialDevices(iterator: portIterator)
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
/Users/admin/builder/spi-builder-workspace/Sources/USBDeviceMonitor.swift:23:77: [1;33mwarning: [1;39m'kIOMasterPortDefault' was deprecated in macOS 12.0: renamed to 'kIOMainPortDefault'[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m21 |[0;0m var matchedIterator:io_iterator_t = 0
[0;36m22 |[0;0m var removalIterator:io_iterator_t = 0
[0;36m23 |[0;0m let notifyPort:IONotificationPortRef = IONotificationPortCreate(kIOMasterPortDefault)
[0;36m|[0;0m |- [1;33mwarning: [1;39m'kIOMasterPortDefault' was deprecated in macOS 12.0: renamed to 'kIOMainPortDefault'[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m|[0;0m `- [1;39mnote: [1;39muse 'kIOMainPortDefault' instead[0;0m
[0;36m24 |[0;0m IONotificationPortSetDispatchQueue(notifyPort, DispatchQueue(label: "IODetector"))
[0;36m25 |[0;0m 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.