Build Information
Successful build of BigNum, reference main (3a5d45), with Swift 6.1 for Android on 22 Aug 2026 05:17:37 UTC.
Swift 6 data race errors: 6
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344847-1":/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.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/dankogai/swift-bignum.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/dankogai/swift-bignum
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 3a5d457 Fix precision-losing spots across the exp/log family and their inverses
Cloned https://github.com/dankogai/swift-bignum.git
Revision (git rev-parse @):
3a5d4576631fdec53de85679c1659ae3be2e907e
SUCCESS checkout https://github.com/dankogai/swift-bignum.git at main
========================================
Build
========================================
Selected platform: android
Swift version: 6.1
Building package at path: $PWD
https://github.com/dankogai/swift-bignum.git
https://github.com/dankogai/swift-bignum.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344847-1":/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/8] Write sources
[3/8] Write swift-version-24593BA9C3E375BF.txt
[5/21] Compiling BigNum Random.swift
[6/21] Compiling BigNum Rational.swift
/host/spi-builder-workspace/Sources/BigNum/Rational.swift:542:23: warning: static property 'precision' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
540 | public typealias Element = BigInt
541 | public typealias IntType = BigInt
542 | public static var precision = 128
| |- warning: static property 'precision' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'precision' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'precision' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
543 | public static var roundingRule = FloatingPointRoundingRule.toNearestOrAwayFromZero
544 | public static var pi: Self { return Self.PI(precision:Self.precision) }
/host/spi-builder-workspace/Sources/BigNum/Rational.swift:543:23: warning: static property 'roundingRule' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
541 | public typealias IntType = BigInt
542 | public static var precision = 128
543 | public static var roundingRule = FloatingPointRoundingRule.toNearestOrAwayFromZero
| |- warning: static property 'roundingRule' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'roundingRule' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'roundingRule' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
544 | public static var pi: Self { return Self.PI(precision:Self.precision) }
545 | public static func getEpsilon(precision px:Int)->BigRational {
/host/spi-builder-workspace/Sources/BigNum/Rational.swift:566:23: warning: static property 'expLimit' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
564 | /// if smaller than `-expLimit` 0 is returned
565 | /// anything larger than `+expLimit` +infinity is returned
566 | public static var expLimit = Self(Int16.max)
| |- warning: static property 'expLimit' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'expLimit' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'expLimit' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
567 | public func remainder(dividingBy other:BigRational,
568 | precision:Int = BigRational.precision,
[7/22] Compiling BigNum Real.swift
[8/22] Compiling BigNum BigIntType.swift
[9/22] Compiling BigNum BigNum.swift
[10/22] Emitting module BigNum
/host/spi-builder-workspace/Sources/BigNum/BigFloat.swift:41:13: warning: var '_precisionStore' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
39 | // slot per specialization. The observable API is unchanged:
40 | // `BigFloat.precision = 256` still compiles and still means what it meant.
41 | private var _precisionStore = [ObjectIdentifier: Int]()
| |- warning: var '_precisionStore' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_precisionStore' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var '_precisionStore' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
42 | private var _roundingRuleStore = [ObjectIdentifier: FloatingPointRoundingRule]()
43 | private var _expLimitStore = [ObjectIdentifier: Any]()
/host/spi-builder-workspace/Sources/BigNum/BigFloat.swift:42:13: warning: var '_roundingRuleStore' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
40 | // `BigFloat.precision = 256` still compiles and still means what it meant.
41 | private var _precisionStore = [ObjectIdentifier: Int]()
42 | private var _roundingRuleStore = [ObjectIdentifier: FloatingPointRoundingRule]()
| |- warning: var '_roundingRuleStore' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_roundingRuleStore' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var '_roundingRuleStore' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
43 | private var _expLimitStore = [ObjectIdentifier: Any]()
44 |
/host/spi-builder-workspace/Sources/BigNum/BigFloat.swift:43:13: warning: var '_expLimitStore' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
41 | private var _precisionStore = [ObjectIdentifier: Int]()
42 | private var _roundingRuleStore = [ObjectIdentifier: FloatingPointRoundingRule]()
43 | private var _expLimitStore = [ObjectIdentifier: Any]()
| |- warning: var '_expLimitStore' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_expLimitStore' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var '_expLimitStore' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
44 |
45 | extension BigFloatOf {
/host/spi-builder-workspace/Sources/BigNum/Rational.swift:542:23: warning: static property 'precision' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
540 | public typealias Element = BigInt
541 | public typealias IntType = BigInt
542 | public static var precision = 128
| |- warning: static property 'precision' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'precision' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'precision' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
543 | public static var roundingRule = FloatingPointRoundingRule.toNearestOrAwayFromZero
544 | public static var pi: Self { return Self.PI(precision:Self.precision) }
/host/spi-builder-workspace/Sources/BigNum/Rational.swift:543:23: warning: static property 'roundingRule' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
541 | public typealias IntType = BigInt
542 | public static var precision = 128
543 | public static var roundingRule = FloatingPointRoundingRule.toNearestOrAwayFromZero
| |- warning: static property 'roundingRule' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'roundingRule' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'roundingRule' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
544 | public static var pi: Self { return Self.PI(precision:Self.precision) }
545 | public static func getEpsilon(precision px:Int)->BigRational {
/host/spi-builder-workspace/Sources/BigNum/Rational.swift:566:23: warning: static property 'expLimit' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
564 | /// if smaller than `-expLimit` 0 is returned
565 | /// anything larger than `+expLimit` +infinity is returned
566 | public static var expLimit = Self(Int16.max)
| |- warning: static property 'expLimit' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'expLimit' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'expLimit' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
567 | public func remainder(dividingBy other:BigRational,
568 | precision:Int = BigRational.precision,
[11/22] Compiling BigNum BigUInt.swift
[12/22] Compiling BigNum Constants.swift
[13/22] Compiling BigNum ElementaryFunctions.swift
[14/22] Compiling BigNum FixedWidthInteger.swift
[15/22] Compiling BigNum Primality.swift
[16/22] Compiling BigNum Radix.swift
[17/22] Compiling BigNum BigFloat.swift
/host/spi-builder-workspace/Sources/BigNum/BigFloat.swift:41:13: warning: var '_precisionStore' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
39 | // slot per specialization. The observable API is unchanged:
40 | // `BigFloat.precision = 256` still compiles and still means what it meant.
41 | private var _precisionStore = [ObjectIdentifier: Int]()
| |- warning: var '_precisionStore' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_precisionStore' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var '_precisionStore' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
42 | private var _roundingRuleStore = [ObjectIdentifier: FloatingPointRoundingRule]()
43 | private var _expLimitStore = [ObjectIdentifier: Any]()
/host/spi-builder-workspace/Sources/BigNum/BigFloat.swift:42:13: warning: var '_roundingRuleStore' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
40 | // `BigFloat.precision = 256` still compiles and still means what it meant.
41 | private var _precisionStore = [ObjectIdentifier: Int]()
42 | private var _roundingRuleStore = [ObjectIdentifier: FloatingPointRoundingRule]()
| |- warning: var '_roundingRuleStore' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_roundingRuleStore' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var '_roundingRuleStore' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
43 | private var _expLimitStore = [ObjectIdentifier: Any]()
44 |
/host/spi-builder-workspace/Sources/BigNum/BigFloat.swift:43:13: warning: var '_expLimitStore' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
41 | private var _precisionStore = [ObjectIdentifier: Int]()
42 | private var _roundingRuleStore = [ObjectIdentifier: FloatingPointRoundingRule]()
43 | private var _expLimitStore = [ObjectIdentifier: Any]()
| |- warning: var '_expLimitStore' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_expLimitStore' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var '_expLimitStore' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
44 |
45 | extension BigFloatOf {
[18/22] Compiling BigNum BigInt.swift
/host/spi-builder-workspace/Sources/BigNum/BigFloat.swift:41:13: warning: var '_precisionStore' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
39 | // slot per specialization. The observable API is unchanged:
40 | // `BigFloat.precision = 256` still compiles and still means what it meant.
41 | private var _precisionStore = [ObjectIdentifier: Int]()
| |- warning: var '_precisionStore' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_precisionStore' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var '_precisionStore' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
42 | private var _roundingRuleStore = [ObjectIdentifier: FloatingPointRoundingRule]()
43 | private var _expLimitStore = [ObjectIdentifier: Any]()
/host/spi-builder-workspace/Sources/BigNum/BigFloat.swift:42:13: warning: var '_roundingRuleStore' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
40 | // `BigFloat.precision = 256` still compiles and still means what it meant.
41 | private var _precisionStore = [ObjectIdentifier: Int]()
42 | private var _roundingRuleStore = [ObjectIdentifier: FloatingPointRoundingRule]()
| |- warning: var '_roundingRuleStore' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_roundingRuleStore' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var '_roundingRuleStore' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
43 | private var _expLimitStore = [ObjectIdentifier: Any]()
44 |
/host/spi-builder-workspace/Sources/BigNum/BigFloat.swift:43:13: warning: var '_expLimitStore' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
41 | private var _precisionStore = [ObjectIdentifier: Int]()
42 | private var _roundingRuleStore = [ObjectIdentifier: FloatingPointRoundingRule]()
43 | private var _expLimitStore = [ObjectIdentifier: Any]()
| |- warning: var '_expLimitStore' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_expLimitStore' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var '_expLimitStore' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
44 |
45 | extension BigFloatOf {
[19/23] Wrapping AST for BigNum for debugging
[21/27] Compiling BigNumOperators Exponentiation.swift
[22/27] Emitting module BigNumRun
[23/27] Compiling BigNumRun main.swift
[24/27] Emitting module BigNumOperators
[26/29] Wrapping AST for BigNumRun for debugging
[27/29] Write Objects.LinkFileList
[28/29] Linking BigNumRun
Build complete! (6.05s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "BigNum",
"name" : "BigNum",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "BigNum",
"targets" : [
"BigNum"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "BigNumOperators",
"targets" : [
"BigNumOperators"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "BigNumRun",
"targets" : [
"BigNumRun"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "BigNumTests",
"module_type" : "SwiftTarget",
"name" : "BigNumTests",
"path" : "Tests/BigNumTests",
"sources" : [
"BigIntTests.swift",
"BigNumTests.swift",
"ConcurrencyTests.swift",
"ElementaryFunctionsTests.swift",
"FixedWidthIntegerTests.swift",
"PrimalityTests.swift",
"RandomTests.swift",
"RationalTests.swift",
"TestSupport.swift"
],
"target_dependencies" : [
"BigNum"
],
"type" : "test"
},
{
"c99name" : "BigNumRun",
"module_type" : "SwiftTarget",
"name" : "BigNumRun",
"path" : "Sources/BigNumRun",
"product_memberships" : [
"BigNumRun"
],
"sources" : [
"main.swift"
],
"target_dependencies" : [
"BigNum"
],
"type" : "executable"
},
{
"c99name" : "BigNumOperatorsTests",
"module_type" : "SwiftTarget",
"name" : "BigNumOperatorsTests",
"path" : "Tests/BigNumOperatorsTests",
"sources" : [
"ExponentiationTests.swift"
],
"target_dependencies" : [
"BigNumOperators"
],
"type" : "test"
},
{
"c99name" : "BigNumOperators",
"module_type" : "SwiftTarget",
"name" : "BigNumOperators",
"path" : "Sources/BigNumOperators",
"product_memberships" : [
"BigNumOperators"
],
"sources" : [
"Exponentiation.swift"
],
"target_dependencies" : [
"BigNum"
],
"type" : "library"
},
{
"c99name" : "BigNum",
"module_type" : "SwiftTarget",
"name" : "BigNum",
"path" : "Sources/BigNum",
"product_memberships" : [
"BigNum",
"BigNumOperators",
"BigNumRun"
],
"sources" : [
"BigFloat.swift",
"BigInt.swift",
"BigIntType.swift",
"BigNum.swift",
"BigUInt.swift",
"Constants.swift",
"ElementaryFunctions.swift",
"FixedWidthInteger.swift",
"Primality.swift",
"Radix.swift",
"Random.swift",
"Rational.swift",
"Real.swift"
],
"type" : "library"
}
],
"tools_version" : "5.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.