The Swift Package Index logo.Swift Package Index

Build Information

Successful build of BigNumber, reference v2.4.0 (7e2117), with Swift 6.1 for macOS (SPM) on 28 Mar 2026 21:47:46 UTC.

Swift 6 data race errors: 2

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 InferSendableFromCaptures

Build Log

========================================
RunAll
========================================
Builder version: 4.69.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/mkrd/Swift-BigInt.git
Reference: v2.4.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/mkrd/Swift-BigInt
 * tag               v2.4.0     -> FETCH_HEAD
HEAD is now at 7e21177 update deploy workflow
Cloned https://github.com/mkrd/Swift-BigInt.git
Revision (git rev-parse @):
7e2117797cd1b608303cc2da1a3a2263cc4e7727
SUCCESS checkout https://github.com/mkrd/Swift-BigInt.git at v2.4.0
========================================
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" : "Benchmarks",
      "targets" : [
        "Benchmarks"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "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" : [
        "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_BIntMath.swift",
        "Test_Basic_Math.swift",
        "Test_Initialization.swift",
        "Test_String_Conversions.swift"
      ],
      "target_dependencies" : [
        "BigNumber",
        "MGTools"
      ],
      "type" : "test"
    },
    {
      "c99name" : "BigNumber",
      "module_type" : "SwiftTarget",
      "name" : "BigNumber",
      "path" : "Sources/BigNumber",
      "product_memberships" : [
        "BigNumber",
        "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/8] Write sources
[0/8] Write Benchmarks-entitlement.plist
[2/8] Write sources
[4/8] Write swift-version-2F0A5646E1D333AE.txt
[6/10] 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:2495: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
2493 | 	}
2494 |
2495 | 	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
2496 | 	/**
2497 | 	 * the global percision for all newly created values
[7/10] 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:2495: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
2493 | 	}
2494 |
2495 | 	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
2496 | 	/**
2497 | 	 * the global percision for all newly created values
[8/19] Compiling MGTools MG SuperSwift.swift
[9/19] 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 | }
[10/19] Compiling MGTools MG Storage.swift
[11/19] 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 |
[12/19] Emitting module MGTools
[13/19] Compiling MGTools MG Benchmark Tools.swift
[14/19] Compiling MGTools MG IO.swift
[15/19] Compiling MGTools MG Math.swift
[16/19] Compiling MGTools MG Matrix.swift
[17/22] Compiling Benchmarks main.swift
[18/22] Emitting module Benchmarks
[19/22] Compiling Benchmarks Benchmarks.swift
[19/22] Write Objects.LinkFileList
[20/22] Linking Benchmarks
[21/22] Applying Benchmarks
Build complete! (6.80s)
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" : "Benchmarks",
      "targets" : [
        "Benchmarks"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "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" : [
        "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_BIntMath.swift",
        "Test_Basic_Math.swift",
        "Test_Initialization.swift",
        "Test_String_Conversions.swift"
      ],
      "target_dependencies" : [
        "BigNumber",
        "MGTools"
      ],
      "type" : "test"
    },
    {
      "c99name" : "BigNumber",
      "module_type" : "SwiftTarget",
      "name" : "BigNumber",
      "path" : "Sources/BigNumber",
      "product_memberships" : [
        "BigNumber",
        "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.