Build Information
Successful build of Hardware with Swift 6.0 for macOS (SPM).
Swift 6 data race errors: 1
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.40.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
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $workDir
https://github.com/elegantchaos/Hardware.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
[1/1] Compiling plugin ActionBuilderPlugin
[2/2] Compiling plugin SwiftFormatterPlugin
Building for debugging...
[2/4] Write sources
[3/4] Write swift-version-6F35C1178C84523A.txt
[5/14] Compiling Hardware IORegistryEntry.swift
[6/14] Compiling Hardware MacAddress.swift
[7/14] Compiling Hardware IOObject.swift
[8/14] Compiling Hardware System.swift
[9/14] Compiling Hardware Platform.swift
[10/14] Compiling Hardware IOService.swift
[11/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 non-isolated 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 non-isolated 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: annotate 'main' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | #if canImport(IOKit)
[12/14] Compiling Hardware IOIterator.swift
[13/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 non-isolated 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 non-isolated 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: annotate 'main' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | #if canImport(IOKit)
[14/14] Compiling Hardware EthernetInterface.swift
Build complete! (51.61s)
Fetching https://github.com/elegantchaos/SemanticVersion
Fetching https://github.com/elegantchaos/SwiftFormatterPlugin.git
Fetching https://github.com/elegantchaos/XCTestExtensions.git
Fetching https://github.com/nicklockwood/SwiftFormat
Fetching https://github.com/elegantchaos/ActionBuilderPlugin.git
Fetching https://github.com/elegantchaos/ActionBuilderCore
Fetching https://github.com/elegantchaos/Runner
[1/152] Fetching semanticversion
[153/547] Fetching semanticversion, actionbuildercore
[248/634] Fetching semanticversion, actionbuildercore, swiftformatterplugin
[335/773] Fetching semanticversion, actionbuildercore, swiftformatterplugin, actionbuilderplugin
Fetched https://github.com/elegantchaos/SemanticVersion from cache (0.79s)
Fetching https://github.com/elegantchaos/Matchable.git
[322/1186] Fetching actionbuildercore, swiftformatterplugin, actionbuilderplugin, xctestextensions
[484/1474] Fetching actionbuildercore, swiftformatterplugin, actionbuilderplugin, xctestextensions, runner
[1475/39899] Fetching actionbuildercore, swiftformatterplugin, actionbuilderplugin, xctestextensions, runner, swiftformat
[3397/40012] Fetching actionbuildercore, swiftformatterplugin, actionbuilderplugin, xctestextensions, runner, swiftformat, matchable
Fetched https://github.com/elegantchaos/Matchable.git from cache (0.73s)
[3780/39899] Fetching actionbuildercore, swiftformatterplugin, actionbuilderplugin, xctestextensions, runner, swiftformat
Fetched https://github.com/elegantchaos/XCTestExtensions.git from cache (16.17s)
Fetched https://github.com/elegantchaos/ActionBuilderPlugin.git from cache (16.17s)
Fetched https://github.com/elegantchaos/Runner from cache (16.17s)
Fetched https://github.com/elegantchaos/ActionBuilderCore from cache (16.17s)
Fetched https://github.com/elegantchaos/SwiftFormatterPlugin.git from cache (16.17s)
Fetched https://github.com/nicklockwood/SwiftFormat from cache (16.17s)
Computing version for https://github.com/elegantchaos/SwiftFormatterPlugin.git
Computed https://github.com/elegantchaos/SwiftFormatterPlugin.git at 1.0.3 (0.69s)
Computing version for https://github.com/elegantchaos/ActionBuilderPlugin.git
Computed https://github.com/elegantchaos/ActionBuilderPlugin.git at 1.0.6 (0.69s)
Computing version for https://github.com/nicklockwood/SwiftFormat
Computed https://github.com/nicklockwood/SwiftFormat at 0.49.13 (2.74s)
Computing version for https://github.com/elegantchaos/ActionBuilderCore
Computed https://github.com/elegantchaos/ActionBuilderCore at 1.0.8 (0.70s)
Computing version for https://github.com/elegantchaos/SemanticVersion
Computed https://github.com/elegantchaos/SemanticVersion at 1.1.0 (0.67s)
Computing version for https://github.com/elegantchaos/Runner
Computed https://github.com/elegantchaos/Runner at 1.3.2 (0.68s)
Computing version for https://github.com/elegantchaos/XCTestExtensions.git
Computed https://github.com/elegantchaos/XCTestExtensions.git at 1.4.9 (0.70s)
Computing version for https://github.com/elegantchaos/Matchable.git
Computed https://github.com/elegantchaos/Matchable.git at 1.0.7 (0.70s)
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/Matchable.git
Working copy of https://github.com/elegantchaos/Matchable.git resolved at 1.0.7
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/nicklockwood/SwiftFormat
Working copy of https://github.com/nicklockwood/SwiftFormat resolved at 0.49.13
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/SwiftFormatterPlugin.git
Working copy of https://github.com/elegantchaos/SwiftFormatterPlugin.git resolved at 1.0.3
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/XCTestExtensions.git
Working copy of https://github.com/elegantchaos/XCTestExtensions.git resolved at 1.4.9
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.