Build Information
Successful build of Hardware with Swift 6.0 for Linux.
Swift 6 data race errors: 1
Build Command
bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
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 /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
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: linux
Swift version: 6.0
Building package at path: $workDir
https://github.com/elegantchaos/Hardware.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
Fetching https://github.com/elegantchaos/ActionBuilderPlugin.git
Fetching https://github.com/elegantchaos/ActionBuilderCore
Fetching https://github.com/elegantchaos/SemanticVersion
Fetching https://github.com/nicklockwood/SwiftFormat
Fetching https://github.com/elegantchaos/Runner
Fetching https://github.com/elegantchaos/Matchable.git
[1/113] Fetching matchable
[114/252] Fetching matchable, actionbuilderplugin
[253/647] Fetching matchable, actionbuilderplugin, actionbuildercore
[648/799] Fetching matchable, actionbuilderplugin, actionbuildercore, semanticversion
[800/1087] Fetching matchable, actionbuilderplugin, actionbuildercore, semanticversion, runner
Fetched https://github.com/elegantchaos/ActionBuilderPlugin.git from cache (0.29s)
Fetching https://github.com/elegantchaos/XCTestExtensions.git
Fetched https://github.com/elegantchaos/ActionBuilderCore from cache (0.29s)
Fetching https://github.com/elegantchaos/SwiftFormatterPlugin.git
Fetched https://github.com/elegantchaos/Matchable.git from cache (0.29s)
Fetched https://github.com/elegantchaos/Runner from cache (0.29s)
Fetched https://github.com/elegantchaos/SemanticVersion from cache (0.29s)
[1/38425] Fetching swiftformat
[1154/38512] Fetching swiftformat, swiftformatterplugin
[1625/39077] Fetching swiftformat, swiftformatterplugin, xctestextensions
Fetched https://github.com/elegantchaos/SwiftFormatterPlugin.git from cache (0.21s)
Computing version for https://github.com/elegantchaos/SwiftFormatterPlugin.git
Fetched https://github.com/elegantchaos/XCTestExtensions.git from cache (0.22s)
[2306/38425] Fetching swiftformat
Computed https://github.com/elegantchaos/SwiftFormatterPlugin.git at 1.0.3 (0.45s)
Fetched https://github.com/nicklockwood/SwiftFormat from cache (21.82s)
Computing version for https://github.com/elegantchaos/ActionBuilderPlugin.git
Computed https://github.com/elegantchaos/ActionBuilderPlugin.git at 1.0.6 (0.45s)
Computing version for https://github.com/nicklockwood/SwiftFormat
Computed https://github.com/nicklockwood/SwiftFormat at 0.49.13 (1.03s)
Computing version for https://github.com/elegantchaos/ActionBuilderCore
Computed https://github.com/elegantchaos/ActionBuilderCore at 1.0.8 (0.43s)
Computing version for https://github.com/elegantchaos/SemanticVersion
Computed https://github.com/elegantchaos/SemanticVersion at 1.1.0 (0.41s)
Computing version for https://github.com/elegantchaos/Runner
Computed https://github.com/elegantchaos/Runner at 1.3.2 (0.43s)
Computing version for https://github.com/elegantchaos/XCTestExtensions.git
Computed https://github.com/elegantchaos/XCTestExtensions.git at 1.4.9 (0.43s)
Computing version for https://github.com/elegantchaos/Matchable.git
Computed https://github.com/elegantchaos/Matchable.git at 1.0.7 (0.44s)
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/Runner
Working copy of https://github.com/elegantchaos/Runner resolved at 1.3.2
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/nicklockwood/SwiftFormat
Working copy of https://github.com/nicklockwood/SwiftFormat resolved at 0.49.13
Creating working copy for https://github.com/elegantchaos/Matchable.git
Working copy of https://github.com/elegantchaos/Matchable.git resolved at 1.0.7
[1/1] Compiling plugin ActionBuilderPlugin
[2/2] Compiling plugin SwiftFormatterPlugin
Building for debugging...
[2/4] Write sources
[3/4] Write swift-version-24593BA9C3E375BF.txt
[5/13] Compiling Hardware IOObject.swift
[6/13] Compiling Hardware IORegistryEntry.swift
[7/14] Compiling Hardware System.swift
[8/14] Compiling Hardware MacAddress.swift
[9/14] Compiling Hardware IOService.swift
[10/14] Compiling Hardware Platform.swift
[11/14] Emitting module Hardware
/host/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] Compiling Hardware Device.swift
/host/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
/host/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)
Build complete! (38.44s)
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" : "/host/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.