Build Information
Failed to build Hardware, reference main (d9c86f
), with Swift 6.1 for Android on 28 May 2025 08:08:33 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 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: android
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-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -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
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Fetching https://github.com/elegantchaos/ActionBuilderPlugin.git
[1/144] Fetching actionbuilderplugin
Fetched https://github.com/elegantchaos/ActionBuilderPlugin.git from cache (0.36s)
Fetching https://github.com/elegantchaos/SwiftFormatterPlugin.git
[1/87] Fetching swiftformatterplugin
Fetched https://github.com/elegantchaos/SwiftFormatterPlugin.git from cache (0.26s)
Computing version for https://github.com/elegantchaos/SwiftFormatterPlugin.git
Computed https://github.com/elegantchaos/SwiftFormatterPlugin.git at 1.0.3 (1.25s)
Fetching https://github.com/nicklockwood/SwiftFormat
[1/48182] Fetching swiftformat
Fetched https://github.com/nicklockwood/SwiftFormat from cache (24.06s)
Computing version for https://github.com/elegantchaos/ActionBuilderPlugin.git
Computed https://github.com/elegantchaos/ActionBuilderPlugin.git at 1.0.8 (24.64s)
Fetching https://github.com/elegantchaos/ActionBuilderCore.git
[1/462] Fetching actionbuildercore
Fetched https://github.com/elegantchaos/ActionBuilderCore.git from cache (0.27s)
Computing version for https://github.com/elegantchaos/ActionBuilderCore.git
Computed https://github.com/elegantchaos/ActionBuilderCore.git at 1.1.1 (0.82s)
Fetching https://github.com/elegantchaos/Runner.git
Fetching https://github.com/elegantchaos/Versionator.git
Fetching https://github.com/elegantchaos/SemanticVersion.git
[1/152] Fetching semanticversion
[2/536] Fetching semanticversion, versionator
[384/1212] Fetching semanticversion, versionator, runner
Fetched https://github.com/elegantchaos/Versionator.git from cache (0.27s)
Fetched https://github.com/elegantchaos/SemanticVersion.git from cache (0.28s)
Fetched https://github.com/elegantchaos/Runner.git from cache (0.28s)
Computing version for https://github.com/elegantchaos/Versionator.git
Computed https://github.com/elegantchaos/Versionator.git at 1.0.3 (0.88s)
Computing version for https://github.com/elegantchaos/SemanticVersion.git
Computed https://github.com/elegantchaos/SemanticVersion.git at 1.1.2 (0.52s)
Computing version for https://github.com/elegantchaos/Runner.git
Computed https://github.com/elegantchaos/Runner.git at 1.3.3 (0.51s)
Fetching https://github.com/elegantchaos/XCTestExtensions.git
[1/571] Fetching xctestextensions
Fetched https://github.com/elegantchaos/XCTestExtensions.git from cache (0.35s)
Computing version for https://github.com/elegantchaos/XCTestExtensions.git
Computed https://github.com/elegantchaos/XCTestExtensions.git at 1.5.1 (1.34s)
Fetching https://github.com/elegantchaos/Matchable.git
[1/113] Fetching matchable
Fetched https://github.com/elegantchaos/Matchable.git from cache (0.27s)
Computing version for https://github.com/elegantchaos/Matchable.git
Computed https://github.com/elegantchaos/Matchable.git at 1.0.7 (0.76s)
Computing version for https://github.com/nicklockwood/SwiftFormat
Computed https://github.com/nicklockwood/SwiftFormat at 0.56.2 (0.62s)
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/SemanticVersion.git
Working copy of https://github.com/elegantchaos/SemanticVersion.git resolved at 1.1.2
Creating working copy for https://github.com/elegantchaos/XCTestExtensions.git
Working copy of https://github.com/elegantchaos/XCTestExtensions.git resolved at 1.5.1
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/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/Runner.git
Working copy of https://github.com/elegantchaos/Runner.git resolved at 1.3.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
[0/7] Write sources
[2/7] Write swift-version-24593BA9C3E375BF.txt
[4/9] Compiling Runner Runner.swift
[5/9] Emitting module Runner
[6/10] Wrapping AST for Runner for debugging
[8/12] Compiling VersionatorTool VersionatorTool.swift
[9/12] Emitting module VersionatorTool
[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 IOService.swift
[8/16] Compiling Hardware IORegistryEntry.swift
[9/16] Compiling Hardware IOIterator.swift
[10/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 |
[11/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)
[12/16] Compiling Hardware IOObject.swift
[13/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)
[14/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)
[15/16] Compiling Hardware MacAddress.swift
[16/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 | }
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-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 IOService.swift
[7/15] Compiling Hardware MacAddress.swift
[8/15] Compiling Hardware IOIterator.swift
[9/15] Compiling Hardware IOObject.swift
[10/15] Emitting module Hardware
[11/15] Compiling Hardware IORegistryEntry.swift
[12/15] Compiling Hardware Device.swift
[13/15] Compiling Hardware EthernetInterface.swift
[14/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 | }
[15/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 |
BUILD FAILURE 6.1 android