Build Information
Successful build of BigNumber, reference master (e35508), with Swift 6.1 for macOS (SPM) on 29 Mar 2026 15:57:27 UTC.
Swift 6 data race errors: 2
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 4.69.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/mkrd/Swift-BigInt.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/mkrd/Swift-BigInt
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at e355084 add test case
Cloned https://github.com/mkrd/Swift-BigInt.git
Revision (git rev-parse @):
e3550843fed908ee3759ee37553cc8a83d9ea3b8
SUCCESS checkout https://github.com/mkrd/Swift-BigInt.git at master
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/mkrd/Swift-BigInt.git
https://github.com/mkrd/Swift-BigInt.git
{
"dependencies" : [
],
"manifest_display_name" : "BigNumber",
"name" : "BigNumber",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "BigNumber",
"targets" : [
"BigNumber"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "Verify",
"targets" : [
"Verify"
],
"type" : {
"executable" : null
}
},
{
"name" : "Benchmarks",
"targets" : [
"Benchmarks"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "Verify",
"module_type" : "SwiftTarget",
"name" : "Verify",
"path" : "Sources/Verify",
"product_memberships" : [
"Verify"
],
"sources" : [
"main.swift"
],
"target_dependencies" : [
"BigNumber",
"MGTools"
],
"type" : "executable"
},
{
"c99name" : "MGToolsTests",
"module_type" : "SwiftTarget",
"name" : "MGToolsTests",
"path" : "Tests/MGToolsTests",
"sources" : [
"MG Math Tests.swift",
"MG Matrix Tests.swift"
],
"target_dependencies" : [
"MGTools"
],
"type" : "test"
},
{
"c99name" : "MGTools",
"module_type" : "SwiftTarget",
"name" : "MGTools",
"path" : "Sources/MGTools",
"product_memberships" : [
"Verify",
"Benchmarks"
],
"sources" : [
"MG Benchmark Tools.swift",
"MG Complex.swift",
"MG IO.swift",
"MG Math.swift",
"MG Matrix.swift",
"MG QueueDispatch.swift",
"MG Storage.swift",
"MG SuperSwift.swift"
],
"target_dependencies" : [
"BigNumber"
],
"type" : "library"
},
{
"c99name" : "BigNumberTests",
"module_type" : "SwiftTarget",
"name" : "BigNumberTests",
"path" : "Tests/BigNumberTests",
"sources" : [
"BDoubleTests.swift",
"BIntTests.swift",
"Test_Advanced_Math.swift",
"Test_BDouble_Extended.swift",
"Test_BIntMath.swift",
"Test_BIntMath_Extended.swift",
"Test_BInt_Division.swift",
"Test_BInt_Properties.swift",
"Test_Basic_Math.swift",
"Test_Bitwise_Operations.swift",
"Test_Initialization.swift",
"Test_String_Conversions.swift",
"Test_String_Conversions_Extended.swift"
],
"target_dependencies" : [
"BigNumber",
"MGTools"
],
"type" : "test"
},
{
"c99name" : "BigNumber",
"module_type" : "SwiftTarget",
"name" : "BigNumber",
"path" : "Sources/BigNumber",
"product_memberships" : [
"BigNumber",
"Verify",
"Benchmarks"
],
"sources" : [
"Swift-Big-Number-Core.swift"
],
"type" : "library"
},
{
"c99name" : "Benchmarks",
"module_type" : "SwiftTarget",
"name" : "Benchmarks",
"path" : "Sources/Benchmarks",
"product_memberships" : [
"Benchmarks"
],
"sources" : [
"Benchmarks.swift",
"main.swift"
],
"target_dependencies" : [
"BigNumber",
"MGTools"
],
"type" : "executable"
}
],
"tools_version" : "4.2"
}
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/13] Write sources
[2/13] Write Verify-entitlement.plist
[2/13] Write sources
[4/13] Write Benchmarks-entitlement.plist
[6/13] Write swift-version-2F0A5646E1D333AE.txt
[8/15] Compiling BigNumber Swift-Big-Number-Core.swift
/Users/admin/builder/spi-builder-workspace/Sources/BigNumber/Swift-Big-Number-Core.swift:262:23: warning: static property 'stringPrefixes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
260 |
261 | /// Common prefixes for different bases
262 | static public var stringPrefixes = [
| |- warning: static property 'stringPrefixes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'stringPrefixes' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'stringPrefixes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
263 | 2: "0b",
264 | 8: "0o",
/Users/admin/builder/spi-builder-workspace/Sources/BigNumber/Swift-Big-Number-Core.swift:2615:21: 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
2613 | }
2614 |
2615 | static private var _precision = 4
| |- 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
2616 | /**
2617 | * the global percision for all newly created values
[9/15] Emitting module BigNumber
/Users/admin/builder/spi-builder-workspace/Sources/BigNumber/Swift-Big-Number-Core.swift:262:23: warning: static property 'stringPrefixes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
260 |
261 | /// Common prefixes for different bases
262 | static public var stringPrefixes = [
| |- warning: static property 'stringPrefixes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'stringPrefixes' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'stringPrefixes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
263 | 2: "0b",
264 | 8: "0o",
/Users/admin/builder/spi-builder-workspace/Sources/BigNumber/Swift-Big-Number-Core.swift:2615:21: 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
2613 | }
2614 |
2615 | static private var _precision = 4
| |- 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
2616 | /**
2617 | * the global percision for all newly created values
[10/24] Compiling MGTools MG SuperSwift.swift
[11/24] Compiling MGTools MG Storage.swift
[12/24] Compiling MGTools MG Math.swift
[13/24] Compiling MGTools MG QueueDispatch.swift
/Users/admin/builder/spi-builder-workspace/Sources/MGTools/MG QueueDispatch.swift:25:69: warning: passing non-sendable parameter 'closure' to function expecting a @Sendable closure
19 | Run trailing closure after a given time in seconds in background queue.
20 | */
21 | static public func runAfterDelay(_ seconds: Double, _ closure: @escaping () -> ())
| `- note: parameter 'closure' is implicitly non-sendable
22 | {
23 | let queue = DispatchQueue.global()
24 |
25 | queue.asyncAfter(deadline: DispatchTime.now() + seconds, execute: closure)
| `- warning: passing non-sendable parameter 'closure' to function expecting a @Sendable closure
26 | }
27 |
/Users/admin/builder/spi-builder-workspace/Sources/MGTools/MG QueueDispatch.swift:40:23: warning: converting non-sendable function value to '@Sendable () -> Void' may introduce data races
38 | for closure in closures
39 | {
40 | queue.addOperation(closure)
| `- warning: converting non-sendable function value to '@Sendable () -> Void' may introduce data races
41 | }
42 |
[14/24] Compiling MGTools MG IO.swift
[15/24] Emitting module MGTools
[16/24] Compiling MGTools MG Benchmark Tools.swift
[17/24] Compiling MGTools MG Matrix.swift
[18/24] Compiling MGTools MG Complex.swift
/Users/admin/builder/spi-builder-workspace/Sources/MGTools/MG Complex.swift:24:19: warning: setter argument 'newValue' was never used, but the property was accessed
22 | {
23 | get { return self.re }
24 | set { self.re = r }
| |- warning: setter argument 'newValue' was never used, but the property was accessed
| `- note: did you mean to use 'newValue' instead of accessing the property's current value?
25 | }
26 |
/Users/admin/builder/spi-builder-workspace/Sources/MGTools/MG Complex.swift:30:19: warning: setter argument 'newValue' was never used, but the property was accessed
28 | {
29 | get { return self.im }
30 | set { self.im = i }
| |- warning: setter argument 'newValue' was never used, but the property was accessed
| `- note: did you mean to use 'newValue' instead of accessing the property's current value?
31 | }
32 | }
[19/29] Compiling Verify main.swift
/Users/admin/builder/spi-builder-workspace/Sources/Verify/main.swift:9:5: error: main actor-isolated var 'total' can not be mutated from a nonisolated context
4 |
5 | var failures = 0
6 | var total = 0
| `- note: mutation of this var is only permitted within the actor
7 |
8 | func check(_ condition: Bool, _ msg: String = "", file: String = #file, line: Int = #line) {
| `- note: add '@MainActor' to make global function 'check(_:_:file:line:)' part of global actor 'MainActor'
9 | total += 1
| `- error: main actor-isolated var 'total' can not be mutated from a nonisolated context
10 | if !condition {
11 | failures += 1
/Users/admin/builder/spi-builder-workspace/Sources/Verify/main.swift:11:9: error: main actor-isolated var 'failures' can not be mutated from a nonisolated context
3 | @testable import MGTools
4 |
5 | var failures = 0
| `- note: mutation of this var is only permitted within the actor
6 | var total = 0
7 |
8 | func check(_ condition: Bool, _ msg: String = "", file: String = #file, line: Int = #line) {
| `- note: add '@MainActor' to make global function 'check(_:_:file:line:)' part of global actor 'MainActor'
9 | total += 1
10 | if !condition {
11 | failures += 1
| `- error: main actor-isolated var 'failures' can not be mutated from a nonisolated context
12 | print("FAIL [\(file):\(line)] \(msg)")
13 | }
/Users/admin/builder/spi-builder-workspace/Sources/Verify/main.swift:17:5: error: main actor-isolated var 'total' can not be mutated from a nonisolated context
4 |
5 | var failures = 0
6 | var total = 0
| `- note: mutation of this var is only permitted within the actor
7 |
8 | func check(_ condition: Bool, _ msg: String = "", file: String = #file, line: Int = #line) {
:
14 | }
15 |
16 | func checkEqual<T: Equatable>(_ a: T, _ b: T, _ msg: String = "", file: String = #file, line: Int = #line) {
| `- note: add '@MainActor' to make global function 'checkEqual(_:_:_:file:line:)' part of global actor 'MainActor'
17 | total += 1
| `- error: main actor-isolated var 'total' can not be mutated from a nonisolated context
18 | if a != b {
19 | failures += 1
/Users/admin/builder/spi-builder-workspace/Sources/Verify/main.swift:19:9: error: main actor-isolated var 'failures' can not be mutated from a nonisolated context
3 | @testable import MGTools
4 |
5 | var failures = 0
| `- note: mutation of this var is only permitted within the actor
6 | var total = 0
7 |
:
14 | }
15 |
16 | func checkEqual<T: Equatable>(_ a: T, _ b: T, _ msg: String = "", file: String = #file, line: Int = #line) {
| `- note: add '@MainActor' to make global function 'checkEqual(_:_:_:file:line:)' part of global actor 'MainActor'
17 | total += 1
18 | if a != b {
19 | failures += 1
| `- error: main actor-isolated var 'failures' can not be mutated from a nonisolated context
20 | print("FAIL [\(file):\(line)] \(a) != \(b) \(msg)")
21 | }
[20/29] Emitting module Verify
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
[0/1] Planning build
Building for debugging...
[0/7] Write swift-version-2F0A5646E1D333AE.txt
[2/9] Emitting module BigNumber
[3/9] Compiling BigNumber Swift-Big-Number-Core.swift
[4/18] Compiling MGTools MG SuperSwift.swift
[5/18] Compiling MGTools MG QueueDispatch.swift
[6/18] Compiling MGTools MG Storage.swift
[7/18] Compiling MGTools MG Math.swift
[8/18] Compiling MGTools MG IO.swift
[9/18] Compiling MGTools MG Matrix.swift
[10/18] Compiling MGTools MG Complex.swift
/Users/admin/builder/spi-builder-workspace/Sources/MGTools/MG Complex.swift:24:19: warning: setter argument 'newValue' was never used, but the property was accessed
22 | {
23 | get { return self.re }
24 | set { self.re = r }
| |- warning: setter argument 'newValue' was never used, but the property was accessed
| `- note: did you mean to use 'newValue' instead of accessing the property's current value?
25 | }
26 |
/Users/admin/builder/spi-builder-workspace/Sources/MGTools/MG Complex.swift:30:19: warning: setter argument 'newValue' was never used, but the property was accessed
28 | {
29 | get { return self.im }
30 | set { self.im = i }
| |- warning: setter argument 'newValue' was never used, but the property was accessed
| `- note: did you mean to use 'newValue' instead of accessing the property's current value?
31 | }
32 | }
[11/18] Emitting module MGTools
[12/18] Compiling MGTools MG Benchmark Tools.swift
[13/23] Emitting module Verify
[14/23] Compiling Verify main.swift
[14/23] Write Objects.LinkFileList
[16/23] Compiling Benchmarks main.swift
[17/23] Emitting module Benchmarks
[18/23] Compiling Benchmarks Benchmarks.swift
[18/23] Write Objects.LinkFileList
[19/23] Linking Verify
[20/23] Linking Benchmarks
[21/23] Applying Benchmarks
[22/23] Applying Verify
Build complete! (3.86s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "BigNumber",
"name" : "BigNumber",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "BigNumber",
"targets" : [
"BigNumber"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "Verify",
"targets" : [
"Verify"
],
"type" : {
"executable" : null
}
},
{
"name" : "Benchmarks",
"targets" : [
"Benchmarks"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "Verify",
"module_type" : "SwiftTarget",
"name" : "Verify",
"path" : "Sources/Verify",
"product_memberships" : [
"Verify"
],
"sources" : [
"main.swift"
],
"target_dependencies" : [
"BigNumber",
"MGTools"
],
"type" : "executable"
},
{
"c99name" : "MGToolsTests",
"module_type" : "SwiftTarget",
"name" : "MGToolsTests",
"path" : "Tests/MGToolsTests",
"sources" : [
"MG Math Tests.swift",
"MG Matrix Tests.swift"
],
"target_dependencies" : [
"MGTools"
],
"type" : "test"
},
{
"c99name" : "MGTools",
"module_type" : "SwiftTarget",
"name" : "MGTools",
"path" : "Sources/MGTools",
"product_memberships" : [
"Verify",
"Benchmarks"
],
"sources" : [
"MG Benchmark Tools.swift",
"MG Complex.swift",
"MG IO.swift",
"MG Math.swift",
"MG Matrix.swift",
"MG QueueDispatch.swift",
"MG Storage.swift",
"MG SuperSwift.swift"
],
"target_dependencies" : [
"BigNumber"
],
"type" : "library"
},
{
"c99name" : "BigNumberTests",
"module_type" : "SwiftTarget",
"name" : "BigNumberTests",
"path" : "Tests/BigNumberTests",
"sources" : [
"BDoubleTests.swift",
"BIntTests.swift",
"Test_Advanced_Math.swift",
"Test_BDouble_Extended.swift",
"Test_BIntMath.swift",
"Test_BIntMath_Extended.swift",
"Test_BInt_Division.swift",
"Test_BInt_Properties.swift",
"Test_Basic_Math.swift",
"Test_Bitwise_Operations.swift",
"Test_Initialization.swift",
"Test_String_Conversions.swift",
"Test_String_Conversions_Extended.swift"
],
"target_dependencies" : [
"BigNumber",
"MGTools"
],
"type" : "test"
},
{
"c99name" : "BigNumber",
"module_type" : "SwiftTarget",
"name" : "BigNumber",
"path" : "Sources/BigNumber",
"product_memberships" : [
"BigNumber",
"Verify",
"Benchmarks"
],
"sources" : [
"Swift-Big-Number-Core.swift"
],
"type" : "library"
},
{
"c99name" : "Benchmarks",
"module_type" : "SwiftTarget",
"name" : "Benchmarks",
"path" : "Sources/Benchmarks",
"product_memberships" : [
"Benchmarks"
],
"sources" : [
"Benchmarks.swift",
"main.swift"
],
"target_dependencies" : [
"BigNumber",
"MGTools"
],
"type" : "executable"
}
],
"tools_version" : "4.2"
}
Done.