Build Information
Successful build of Complex, reference 6.3.1 (536b59), with Swift 6.1 for Android on 16 Aug 2026 11:13:55 UTC.
Swift 6 data race errors: 1
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344849-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/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: 5.0.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/dankogai/swift-complex.git
Reference: 6.3.1
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/dankogai/swift-complex
* tag 6.3.1 -> FETCH_HEAD
HEAD is now at 536b591 Bind libm directly, so Android, Wasm and Windows can build
Cloned https://github.com/dankogai/swift-complex.git
Revision (git rev-parse @):
536b59172d1a407cfad76199cf17478f0d46ef8d
SUCCESS checkout https://github.com/dankogai/swift-complex.git at 6.3.1
========================================
Build
========================================
Selected platform: android
Swift version: 6.1
Building package at path: $PWD
https://github.com/dankogai/swift-complex.git
https://github.com/dankogai/swift-complex.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344849-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/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 saguaro1/spi-images
Digest: sha256:0cd0efb458d677a6de9b5e028d30e2aa1d1b247c2277202ba317a28ce9e867e0
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.1-latest
Building for debugging...
[0/11] Write sources
[3/11] Write swift-version-24593BA9C3E375BF.txt
[5/16] Emitting module Complex
/host/spi-builder-workspace/Sources/Complex/ElementaryFunctions.swift:227:13: warning: var 'complexFloatPrecision' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
225 | // default precision for the CMath functions below. it is passed down to
226 | // Element, which may ignore it (e.g. Double).
227 | private var complexFloatPrecision:Int = 128
| |- warning: var 'complexFloatPrecision' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'complexFloatPrecision' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'complexFloatPrecision' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
228 | extension CMath {
229 | public static var precision:Int {
[6/16] Compiling Complex Complex.swift
[7/16] Compiling Complex ComplexFormat.swift
[8/16] Compiling Complex ElementaryFunctions.swift
/host/spi-builder-workspace/Sources/Complex/ElementaryFunctions.swift:227:13: warning: var 'complexFloatPrecision' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
225 | // default precision for the CMath functions below. it is passed down to
226 | // Element, which may ignore it (e.g. Double).
227 | private var complexFloatPrecision:Int = 128
| |- warning: var 'complexFloatPrecision' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'complexFloatPrecision' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'complexFloatPrecision' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
228 | extension CMath {
229 | public static var precision:Int {
[9/16] Compiling Complex GaussianInt.swift
[10/17] Wrapping AST for Complex for debugging
[12/21] Emitting module ComplexOperators
[13/21] Compiling ComplexOperators ComplexOperators.swift
[14/22] Compiling ComplexRun main.swift
[15/22] Emitting module ComplexRun
[17/23] Wrapping AST for ComplexOperators for debugging
[18/23] Write Objects.LinkFileList
[19/23] Wrapping AST for ComplexRun for debugging
[20/23] Write Objects.LinkFileList
[21/23] Linking libComplex.so
[22/23] Linking ComplexRun
Build complete! (2.18s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "Complex",
"name" : "Complex",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "Complex",
"targets" : [
"Complex",
"ComplexOperators"
],
"type" : {
"library" : [
"dynamic"
]
}
},
{
"name" : "ComplexRun",
"targets" : [
"ComplexRun"
],
"type" : {
"executable" : null
}
}
],
"swift_languages_versions" : [
"5"
],
"targets" : [
{
"c99name" : "ComplexTests",
"module_type" : "SwiftTarget",
"name" : "ComplexTests",
"path" : "Tests/ComplexTests",
"sources" : [
"ComplexTests.swift",
"GaussianIntTests.swift",
"OperatorTests.swift"
],
"target_dependencies" : [
"Complex",
"ComplexOperators"
],
"type" : "test"
},
{
"c99name" : "ComplexRun",
"module_type" : "SwiftTarget",
"name" : "ComplexRun",
"path" : "Sources/ComplexRun",
"product_memberships" : [
"ComplexRun"
],
"sources" : [
"main.swift"
],
"target_dependencies" : [
"Complex"
],
"type" : "executable"
},
{
"c99name" : "ComplexOperators",
"module_type" : "SwiftTarget",
"name" : "ComplexOperators",
"path" : "Sources/ComplexOperators",
"product_memberships" : [
"Complex"
],
"sources" : [
"ComplexOperators.swift"
],
"target_dependencies" : [
"Complex"
],
"type" : "library"
},
{
"c99name" : "Complex",
"module_type" : "SwiftTarget",
"name" : "Complex",
"path" : "Sources/Complex",
"product_memberships" : [
"Complex",
"ComplexRun"
],
"sources" : [
"Complex.swift",
"ComplexFormat.swift",
"ElementaryFunctions.swift",
"GaussianInt.swift"
],
"type" : "library"
}
],
"tools_version" : "6.0"
}
android-6.1-latest: Pulling from saguaro1/spi-images
Digest: sha256:0cd0efb458d677a6de9b5e028d30e2aa1d1b247c2277202ba317a28ce9e867e0
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.1-latest
Done.