Build Information
Successful build of BigNum, reference main (3a5d45), with Swift 6.1 for macOS (SPM) on 22 Aug 2026 05:26:13 UTC.
Swift 6 data race errors: 6
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -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 InferSendableFromCapturesBuild 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 /Users/admin/builder/spi-builder-workspace/.git/
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: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/dankogai/swift-bignum.git
https://github.com/dankogai/swift-bignum.git
{
"dependencies" : [
],
"manifest_display_name" : "BigNum",
"name" : "BigNum",
"path" : "/Users/admin/builder/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"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -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
Building for debugging...
[0/8] Write sources
[3/8] Write BigNumRun-entitlement.plist
[4/8] Write swift-version-2F0A5646E1D333AE.txt
[6/21] Compiling BigNum BigUInt.swift
[7/21] Compiling BigNum Constants.swift
[8/22] Compiling BigNum FixedWidthInteger.swift
[9/22] Compiling BigNum Random.swift
[10/22] Compiling BigNum Real.swift
[11/22] Compiling BigNum Primality.swift
[12/22] Compiling BigNum Rational.swift
/Users/admin/builder/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) }
/Users/admin/builder/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 {
/Users/admin/builder/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,
[13/22] Compiling BigNum Radix.swift
[14/22] Compiling BigNum BigFloat.swift
/Users/admin/builder/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]()
/Users/admin/builder/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 |
/Users/admin/builder/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 {
[15/22] Compiling BigNum BigInt.swift
/Users/admin/builder/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]()
/Users/admin/builder/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 |
/Users/admin/builder/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 {
[16/22] Emitting module BigNum
/Users/admin/builder/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]()
/Users/admin/builder/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 |
/Users/admin/builder/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 {
/Users/admin/builder/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) }
/Users/admin/builder/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 {
/Users/admin/builder/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,
[17/22] Compiling BigNum BigIntType.swift
[18/22] Compiling BigNum BigNum.swift
[19/22] Compiling BigNum ElementaryFunctions.swift
[20/26] Emitting module BigNumOperators
[21/26] Compiling BigNumOperators Exponentiation.swift
[22/26] Emitting module BigNumRun
[23/26] Compiling BigNumRun main.swift
[23/26] Write Objects.LinkFileList
[24/26] Linking BigNumRun
[25/26] Applying BigNumRun
Build complete! (5.77s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "BigNum",
"name" : "BigNum",
"path" : "/Users/admin/builder/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"
}
Done.