Build Information
Successful build of OnyxShell, reference main (35add0), with Swift 6.1 for Android on 30 May 2025 14:52:37 UTC.
Swift 6 data race errors: 4
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 -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>&1Build Log
========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/wuyu2015/OnyxShellSwift.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/wuyu2015/OnyxShellSwift
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 35add01 Modify: OnyxCommand.printUsage
Cloned https://github.com/wuyu2015/OnyxShellSwift.git
Revision (git rev-parse @):
35add016fae35abd9039252b8c4ab6d9ef13f95e
SUCCESS checkout https://github.com/wuyu2015/OnyxShellSwift.git at main
========================================
Build
========================================
Selected platform: android
Swift version: 6.1
Building package at path: $PWD
https://github.com/wuyu2015/OnyxShellSwift.git
https://github.com/wuyu2015/OnyxShellSwift.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
],
"manifest_display_name" : "OnyxShell",
"name" : "OnyxShell",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "OnyxShell",
"targets" : [
"OnyxShell"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "OnyxShellTests",
"module_type" : "SwiftTarget",
"name" : "OnyxShellTests",
"path" : "Tests/OnyxShellTests",
"sources" : [
"ArgumentParserMirrorTest.swift",
"ArgumentPaserTests.swift",
"CommandResult.swift",
"DemoTest.swift",
"FlagTests.swift",
"OptionTests.swift",
"SubcommandTests.swift",
"UtilsStrTests.swift",
"ValueTests.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"OnyxShell"
],
"type" : "test"
},
{
"c99name" : "OnyxShell",
"module_type" : "SwiftTarget",
"name" : "OnyxShell",
"path" : "Sources/OnyxShell",
"product_memberships" : [
"OnyxShell"
],
"sources" : [
"Command/enum/NameType.swift",
"Command/enum/ParsingStrategy.swift",
"Command/enum/ValueExclusivity.swift",
"Command/error/ArgumentParserError.swift",
"Command/error/InternalError.swift",
"Command/error/ParseValueError.swift",
"Command/error/ValueError.swift",
"Command/propertyWrapper/Argument.swift",
"Command/propertyWrapper/Flag.swift",
"Command/propertyWrapper/Option.swift",
"Command/propertyWrapper/Value.swift",
"Command/protocol/OnyxCommand+extension.swift",
"Command/protocol/OnyxCommand+func.swift",
"Command/protocol/OnyxCommand.swift",
"Command/struct/ArgumentParser+Argument.swift",
"Command/struct/ArgumentParser+Flag.swift",
"Command/struct/ArgumentParser+Option.swift",
"Command/struct/ArgumentParser+Value.swift",
"Command/struct/ArgumentParser+mirror.swift",
"Command/struct/ArgumentParser.swift",
"Command/struct/CommandConfiguration.swift",
"Onyx.swift",
"Utils/Str.swift",
"Utils/Utils.swift",
"var.swift"
],
"type" : "library"
}
],
"tools_version" : "5.1"
}
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
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/25] Emitting module OnyxShell
/host/spi-builder-workspace/Sources/OnyxShell/Command/error/ValueError.swift:5:14: warning: associated value 'duplicateExclusiveValues' of 'Sendable'-conforming enum 'ValueError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
3 | extension Onyx {
4 | public enum ValueError: LocalizedError {
5 | case duplicateExclusiveValues(Any)
| `- warning: associated value 'duplicateExclusiveValues' of 'Sendable'-conforming enum 'ValueError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
6 | case wrongType(Any)
7 |
/host/spi-builder-workspace/Sources/OnyxShell/Command/error/ValueError.swift:6:14: warning: associated value 'wrongType' of 'Sendable'-conforming enum 'ValueError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
4 | public enum ValueError: LocalizedError {
5 | case duplicateExclusiveValues(Any)
6 | case wrongType(Any)
| `- warning: associated value 'wrongType' of 'Sendable'-conforming enum 'ValueError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
7 |
8 | public var errorDescription: String? {
/host/spi-builder-workspace/Sources/OnyxShell/Command/struct/CommandConfiguration.swift:4:27: warning: static property 'emptyConfiguration' is not concurrency-safe because non-'Sendable' type 'Onyx.CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
1 | extension Onyx {
2 |
3 | public struct CommandConfiguration {
| `- note: consider making struct 'CommandConfiguration' conform to the 'Sendable' protocol
4 | public static let emptyConfiguration = Self()
| |- warning: static property 'emptyConfiguration' is not concurrency-safe because non-'Sendable' type 'Onyx.CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'emptyConfiguration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5 |
6 | public let name: String?
/host/spi-builder-workspace/Sources/OnyxShell/var.swift:2:23: warning: static property 'commands' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
1 | extension Onyx {
2 | public static var commands: [OnyxCommand] = []
| |- warning: static property 'commands' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'commands' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'commands' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
3 | }
4 |
[4/28] Compiling OnyxShell OnyxCommand.swift
[5/28] Compiling OnyxShell ArgumentParser+Argument.swift
[6/28] Compiling OnyxShell ArgumentParser+Flag.swift
[7/28] Compiling OnyxShell ArgumentParser+Option.swift
[8/28] Compiling OnyxShell ArgumentParser+Value.swift
[9/28] Compiling OnyxShell ArgumentParser+mirror.swift
[10/28] Compiling OnyxShell Argument.swift
[11/28] Compiling OnyxShell Flag.swift
[12/28] Compiling OnyxShell Option.swift
[13/28] Compiling OnyxShell InternalError.swift
/host/spi-builder-workspace/Sources/OnyxShell/Command/error/ValueError.swift:5:14: warning: associated value 'duplicateExclusiveValues' of 'Sendable'-conforming enum 'ValueError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
3 | extension Onyx {
4 | public enum ValueError: LocalizedError {
5 | case duplicateExclusiveValues(Any)
| `- warning: associated value 'duplicateExclusiveValues' of 'Sendable'-conforming enum 'ValueError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
6 | case wrongType(Any)
7 |
/host/spi-builder-workspace/Sources/OnyxShell/Command/error/ValueError.swift:6:14: warning: associated value 'wrongType' of 'Sendable'-conforming enum 'ValueError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
4 | public enum ValueError: LocalizedError {
5 | case duplicateExclusiveValues(Any)
6 | case wrongType(Any)
| `- warning: associated value 'wrongType' of 'Sendable'-conforming enum 'ValueError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
7 |
8 | public var errorDescription: String? {
[14/28] Compiling OnyxShell ParseValueError.swift
/host/spi-builder-workspace/Sources/OnyxShell/Command/error/ValueError.swift:5:14: warning: associated value 'duplicateExclusiveValues' of 'Sendable'-conforming enum 'ValueError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
3 | extension Onyx {
4 | public enum ValueError: LocalizedError {
5 | case duplicateExclusiveValues(Any)
| `- warning: associated value 'duplicateExclusiveValues' of 'Sendable'-conforming enum 'ValueError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
6 | case wrongType(Any)
7 |
/host/spi-builder-workspace/Sources/OnyxShell/Command/error/ValueError.swift:6:14: warning: associated value 'wrongType' of 'Sendable'-conforming enum 'ValueError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
4 | public enum ValueError: LocalizedError {
5 | case duplicateExclusiveValues(Any)
6 | case wrongType(Any)
| `- warning: associated value 'wrongType' of 'Sendable'-conforming enum 'ValueError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
7 |
8 | public var errorDescription: String? {
[15/28] Compiling OnyxShell ValueError.swift
/host/spi-builder-workspace/Sources/OnyxShell/Command/error/ValueError.swift:5:14: warning: associated value 'duplicateExclusiveValues' of 'Sendable'-conforming enum 'ValueError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
3 | extension Onyx {
4 | public enum ValueError: LocalizedError {
5 | case duplicateExclusiveValues(Any)
| `- warning: associated value 'duplicateExclusiveValues' of 'Sendable'-conforming enum 'ValueError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
6 | case wrongType(Any)
7 |
/host/spi-builder-workspace/Sources/OnyxShell/Command/error/ValueError.swift:6:14: warning: associated value 'wrongType' of 'Sendable'-conforming enum 'ValueError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
4 | public enum ValueError: LocalizedError {
5 | case duplicateExclusiveValues(Any)
6 | case wrongType(Any)
| `- warning: associated value 'wrongType' of 'Sendable'-conforming enum 'ValueError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
7 |
8 | public var errorDescription: String? {
[16/28] Compiling OnyxShell Str.swift
/host/spi-builder-workspace/Sources/OnyxShell/var.swift:2:23: warning: static property 'commands' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
1 | extension Onyx {
2 | public static var commands: [OnyxCommand] = []
| |- warning: static property 'commands' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'commands' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'commands' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
3 | }
4 |
[17/28] Compiling OnyxShell Utils.swift
/host/spi-builder-workspace/Sources/OnyxShell/var.swift:2:23: warning: static property 'commands' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
1 | extension Onyx {
2 | public static var commands: [OnyxCommand] = []
| |- warning: static property 'commands' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'commands' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'commands' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
3 | }
4 |
[18/28] Compiling OnyxShell var.swift
/host/spi-builder-workspace/Sources/OnyxShell/var.swift:2:23: warning: static property 'commands' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
1 | extension Onyx {
2 | public static var commands: [OnyxCommand] = []
| |- warning: static property 'commands' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'commands' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'commands' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
3 | }
4 |
[19/28] Compiling OnyxShell NameType.swift
[20/28] Compiling OnyxShell ParsingStrategy.swift
[21/28] Compiling OnyxShell ValueExclusivity.swift
[22/28] Compiling OnyxShell ArgumentParserError.swift
[23/28] Compiling OnyxShell Value.swift
[24/28] Compiling OnyxShell OnyxCommand+extension.swift
[25/28] Compiling OnyxShell OnyxCommand+func.swift
[26/28] Compiling OnyxShell ArgumentParser.swift
/host/spi-builder-workspace/Sources/OnyxShell/Command/struct/CommandConfiguration.swift:4:27: warning: static property 'emptyConfiguration' is not concurrency-safe because non-'Sendable' type 'Onyx.CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
1 | extension Onyx {
2 |
3 | public struct CommandConfiguration {
| `- note: consider making struct 'CommandConfiguration' conform to the 'Sendable' protocol
4 | public static let emptyConfiguration = Self()
| |- warning: static property 'emptyConfiguration' is not concurrency-safe because non-'Sendable' type 'Onyx.CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'emptyConfiguration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5 |
6 | public let name: String?
[27/28] Compiling OnyxShell CommandConfiguration.swift
/host/spi-builder-workspace/Sources/OnyxShell/Command/struct/CommandConfiguration.swift:4:27: warning: static property 'emptyConfiguration' is not concurrency-safe because non-'Sendable' type 'Onyx.CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
1 | extension Onyx {
2 |
3 | public struct CommandConfiguration {
| `- note: consider making struct 'CommandConfiguration' conform to the 'Sendable' protocol
4 | public static let emptyConfiguration = Self()
| |- warning: static property 'emptyConfiguration' is not concurrency-safe because non-'Sendable' type 'Onyx.CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'emptyConfiguration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5 |
6 | public let name: String?
[28/28] Compiling OnyxShell Onyx.swift
/host/spi-builder-workspace/Sources/OnyxShell/Command/struct/CommandConfiguration.swift:4:27: warning: static property 'emptyConfiguration' is not concurrency-safe because non-'Sendable' type 'Onyx.CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
1 | extension Onyx {
2 |
3 | public struct CommandConfiguration {
| `- note: consider making struct 'CommandConfiguration' conform to the 'Sendable' protocol
4 | public static let emptyConfiguration = Self()
| |- warning: static property 'emptyConfiguration' is not concurrency-safe because non-'Sendable' type 'Onyx.CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'emptyConfiguration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5 |
6 | public let name: String?
Build complete! (9.66s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "OnyxShell",
"name" : "OnyxShell",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "OnyxShell",
"targets" : [
"OnyxShell"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "OnyxShellTests",
"module_type" : "SwiftTarget",
"name" : "OnyxShellTests",
"path" : "Tests/OnyxShellTests",
"sources" : [
"ArgumentParserMirrorTest.swift",
"ArgumentPaserTests.swift",
"CommandResult.swift",
"DemoTest.swift",
"FlagTests.swift",
"OptionTests.swift",
"SubcommandTests.swift",
"UtilsStrTests.swift",
"ValueTests.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"OnyxShell"
],
"type" : "test"
},
{
"c99name" : "OnyxShell",
"module_type" : "SwiftTarget",
"name" : "OnyxShell",
"path" : "Sources/OnyxShell",
"product_memberships" : [
"OnyxShell"
],
"sources" : [
"Command/enum/NameType.swift",
"Command/enum/ParsingStrategy.swift",
"Command/enum/ValueExclusivity.swift",
"Command/error/ArgumentParserError.swift",
"Command/error/InternalError.swift",
"Command/error/ParseValueError.swift",
"Command/error/ValueError.swift",
"Command/propertyWrapper/Argument.swift",
"Command/propertyWrapper/Flag.swift",
"Command/propertyWrapper/Option.swift",
"Command/propertyWrapper/Value.swift",
"Command/protocol/OnyxCommand+extension.swift",
"Command/protocol/OnyxCommand+func.swift",
"Command/protocol/OnyxCommand.swift",
"Command/struct/ArgumentParser+Argument.swift",
"Command/struct/ArgumentParser+Flag.swift",
"Command/struct/ArgumentParser+Option.swift",
"Command/struct/ArgumentParser+Value.swift",
"Command/struct/ArgumentParser+mirror.swift",
"Command/struct/ArgumentParser.swift",
"Command/struct/CommandConfiguration.swift",
"Onyx.swift",
"Utils/Str.swift",
"Utils/Utils.swift",
"var.swift"
],
"type" : "library"
}
],
"tools_version" : "5.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
Done.