Build Information
Successful build of Hardware, reference main (d9c86f
), with Swift 6.1 for macOS (SPM) on 27 Apr 2025 02:07:23 UTC.
Swift 6 data race errors: 1
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Build Log
========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/elegantchaos/Hardware.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/elegantchaos/Hardware
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at d9c86fd Updated header
Cloned https://github.com/elegantchaos/Hardware.git
Revision (git rev-parse @):
d9c86fdc42f14e5014e588d532df013f331ca9d7
SUCCESS checkout https://github.com/elegantchaos/Hardware.git at main
Fetching https://github.com/elegantchaos/ActionBuilderPlugin.git
Fetching https://github.com/elegantchaos/SwiftFormatterPlugin.git
Fetching https://github.com/elegantchaos/XCTestExtensions.git
Fetching https://github.com/elegantchaos/ActionBuilderCore
Fetching https://github.com/elegantchaos/Runner
Fetching https://github.com/nicklockwood/SwiftFormat
Fetching https://github.com/elegantchaos/SemanticVersion
[1/152] Fetching semanticversion
[153/723] Fetching semanticversion, xctestextensions
[245/1185] Fetching semanticversion, xctestextensions, actionbuildercore
[246/1272] Fetching semanticversion, xctestextensions, actionbuildercore, swiftformatterplugin
[651/1948] Fetching semanticversion, xctestextensions, actionbuildercore, swiftformatterplugin, runner
[787/2092] Fetching semanticversion, xctestextensions, actionbuildercore, swiftformatterplugin, runner, actionbuilderplugin
Fetched https://github.com/elegantchaos/XCTestExtensions.git from cache (0.80s)
Fetched https://github.com/elegantchaos/ActionBuilderPlugin.git from cache (0.80s)
Fetching https://github.com/elegantchaos/Matchable.git
[1323/1377] Fetching semanticversion, actionbuildercore, swiftformatterplugin, runner
Fetched https://github.com/elegantchaos/Runner from cache (0.89s)
Fetched https://github.com/elegantchaos/ActionBuilderCore from cache (0.89s)
Fetched https://github.com/elegantchaos/SemanticVersion from cache (0.89s)
[1/46730] Fetching swiftformat
[1871/46843] Fetching swiftformat, matchable
Fetched https://github.com/elegantchaos/Matchable.git from cache (0.60s)
[2337/46730] Fetching swiftformat
Fetched https://github.com/nicklockwood/SwiftFormat from cache (14.12s)
Fetched https://github.com/elegantchaos/SwiftFormatterPlugin.git from cache (14.12s)
Computing version for https://github.com/elegantchaos/SwiftFormatterPlugin.git
Computed https://github.com/elegantchaos/SwiftFormatterPlugin.git at 1.0.3 (14.78s)
Computing version for https://github.com/elegantchaos/ActionBuilderPlugin.git
Computed https://github.com/elegantchaos/ActionBuilderPlugin.git at 1.0.6 (0.65s)
Computing version for https://github.com/nicklockwood/SwiftFormat
Computed https://github.com/nicklockwood/SwiftFormat at 0.49.13 (3.05s)
Computing version for https://github.com/elegantchaos/ActionBuilderCore
Computed https://github.com/elegantchaos/ActionBuilderCore at 1.0.8 (0.62s)
Computing version for https://github.com/elegantchaos/SemanticVersion
Computed https://github.com/elegantchaos/SemanticVersion at 1.1.0 (0.61s)
Computing version for https://github.com/elegantchaos/Runner
Computed https://github.com/elegantchaos/Runner at 1.3.2 (0.62s)
Computing version for https://github.com/elegantchaos/XCTestExtensions.git
Computed https://github.com/elegantchaos/XCTestExtensions.git at 1.4.9 (0.61s)
Computing version for https://github.com/elegantchaos/Matchable.git
Computed https://github.com/elegantchaos/Matchable.git at 1.0.7 (0.61s)
Creating working copy for https://github.com/elegantchaos/Runner
Working copy of https://github.com/elegantchaos/Runner resolved at 1.3.2
Creating working copy for https://github.com/elegantchaos/XCTestExtensions.git
Working copy of https://github.com/elegantchaos/XCTestExtensions.git resolved at 1.4.9
Creating working copy for https://github.com/elegantchaos/ActionBuilderCore
Working copy of https://github.com/elegantchaos/ActionBuilderCore resolved at 1.0.8
Creating working copy for https://github.com/elegantchaos/ActionBuilderPlugin.git
Working copy of https://github.com/elegantchaos/ActionBuilderPlugin.git resolved at 1.0.6
Creating working copy for https://github.com/elegantchaos/SemanticVersion
Working copy of https://github.com/elegantchaos/SemanticVersion resolved at 1.1.0
Creating working copy for https://github.com/elegantchaos/Matchable.git
Working copy of https://github.com/elegantchaos/Matchable.git resolved at 1.0.7
Creating working copy for https://github.com/elegantchaos/SwiftFormatterPlugin.git
Working copy of https://github.com/elegantchaos/SwiftFormatterPlugin.git resolved at 1.0.3
Creating working copy for https://github.com/nicklockwood/SwiftFormat
Working copy of https://github.com/nicklockwood/SwiftFormat resolved at 0.49.13
========================================
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",
"dependencies": [
{
"identity": "hardware",
"name": "Hardware",
"url": "https://github.com/elegantchaos/Hardware.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Hardware",
"dependencies": [
]
}
]
}
Fetching https://github.com/elegantchaos/Hardware.git
[1/183] Fetching hardware
Fetched https://github.com/elegantchaos/Hardware.git from cache (0.68s)
Creating working copy for https://github.com/elegantchaos/Hardware.git
Working copy of https://github.com/elegantchaos/Hardware.git resolved at main (d9c86fd)
warning: '.resolve-product-dependencies': dependency 'hardware' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/elegantchaos/Hardware.git
https://github.com/elegantchaos/Hardware.git
{
"dependencies" : [
{
"identity" : "actionbuilderplugin",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.6",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/elegantchaos/ActionBuilderPlugin.git"
},
{
"identity" : "swiftformatterplugin",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.3",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/elegantchaos/SwiftFormatterPlugin.git"
}
],
"manifest_display_name" : "Hardware",
"name" : "Hardware",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "Hardware",
"targets" : [
"Hardware"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "HardwareTests",
"module_type" : "SwiftTarget",
"name" : "HardwareTests",
"path" : "Tests/HardwareTests",
"sources" : [
"DeviceTests.swift"
],
"target_dependencies" : [
"Hardware"
],
"type" : "test"
},
{
"c99name" : "Hardware",
"module_type" : "SwiftTarget",
"name" : "Hardware",
"path" : "Sources/Hardware",
"product_memberships" : [
"Hardware"
],
"sources" : [
"Device.swift",
"EthernetInterface.swift",
"IOIterator.swift",
"IOObject.swift",
"IORegistryEntry.swift",
"IOService.swift",
"MacAddress.swift",
"Platform.swift",
"System.swift"
],
"type" : "library"
}
],
"tools_version" : "5.6"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
[1/1] Compiling plugin SwiftFormatterPlugin
[2/2] Compiling plugin ActionBuilderPlugin
Building for debugging...
[2/4] Write sources
[3/4] Write swift-version-2F0A5646E1D333AE.txt
[5/14] Compiling Hardware IOService.swift
[6/14] Compiling Hardware System.swift
[7/14] Compiling Hardware Platform.swift
[8/14] Compiling Hardware IORegistryEntry.swift
[9/14] Compiling Hardware MacAddress.swift
[10/14] Compiling Hardware IOObject.swift
[11/14] Emitting module Hardware
/Users/admin/builder/spi-builder-workspace/Sources/Hardware/Device.swift:15:23: warning: static property 'main' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 | /// (also incorporates some values from ProcessInfo.processInfo which don't vary per-process)
14 | public struct Device {
15 | public static var main: Device = .init()
| |- warning: static property 'main' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'main' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'main' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | #if canImport(IOKit)
[12/14] Compiling Hardware Device.swift
/Users/admin/builder/spi-builder-workspace/Sources/Hardware/Device.swift:15:23: warning: static property 'main' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 | /// (also incorporates some values from ProcessInfo.processInfo which don't vary per-process)
14 | public struct Device {
15 | public static var main: Device = .init()
| |- warning: static property 'main' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'main' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'main' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | #if canImport(IOKit)
[13/14] Compiling Hardware IOIterator.swift
[14/14] Compiling Hardware EthernetInterface.swift
Build complete! (8.97s)
Build complete.
{
"dependencies" : [
{
"identity" : "actionbuilderplugin",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.6",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/elegantchaos/ActionBuilderPlugin.git"
},
{
"identity" : "swiftformatterplugin",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.3",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/elegantchaos/SwiftFormatterPlugin.git"
}
],
"manifest_display_name" : "Hardware",
"name" : "Hardware",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "Hardware",
"targets" : [
"Hardware"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "HardwareTests",
"module_type" : "SwiftTarget",
"name" : "HardwareTests",
"path" : "Tests/HardwareTests",
"sources" : [
"DeviceTests.swift"
],
"target_dependencies" : [
"Hardware"
],
"type" : "test"
},
{
"c99name" : "Hardware",
"module_type" : "SwiftTarget",
"name" : "Hardware",
"path" : "Sources/Hardware",
"product_memberships" : [
"Hardware"
],
"sources" : [
"Device.swift",
"EthernetInterface.swift",
"IOIterator.swift",
"IOObject.swift",
"IORegistryEntry.swift",
"IOService.swift",
"MacAddress.swift",
"Platform.swift",
"System.swift"
],
"type" : "library"
}
],
"tools_version" : "5.6"
}
Done.