Build Information
Successful build of SwiftArgs, reference 0.5.5 (c19202), with Swift 6.1 for Wasm on 27 May 2025 07:42:46 UTC.
Swift 6 data race errors: 2
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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>&1Build Log
========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/pkrll/SwiftArgs.git
Reference: 0.5.5
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/pkrll/SwiftArgs
* tag 0.5.5 -> FETCH_HEAD
HEAD is now at c192025 Update to Swift 5
Cloned https://github.com/pkrll/SwiftArgs.git
Revision (git rev-parse @):
c192025bf9f7a200e7b8bf2b37ea5db5cbcafdd9
SUCCESS checkout https://github.com/pkrll/SwiftArgs.git at 0.5.5
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/pkrll/SwiftArgs.git
https://github.com/pkrll/SwiftArgs.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
],
"manifest_display_name" : "SwiftArgs",
"name" : "SwiftArgs",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "SwiftArgs",
"targets" : [
"SwiftArgs"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SwiftArgsTests",
"module_type" : "SwiftTarget",
"name" : "SwiftArgsTests",
"path" : "Tests/SwiftArgsTests",
"sources" : [
"SwiftArgsTests.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"SwiftArgs"
],
"type" : "test"
},
{
"c99name" : "SwiftArgs",
"module_type" : "SwiftTarget",
"name" : "SwiftArgs",
"path" : "Sources/SwiftArgs",
"product_memberships" : [
"SwiftArgs"
],
"sources" : [
"ArgumentOptions/Argument.swift",
"ArgumentOptions/BoolOption.swift",
"ArgumentOptions/CommandOption.swift",
"ArgumentOptions/EnumOption.swift",
"ArgumentOptions/FlagOption.swift",
"ArgumentOptions/StringOption.swift",
"Support/Constants/ANSIAttribute.swift",
"Support/Constants/ANSIColor.swift",
"Support/Constants/ArgumentType.swift",
"Support/Extension/Array+Argument.swift",
"Support/Extension/String+Color.swift",
"Support/OutputStream.swift",
"Support/SwiftArgsError.swift",
"Support/SwiftConsole.swift",
"SwiftArgs.swift",
"SwiftArgsParser.swift"
],
"type" : "library"
}
],
"tools_version" : "4.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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:059e0fdbe549369b902c0d423739510ddee50a4a70258d1404125eb9394ef31c
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/17] Emitting module SwiftArgs
/host/spi-builder-workspace/Sources/SwiftArgs/Support/OutputStream.swift:9:14: warning: static property 'stream' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
7 | internal struct StderrOutputStream: TextOutputStream {
8 |
9 | static var stream = StderrOutputStream()
| |- warning: static property 'stream' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'stream' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'stream' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 |
11 | internal mutating func write(_ string: String) {
/host/spi-builder-workspace/Sources/SwiftArgs/Support/OutputStream.swift:18:14: warning: static property 'stream' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
16 | internal struct StdoutOutputStream: TextOutputStream {
17 |
18 | static var stream = StdoutOutputStream()
| |- warning: static property 'stream' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'stream' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'stream' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 |
20 | internal mutating func write(_ string: String) {
[4/19] Compiling SwiftArgs String+Color.swift
/host/spi-builder-workspace/Sources/SwiftArgs/Support/OutputStream.swift:9:14: warning: static property 'stream' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
7 | internal struct StderrOutputStream: TextOutputStream {
8 |
9 | static var stream = StderrOutputStream()
| |- warning: static property 'stream' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'stream' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'stream' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 |
11 | internal mutating func write(_ string: String) {
/host/spi-builder-workspace/Sources/SwiftArgs/Support/OutputStream.swift:18:14: warning: static property 'stream' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
16 | internal struct StdoutOutputStream: TextOutputStream {
17 |
18 | static var stream = StdoutOutputStream()
| |- warning: static property 'stream' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'stream' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'stream' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 |
20 | internal mutating func write(_ string: String) {
[5/19] Compiling SwiftArgs OutputStream.swift
/host/spi-builder-workspace/Sources/SwiftArgs/Support/OutputStream.swift:9:14: warning: static property 'stream' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
7 | internal struct StderrOutputStream: TextOutputStream {
8 |
9 | static var stream = StderrOutputStream()
| |- warning: static property 'stream' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'stream' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'stream' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 |
11 | internal mutating func write(_ string: String) {
/host/spi-builder-workspace/Sources/SwiftArgs/Support/OutputStream.swift:18:14: warning: static property 'stream' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
16 | internal struct StdoutOutputStream: TextOutputStream {
17 |
18 | static var stream = StdoutOutputStream()
| |- warning: static property 'stream' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'stream' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'stream' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 |
20 | internal mutating func write(_ string: String) {
[6/19] Compiling SwiftArgs ANSIAttribute.swift
[7/19] Compiling SwiftArgs ANSIColor.swift
[8/19] Compiling SwiftArgs ArgumentType.swift
[9/19] Compiling SwiftArgs Array+Argument.swift
[10/19] Compiling SwiftArgs CommandOption.swift
[11/19] Compiling SwiftArgs EnumOption.swift
[12/19] Compiling SwiftArgs FlagOption.swift
[13/19] Compiling SwiftArgs StringOption.swift
[14/19] Compiling SwiftArgs SwiftArgsError.swift
[15/19] Compiling SwiftArgs SwiftConsole.swift
[16/19] Compiling SwiftArgs Argument.swift
[17/19] Compiling SwiftArgs BoolOption.swift
[18/19] Compiling SwiftArgs SwiftArgs.swift
[19/19] Compiling SwiftArgs SwiftArgsParser.swift
Build complete! (6.54s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "SwiftArgs",
"name" : "SwiftArgs",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "SwiftArgs",
"targets" : [
"SwiftArgs"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SwiftArgsTests",
"module_type" : "SwiftTarget",
"name" : "SwiftArgsTests",
"path" : "Tests/SwiftArgsTests",
"sources" : [
"SwiftArgsTests.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"SwiftArgs"
],
"type" : "test"
},
{
"c99name" : "SwiftArgs",
"module_type" : "SwiftTarget",
"name" : "SwiftArgs",
"path" : "Sources/SwiftArgs",
"product_memberships" : [
"SwiftArgs"
],
"sources" : [
"ArgumentOptions/Argument.swift",
"ArgumentOptions/BoolOption.swift",
"ArgumentOptions/CommandOption.swift",
"ArgumentOptions/EnumOption.swift",
"ArgumentOptions/FlagOption.swift",
"ArgumentOptions/StringOption.swift",
"Support/Constants/ANSIAttribute.swift",
"Support/Constants/ANSIColor.swift",
"Support/Constants/ArgumentType.swift",
"Support/Extension/Array+Argument.swift",
"Support/Extension/String+Color.swift",
"Support/OutputStream.swift",
"Support/SwiftArgsError.swift",
"Support/SwiftConsole.swift",
"SwiftArgs.swift",
"SwiftArgsParser.swift"
],
"type" : "library"
}
],
"tools_version" : "4.0"
}
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:059e0fdbe549369b902c0d423739510ddee50a4a70258d1404125eb9394ef31c
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Done.