Build Information
Failed to build Hardware, reference main (d9c86f
), with Swift 6.1 for Wasm on 28 May 2025 08:08:43 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.63.1
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: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/elegantchaos/Hardware.git
https://github.com/elegantchaos/Hardware.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"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"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -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 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/elegantchaos/SwiftFormatterPlugin.git
Fetching https://github.com/elegantchaos/ActionBuilderPlugin.git
[1/144] Fetching actionbuilderplugin
[145/231] Fetching actionbuilderplugin, swiftformatterplugin
Fetched https://github.com/elegantchaos/ActionBuilderPlugin.git from cache (0.22s)
Fetched https://github.com/elegantchaos/SwiftFormatterPlugin.git from cache (0.30s)
Computing version for https://github.com/elegantchaos/SwiftFormatterPlugin.git
Computed https://github.com/elegantchaos/SwiftFormatterPlugin.git at 1.0.3 (0.93s)
Fetching https://github.com/nicklockwood/SwiftFormat
[1/48182] Fetching swiftformat
Fetched https://github.com/nicklockwood/SwiftFormat from cache (30.88s)
Computing version for https://github.com/elegantchaos/ActionBuilderPlugin.git
Computed https://github.com/elegantchaos/ActionBuilderPlugin.git at 1.0.8 (35.03s)
Fetching https://github.com/elegantchaos/ActionBuilderCore.git
[1/462] Fetching actionbuildercore
Fetched https://github.com/elegantchaos/ActionBuilderCore.git from cache (0.35s)
Computing version for https://github.com/elegantchaos/ActionBuilderCore.git
Computed https://github.com/elegantchaos/ActionBuilderCore.git at 1.1.1 (1.20s)
Fetching https://github.com/elegantchaos/SemanticVersion.git
Fetching https://github.com/elegantchaos/Versionator.git
Fetching https://github.com/elegantchaos/Runner.git
[1/152] Fetching semanticversion
[153/536] Fetching semanticversion, versionator
[276/1212] Fetching semanticversion, versionator, runner
Fetched https://github.com/elegantchaos/SemanticVersion.git from cache (0.39s)
Fetched https://github.com/elegantchaos/Versionator.git from cache (0.39s)
Fetched https://github.com/elegantchaos/Runner.git from cache (0.39s)
Computing version for https://github.com/elegantchaos/Versionator.git
Computed https://github.com/elegantchaos/Versionator.git at 1.0.3 (1.36s)
Computing version for https://github.com/elegantchaos/SemanticVersion.git
Computed https://github.com/elegantchaos/SemanticVersion.git at 1.1.2 (0.59s)
Computing version for https://github.com/elegantchaos/Runner.git
Computed https://github.com/elegantchaos/Runner.git at 1.3.3 (0.62s)
Fetching https://github.com/elegantchaos/XCTestExtensions.git
[1/571] Fetching xctestextensions
Fetched https://github.com/elegantchaos/XCTestExtensions.git from cache (0.57s)
Computing version for https://github.com/elegantchaos/XCTestExtensions.git
Computed https://github.com/elegantchaos/XCTestExtensions.git at 1.5.1 (1.18s)
Fetching https://github.com/elegantchaos/Matchable.git
[1/113] Fetching matchable
Fetched https://github.com/elegantchaos/Matchable.git from cache (0.25s)
Computing version for https://github.com/elegantchaos/Matchable.git
Computed https://github.com/elegantchaos/Matchable.git at 1.0.7 (0.81s)
Computing version for https://github.com/nicklockwood/SwiftFormat
Computed https://github.com/nicklockwood/SwiftFormat at 0.56.2 (0.60s)
Creating working copy for https://github.com/elegantchaos/Runner.git
Working copy of https://github.com/elegantchaos/Runner.git resolved at 1.3.3
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.git
Working copy of https://github.com/elegantchaos/SemanticVersion.git resolved at 1.1.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.git
Working copy of https://github.com/elegantchaos/ActionBuilderCore.git resolved at 1.1.1
Creating working copy for https://github.com/nicklockwood/SwiftFormat
Working copy of https://github.com/nicklockwood/SwiftFormat resolved at 0.56.2
Creating working copy for https://github.com/elegantchaos/Versionator.git
Working copy of https://github.com/elegantchaos/Versionator.git resolved at 1.0.3
Creating working copy for https://github.com/elegantchaos/ActionBuilderPlugin.git
Working copy of https://github.com/elegantchaos/ActionBuilderPlugin.git resolved at 1.0.8
Creating working copy for https://github.com/elegantchaos/XCTestExtensions.git
Working copy of https://github.com/elegantchaos/XCTestExtensions.git resolved at 1.5.1
[0/7] Write sources
[2/7] Write swift-version-24593BA9C3E375BF.txt
[4/9] Emitting module Runner
[5/9] Compiling Runner Runner.swift
[6/10] Wrapping AST for Runner for debugging
[8/12] Emitting module VersionatorTool
[9/12] Compiling VersionatorTool VersionatorTool.swift
[10/13] Wrapping AST for VersionatorTool for debugging
[11/13] Write Objects.LinkFileList
[12/13] Linking VersionatorTool-tool
[1/1] Compiling plugin SwiftFormatterPlugin
[2/2] Compiling plugin SwiftFormatPlugin
[3/3] Compiling plugin ActionBuilderPlugin
[4/4] Compiling plugin VersionatorPlugin
Building for debugging...
[4/6] Write sources
[5/6] Write swift-version-24593BA9C3E375BF.txt
[7/15] Compiling Hardware IOObject.swift
[8/16] Compiling Hardware IOService.swift
[9/16] Compiling Hardware Platform.swift
/host/spi-builder-workspace/Sources/Hardware/Platform.swift:59:32: error: type 'Platform.Base' has no member 'unknown'
57 | return Platform(base: .linux, variant: .normal)
58 | #else
59 | return Platform(base: .unknown, variant: .normal)
| `- error: type 'Platform.Base' has no member 'unknown'
60 | #endif
61 | }
[10/16] Compiling Hardware IORegistryEntry.swift
[11/16] Compiling Hardware MacAddress.swift
[12/16] Compiling Hardware System.swift
/host/spi-builder-workspace/Sources/Hardware/System.swift:42:5: error: return from initializer without initializing all stored properties
17 |
18 | public struct System {
19 | public let name: String
| `- note: 'self.name' not initialized
20 | public let versionString: String
| `- note: 'self.versionString' not initialized
21 | public let fullVersionString: String
22 | public let version: OperatingSystemVersion
:
40 | self.versionString = version.asString
41 | #endif
42 | }
| `- error: return from initializer without initializing all stored properties
43 | }
44 |
[13/16] Compiling Hardware IOIterator.swift
[14/16] Emitting module Hardware
/host/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)
[15/16] 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 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)
[16/16] 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 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)
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/5] Write swift-version-24593BA9C3E375BF.txt
[2/7] Emitting module Runner
[3/7] Compiling Runner Runner.swift
[5/9] Emitting module VersionatorTool
[6/9] Compiling VersionatorTool VersionatorTool.swift
[7/9] Write Objects.LinkFileList
[8/9] Linking VersionatorTool-tool
[0/1] Planning build
[1/1] Compiling plugin SwiftFormatterPlugin
[2/2] Compiling plugin SwiftFormatPlugin
[3/3] Compiling plugin ActionBuilderPlugin
[4/4] Compiling plugin VersionatorPlugin
Building for debugging...
[4/5] Write swift-version-24593BA9C3E375BF.txt
[6/14] Compiling Hardware IOObject.swift
[7/14] Compiling Hardware IOIterator.swift
[8/15] Compiling Hardware Platform.swift
/host/spi-builder-workspace/Sources/Hardware/Platform.swift:59:32: error: type 'Platform.Base' has no member 'unknown'
57 | return Platform(base: .linux, variant: .normal)
58 | #else
59 | return Platform(base: .unknown, variant: .normal)
| `- error: type 'Platform.Base' has no member 'unknown'
60 | #endif
61 | }
[9/15] Compiling Hardware System.swift
/host/spi-builder-workspace/Sources/Hardware/System.swift:42:5: error: return from initializer without initializing all stored properties
17 |
18 | public struct System {
19 | public let name: String
| `- note: 'self.name' not initialized
20 | public let versionString: String
| `- note: 'self.versionString' not initialized
21 | public let fullVersionString: String
22 | public let version: OperatingSystemVersion
:
40 | self.versionString = version.asString
41 | #endif
42 | }
| `- error: return from initializer without initializing all stored properties
43 | }
44 |
[10/15] Compiling Hardware Device.swift
[11/15] Compiling Hardware EthernetInterface.swift
[12/15] Emitting module Hardware
[13/15] Compiling Hardware IORegistryEntry.swift
[14/15] Compiling Hardware IOService.swift
[15/15] Compiling Hardware MacAddress.swift
BUILD FAILURE 6.1 wasm