The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Successful build of BigInt, reference 1.0.0 (fd9b2e), with Swift 6.1 for macOS (SPM) on 25 Apr 2025 15:43:24 UTC.

Swift 6 data race errors: 4

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.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Boilertalk/BigInt.swift.git
Reference: 1.0.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/Boilertalk/BigInt.swift
 * tag               1.0.0      -> FETCH_HEAD
HEAD is now at fd9b2eb Extend readme
Cloned https://github.com/Boilertalk/BigInt.swift.git
Revision (git rev-parse @):
fd9b2ebff53e7fd211a7d2b2ea682db300a8571b
SUCCESS checkout https://github.com/Boilertalk/BigInt.swift.git at 1.0.0
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "bigint.swift",
      "name": "BigInt",
      "url": "https://github.com/Boilertalk/BigInt.swift.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/BigInt.swift",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/Boilertalk/BigInt.swift.git
[1/174] Fetching bigint.swift
Fetched https://github.com/Boilertalk/BigInt.swift.git from cache (0.86s)
Creating working copy for https://github.com/Boilertalk/BigInt.swift.git
Working copy of https://github.com/Boilertalk/BigInt.swift.git resolved at 1.0.0 (fd9b2eb)
warning: '.resolve-product-dependencies': dependency 'bigint.swift' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/Boilertalk/BigInt.swift.git
https://github.com/Boilertalk/BigInt.swift.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "BigInt",
  "name" : "BigInt",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "BigInt",
      "targets" : [
        "BigInt"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "BigIntTests",
      "module_type" : "SwiftTarget",
      "name" : "BigIntTests",
      "path" : "Tests/BigIntTests",
      "sources" : [
        "BigIntTests.swift",
        "BigUIntTests.swift",
        "ProfileTests.swift",
        "Tools.swift",
        "WordTests.swift"
      ],
      "target_dependencies" : [
        "BigInt"
      ],
      "type" : "test"
    },
    {
      "c99name" : "BigInt",
      "module_type" : "SwiftTarget",
      "name" : "BigInt",
      "path" : "BigInt/Classes",
      "product_memberships" : [
        "BigInt"
      ],
      "sources" : [
        "Addition.swift",
        "BigInt.swift",
        "BigUInt.swift",
        "BitwiseOps.swift",
        "Codable.swift",
        "Comparable.swift",
        "DataConversion.swift",
        "Division.swift",
        "Exponentiation.swift",
        "FloatingPointConversion.swift",
        "GCD.swift",
        "Hashable.swift",
        "IntegerConversion.swift",
        "Multiplication.swift",
        "PrimeTest.swift",
        "Random.swift",
        "Shifts.swift",
        "SquareRoot.swift",
        "Strideable.swift",
        "StringConversion.swift",
        "Subtraction.swift",
        "WordsAndBits.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.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/2] Write sources
[1/2] Write swift-version-2F0A5646E1D333AE.txt
[3/23] Emitting module BigInt
/Users/admin/builder/spi-builder-workspace/BigInt/Classes/BigUInt.swift:30:25: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 28 |     }
 29 |
 30 |     internal fileprivate (set) var kind: Kind // Internal for testing only
    |                         `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 31 |     internal fileprivate (set) var storage: [Word] // Internal for testing only; stored separately to prevent COW copies
 32 |
/Users/admin/builder/spi-builder-workspace/BigInt/Classes/BigUInt.swift:31:25: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 29 |
 30 |     internal fileprivate (set) var kind: Kind // Internal for testing only
 31 |     internal fileprivate (set) var storage: [Word] // Internal for testing only; stored separately to prevent COW copies
    |                         `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 32 |
 33 |     /// Initializes a new BigUInt with value 0.
/Users/admin/builder/spi-builder-workspace/BigInt/Classes/Hashable.swift:15:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'BigUInt' to 'Hashable' by implementing 'hash(into:)' instead
13 |     //MARK: Hashing
14 |
15 |     public var hashValue: Int {
   |                `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'BigUInt' to 'Hashable' by implementing 'hash(into:)' instead
16 |         let words = self.words.map({ Int(bitPattern: $0) })
17 |
/Users/admin/builder/spi-builder-workspace/BigInt/Classes/Hashable.swift:27:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'BigInt' to 'Hashable' by implementing 'hash(into:)' instead
25 | extension BigInt: Hashable {
26 |
27 |     public var hashValue: Int {
   |                `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'BigInt' to 'Hashable' by implementing 'hash(into:)' instead
28 |         var words = self.words.map({ Int(bitPattern: $0) })
29 |
/Users/admin/builder/spi-builder-workspace/BigInt/Classes/Multiplication.swift:84:23: warning: static property 'directMultiplicationLimit' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 82 |
 83 |     /// Multiplication switches to an asymptotically better recursive algorithm when arguments have more words than this limit.
 84 |     public static var directMultiplicationLimit: Int = 1024
    |                       |- warning: static property 'directMultiplicationLimit' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'directMultiplicationLimit' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'directMultiplicationLimit' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 85 |
 86 |     /// Multiply `a` by `b` and return the result.
/Users/admin/builder/spi-builder-workspace/BigInt/Classes/PrimeTest.swift:18:5: warning: let 'pseudoPrimes' is not concurrency-safe because non-'Sendable' type '[BigUInt]' may have shared mutable state; this is an error in the Swift 6 language mode
 16 | ///
 17 | /// This is sequence [A014233](http://oeis.org/A014233) on the [Online Encyclopaedia of Integer Sequences](http://oeis.org).
 18 | let pseudoPrimes: [BigUInt] = [
    |     |- warning: let 'pseudoPrimes' is not concurrency-safe because non-'Sendable' type '[BigUInt]' may have shared mutable state; this is an error in the Swift 6 language mode
    |     |- note: add '@MainActor' to make let 'pseudoPrimes' part of global actor 'MainActor'
    |     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 19 |     /*  2 */ 2_047,
 20 |     /*  3 */ 1_373_653,
/Users/admin/builder/spi-builder-workspace/BigInt/Classes/BigUInt.swift:16:15: note: consider making struct 'BigUInt' conform to the 'Sendable' protocol
 14 | /// This particular big integer type uses base-2^64 digits to represent integers; you can think of it as a wrapper
 15 | /// around `Array<UInt64>`. (In fact, `BigUInt` only uses an array if there are more than two digits.)
 16 | public struct BigUInt: UnsignedInteger {
    |               `- note: consider making struct 'BigUInt' conform to the 'Sendable' protocol
 17 |     /// The type representing a digit in `BigUInt`'s underlying number system.
 18 |     public typealias Word = UInt
[4/25] Compiling BigInt Subtraction.swift
/Users/admin/builder/spi-builder-workspace/BigInt/Classes/BigUInt.swift:30:25: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 28 |     }
 29 |
 30 |     internal fileprivate (set) var kind: Kind // Internal for testing only
    |                         `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 31 |     internal fileprivate (set) var storage: [Word] // Internal for testing only; stored separately to prevent COW copies
 32 |
/Users/admin/builder/spi-builder-workspace/BigInt/Classes/BigUInt.swift:31:25: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 29 |
 30 |     internal fileprivate (set) var kind: Kind // Internal for testing only
 31 |     internal fileprivate (set) var storage: [Word] // Internal for testing only; stored separately to prevent COW copies
    |                         `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 32 |
 33 |     /// Initializes a new BigUInt with value 0.
[5/25] Compiling BigInt WordsAndBits.swift
/Users/admin/builder/spi-builder-workspace/BigInt/Classes/BigUInt.swift:30:25: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 28 |     }
 29 |
 30 |     internal fileprivate (set) var kind: Kind // Internal for testing only
    |                         `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 31 |     internal fileprivate (set) var storage: [Word] // Internal for testing only; stored separately to prevent COW copies
 32 |
/Users/admin/builder/spi-builder-workspace/BigInt/Classes/BigUInt.swift:31:25: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 29 |
 30 |     internal fileprivate (set) var kind: Kind // Internal for testing only
 31 |     internal fileprivate (set) var storage: [Word] // Internal for testing only; stored separately to prevent COW copies
    |                         `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 32 |
 33 |     /// Initializes a new BigUInt with value 0.
[6/25] Compiling BigInt Shifts.swift
/Users/admin/builder/spi-builder-workspace/BigInt/Classes/BigUInt.swift:30:25: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 28 |     }
 29 |
 30 |     internal fileprivate (set) var kind: Kind // Internal for testing only
    |                         `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 31 |     internal fileprivate (set) var storage: [Word] // Internal for testing only; stored separately to prevent COW copies
 32 |
/Users/admin/builder/spi-builder-workspace/BigInt/Classes/BigUInt.swift:31:25: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 29 |
 30 |     internal fileprivate (set) var kind: Kind // Internal for testing only
 31 |     internal fileprivate (set) var storage: [Word] // Internal for testing only; stored separately to prevent COW copies
    |                         `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 32 |
 33 |     /// Initializes a new BigUInt with value 0.
[7/25] Compiling BigInt SquareRoot.swift
/Users/admin/builder/spi-builder-workspace/BigInt/Classes/BigUInt.swift:30:25: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 28 |     }
 29 |
 30 |     internal fileprivate (set) var kind: Kind // Internal for testing only
    |                         `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 31 |     internal fileprivate (set) var storage: [Word] // Internal for testing only; stored separately to prevent COW copies
 32 |
/Users/admin/builder/spi-builder-workspace/BigInt/Classes/BigUInt.swift:31:25: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 29 |
 30 |     internal fileprivate (set) var kind: Kind // Internal for testing only
 31 |     internal fileprivate (set) var storage: [Word] // Internal for testing only; stored separately to prevent COW copies
    |                         `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 32 |
 33 |     /// Initializes a new BigUInt with value 0.
[8/25] Compiling BigInt DataConversion.swift
/Users/admin/builder/spi-builder-workspace/BigInt/Classes/BigUInt.swift:30:25: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 28 |     }
 29 |
 30 |     internal fileprivate (set) var kind: Kind // Internal for testing only
    |                         `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 31 |     internal fileprivate (set) var storage: [Word] // Internal for testing only; stored separately to prevent COW copies
 32 |
/Users/admin/builder/spi-builder-workspace/BigInt/Classes/BigUInt.swift:31:25: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 29 |
 30 |     internal fileprivate (set) var kind: Kind // Internal for testing only
 31 |     internal fileprivate (set) var storage: [Word] // Internal for testing only; stored separately to prevent COW copies
    |                         `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 32 |
 33 |     /// Initializes a new BigUInt with value 0.
[9/25] Compiling BigInt Division.swift
/Users/admin/builder/spi-builder-workspace/BigInt/Classes/BigUInt.swift:30:25: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 28 |     }
 29 |
 30 |     internal fileprivate (set) var kind: Kind // Internal for testing only
    |                         `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 31 |     internal fileprivate (set) var storage: [Word] // Internal for testing only; stored separately to prevent COW copies
 32 |
/Users/admin/builder/spi-builder-workspace/BigInt/Classes/BigUInt.swift:31:25: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 29 |
 30 |     internal fileprivate (set) var kind: Kind // Internal for testing only
 31 |     internal fileprivate (set) var storage: [Word] // Internal for testing only; stored separately to prevent COW copies
    |                         `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 32 |
 33 |     /// Initializes a new BigUInt with value 0.
[10/25] Compiling BigInt IntegerConversion.swift
/Users/admin/builder/spi-builder-workspace/BigInt/Classes/BigUInt.swift:30:25: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 28 |     }
 29 |
 30 |     internal fileprivate (set) var kind: Kind // Internal for testing only
    |                         `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 31 |     internal fileprivate (set) var storage: [Word] // Internal for testing only; stored separately to prevent COW copies
 32 |
/Users/admin/builder/spi-builder-workspace/BigInt/Classes/BigUInt.swift:31:25: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 29 |
 30 |     internal fileprivate (set) var kind: Kind // Internal for testing only
 31 |     internal fileprivate (set) var storage: [Word] // Internal for testing only; stored separately to prevent COW copies
    |                         `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 32 |
 33 |     /// Initializes a new BigUInt with value 0.
/Users/admin/builder/spi-builder-workspace/BigInt/Classes/Multiplication.swift:84:23: warning: static property 'directMultiplicationLimit' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 82 |
 83 |     /// Multiplication switches to an asymptotically better recursive algorithm when arguments have more words than this limit.
 84 |     public static var directMultiplicationLimit: Int = 1024
    |                       |- warning: static property 'directMultiplicationLimit' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'directMultiplicationLimit' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'directMultiplicationLimit' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 85 |
 86 |     /// Multiply `a` by `b` and return the result.
[11/25] Compiling BigInt Multiplication.swift
/Users/admin/builder/spi-builder-workspace/BigInt/Classes/BigUInt.swift:30:25: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 28 |     }
 29 |
 30 |     internal fileprivate (set) var kind: Kind // Internal for testing only
    |                         `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 31 |     internal fileprivate (set) var storage: [Word] // Internal for testing only; stored separately to prevent COW copies
 32 |
/Users/admin/builder/spi-builder-workspace/BigInt/Classes/BigUInt.swift:31:25: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 29 |
 30 |     internal fileprivate (set) var kind: Kind // Internal for testing only
 31 |     internal fileprivate (set) var storage: [Word] // Internal for testing only; stored separately to prevent COW copies
    |                         `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 32 |
 33 |     /// Initializes a new BigUInt with value 0.
/Users/admin/builder/spi-builder-workspace/BigInt/Classes/Multiplication.swift:84:23: warning: static property 'directMultiplicationLimit' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 82 |
 83 |     /// Multiplication switches to an asymptotically better recursive algorithm when arguments have more words than this limit.
 84 |     public static var directMultiplicationLimit: Int = 1024
    |                       |- warning: static property 'directMultiplicationLimit' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'directMultiplicationLimit' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'directMultiplicationLimit' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 85 |
 86 |     /// Multiply `a` by `b` and return the result.
[12/25] Compiling BigInt Strideable.swift
/Users/admin/builder/spi-builder-workspace/BigInt/Classes/BigUInt.swift:30:25: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 28 |     }
 29 |
 30 |     internal fileprivate (set) var kind: Kind // Internal for testing only
    |                         `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 31 |     internal fileprivate (set) var storage: [Word] // Internal for testing only; stored separately to prevent COW copies
 32 |
/Users/admin/builder/spi-builder-workspace/BigInt/Classes/BigUInt.swift:31:25: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 29 |
 30 |     internal fileprivate (set) var kind: Kind // Internal for testing only
 31 |     internal fileprivate (set) var storage: [Word] // Internal for testing only; stored separately to prevent COW copies
    |                         `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 32 |
 33 |     /// Initializes a new BigUInt with value 0.
[13/25] Compiling BigInt StringConversion.swift
/Users/admin/builder/spi-builder-workspace/BigInt/Classes/BigUInt.swift:30:25: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 28 |     }
 29 |
 30 |     internal fileprivate (set) var kind: Kind // Internal for testing only
    |                         `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 31 |     internal fileprivate (set) var storage: [Word] // Internal for testing only; stored separately to prevent COW copies
 32 |
/Users/admin/builder/spi-builder-workspace/BigInt/Classes/BigUInt.swift:31:25: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 29 |
 30 |     internal fileprivate (set) var kind: Kind // Internal for testing only
 31 |     internal fileprivate (set) var storage: [Word] // Internal for testing only; stored separately to prevent COW copies
    |                         `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 32 |
 33 |     /// Initializes a new BigUInt with value 0.
[14/25] Compiling BigInt PrimeTest.swift
/Users/admin/builder/spi-builder-workspace/BigInt/Classes/BigUInt.swift:30:25: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 28 |     }
 29 |
 30 |     internal fileprivate (set) var kind: Kind // Internal for testing only
    |                         `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 31 |     internal fileprivate (set) var storage: [Word] // Internal for testing only; stored separately to prevent COW copies
 32 |
/Users/admin/builder/spi-builder-workspace/BigInt/Classes/BigUInt.swift:31:25: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 29 |
 30 |     internal fileprivate (set) var kind: Kind // Internal for testing only
 31 |     internal fileprivate (set) var storage: [Word] // Internal for testing only; stored separately to prevent COW copies
    |                         `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 32 |
 33 |     /// Initializes a new BigUInt with value 0.
/Users/admin/builder/spi-builder-workspace/BigInt/Classes/PrimeTest.swift:18:5: warning: let 'pseudoPrimes' is not concurrency-safe because non-'Sendable' type '[BigUInt]' may have shared mutable state; this is an error in the Swift 6 language mode
 16 | ///
 17 | /// This is sequence [A014233](http://oeis.org/A014233) on the [Online Encyclopaedia of Integer Sequences](http://oeis.org).
 18 | let pseudoPrimes: [BigUInt] = [
    |     |- warning: let 'pseudoPrimes' is not concurrency-safe because non-'Sendable' type '[BigUInt]' may have shared mutable state; this is an error in the Swift 6 language mode
    |     |- note: add '@MainActor' to make let 'pseudoPrimes' part of global actor 'MainActor'
    |     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 19 |     /*  2 */ 2_047,
 20 |     /*  3 */ 1_373_653,
/Users/admin/builder/spi-builder-workspace/BigInt/Classes/BigUInt.swift:16:15: note: consider making struct 'BigUInt' conform to the 'Sendable' protocol
 14 | /// This particular big integer type uses base-2^64 digits to represent integers; you can think of it as a wrapper
 15 | /// around `Array<UInt64>`. (In fact, `BigUInt` only uses an array if there are more than two digits.)
 16 | public struct BigUInt: UnsignedInteger {
    |               `- note: consider making struct 'BigUInt' conform to the 'Sendable' protocol
 17 |     /// The type representing a digit in `BigUInt`'s underlying number system.
 18 |     public typealias Word = UInt
[15/25] Compiling BigInt Random.swift
/Users/admin/builder/spi-builder-workspace/BigInt/Classes/BigUInt.swift:30:25: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 28 |     }
 29 |
 30 |     internal fileprivate (set) var kind: Kind // Internal for testing only
    |                         `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 31 |     internal fileprivate (set) var storage: [Word] // Internal for testing only; stored separately to prevent COW copies
 32 |
/Users/admin/builder/spi-builder-workspace/BigInt/Classes/BigUInt.swift:31:25: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 29 |
 30 |     internal fileprivate (set) var kind: Kind // Internal for testing only
 31 |     internal fileprivate (set) var storage: [Word] // Internal for testing only; stored separately to prevent COW copies
    |                         `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 32 |
 33 |     /// Initializes a new BigUInt with value 0.
/Users/admin/builder/spi-builder-workspace/BigInt/Classes/PrimeTest.swift:18:5: warning: let 'pseudoPrimes' is not concurrency-safe because non-'Sendable' type '[BigUInt]' may have shared mutable state; this is an error in the Swift 6 language mode
 16 | ///
 17 | /// This is sequence [A014233](http://oeis.org/A014233) on the [Online Encyclopaedia of Integer Sequences](http://oeis.org).
 18 | let pseudoPrimes: [BigUInt] = [
    |     |- warning: let 'pseudoPrimes' is not concurrency-safe because non-'Sendable' type '[BigUInt]' may have shared mutable state; this is an error in the Swift 6 language mode
    |     |- note: add '@MainActor' to make let 'pseudoPrimes' part of global actor 'MainActor'
    |     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 19 |     /*  2 */ 2_047,
 20 |     /*  3 */ 1_373_653,
/Users/admin/builder/spi-builder-workspace/BigInt/Classes/BigUInt.swift:16:15: note: consider making struct 'BigUInt' conform to the 'Sendable' protocol
 14 | /// This particular big integer type uses base-2^64 digits to represent integers; you can think of it as a wrapper
 15 | /// around `Array<UInt64>`. (In fact, `BigUInt` only uses an array if there are more than two digits.)
 16 | public struct BigUInt: UnsignedInteger {
    |               `- note: consider making struct 'BigUInt' conform to the 'Sendable' protocol
 17 |     /// The type representing a digit in `BigUInt`'s underlying number system.
 18 |     public typealias Word = UInt
[16/25] Compiling BigInt Exponentiation.swift
/Users/admin/builder/spi-builder-workspace/BigInt/Classes/BigUInt.swift:30:25: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 28 |     }
 29 |
 30 |     internal fileprivate (set) var kind: Kind // Internal for testing only
    |                         `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 31 |     internal fileprivate (set) var storage: [Word] // Internal for testing only; stored separately to prevent COW copies
 32 |
/Users/admin/builder/spi-builder-workspace/BigInt/Classes/BigUInt.swift:31:25: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 29 |
 30 |     internal fileprivate (set) var kind: Kind // Internal for testing only
 31 |     internal fileprivate (set) var storage: [Word] // Internal for testing only; stored separately to prevent COW copies
    |                         `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 32 |
 33 |     /// Initializes a new BigUInt with value 0.
[17/25] Compiling BigInt FloatingPointConversion.swift
/Users/admin/builder/spi-builder-workspace/BigInt/Classes/BigUInt.swift:30:25: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 28 |     }
 29 |
 30 |     internal fileprivate (set) var kind: Kind // Internal for testing only
    |                         `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 31 |     internal fileprivate (set) var storage: [Word] // Internal for testing only; stored separately to prevent COW copies
 32 |
/Users/admin/builder/spi-builder-workspace/BigInt/Classes/BigUInt.swift:31:25: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 29 |
 30 |     internal fileprivate (set) var kind: Kind // Internal for testing only
 31 |     internal fileprivate (set) var storage: [Word] // Internal for testing only; stored separately to prevent COW copies
    |                         `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 32 |
 33 |     /// Initializes a new BigUInt with value 0.
[18/25] Compiling BigInt GCD.swift
/Users/admin/builder/spi-builder-workspace/BigInt/Classes/BigUInt.swift:30:25: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 28 |     }
 29 |
 30 |     internal fileprivate (set) var kind: Kind // Internal for testing only
    |                         `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 31 |     internal fileprivate (set) var storage: [Word] // Internal for testing only; stored separately to prevent COW copies
 32 |
/Users/admin/builder/spi-builder-workspace/BigInt/Classes/BigUInt.swift:31:25: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 29 |
 30 |     internal fileprivate (set) var kind: Kind // Internal for testing only
 31 |     internal fileprivate (set) var storage: [Word] // Internal for testing only; stored separately to prevent COW copies
    |                         `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 32 |
 33 |     /// Initializes a new BigUInt with value 0.
/Users/admin/builder/spi-builder-workspace/BigInt/Classes/Hashable.swift:15:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'BigUInt' to 'Hashable' by implementing 'hash(into:)' instead
13 |     //MARK: Hashing
14 |
15 |     public var hashValue: Int {
   |                `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'BigUInt' to 'Hashable' by implementing 'hash(into:)' instead
16 |         let words = self.words.map({ Int(bitPattern: $0) })
17 |
/Users/admin/builder/spi-builder-workspace/BigInt/Classes/Hashable.swift:27:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'BigInt' to 'Hashable' by implementing 'hash(into:)' instead
25 | extension BigInt: Hashable {
26 |
27 |     public var hashValue: Int {
   |                `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'BigInt' to 'Hashable' by implementing 'hash(into:)' instead
28 |         var words = self.words.map({ Int(bitPattern: $0) })
29 |
[19/25] Compiling BigInt Hashable.swift
/Users/admin/builder/spi-builder-workspace/BigInt/Classes/BigUInt.swift:30:25: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 28 |     }
 29 |
 30 |     internal fileprivate (set) var kind: Kind // Internal for testing only
    |                         `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 31 |     internal fileprivate (set) var storage: [Word] // Internal for testing only; stored separately to prevent COW copies
 32 |
/Users/admin/builder/spi-builder-workspace/BigInt/Classes/BigUInt.swift:31:25: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 29 |
 30 |     internal fileprivate (set) var kind: Kind // Internal for testing only
 31 |     internal fileprivate (set) var storage: [Word] // Internal for testing only; stored separately to prevent COW copies
    |                         `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 32 |
 33 |     /// Initializes a new BigUInt with value 0.
/Users/admin/builder/spi-builder-workspace/BigInt/Classes/Hashable.swift:15:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'BigUInt' to 'Hashable' by implementing 'hash(into:)' instead
13 |     //MARK: Hashing
14 |
15 |     public var hashValue: Int {
   |                `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'BigUInt' to 'Hashable' by implementing 'hash(into:)' instead
16 |         let words = self.words.map({ Int(bitPattern: $0) })
17 |
/Users/admin/builder/spi-builder-workspace/BigInt/Classes/Hashable.swift:27:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'BigInt' to 'Hashable' by implementing 'hash(into:)' instead
25 | extension BigInt: Hashable {
26 |
27 |     public var hashValue: Int {
   |                `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'BigInt' to 'Hashable' by implementing 'hash(into:)' instead
28 |         var words = self.words.map({ Int(bitPattern: $0) })
29 |
[20/25] Compiling BigInt BitwiseOps.swift
/Users/admin/builder/spi-builder-workspace/BigInt/Classes/BigUInt.swift:30:25: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 28 |     }
 29 |
 30 |     internal fileprivate (set) var kind: Kind // Internal for testing only
    |                         `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 31 |     internal fileprivate (set) var storage: [Word] // Internal for testing only; stored separately to prevent COW copies
 32 |
/Users/admin/builder/spi-builder-workspace/BigInt/Classes/BigUInt.swift:31:25: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 29 |
 30 |     internal fileprivate (set) var kind: Kind // Internal for testing only
 31 |     internal fileprivate (set) var storage: [Word] // Internal for testing only; stored separately to prevent COW copies
    |                         `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 32 |
 33 |     /// Initializes a new BigUInt with value 0.
[21/25] Compiling BigInt Codable.swift
/Users/admin/builder/spi-builder-workspace/BigInt/Classes/BigUInt.swift:30:25: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 28 |     }
 29 |
 30 |     internal fileprivate (set) var kind: Kind // Internal for testing only
    |                         `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 31 |     internal fileprivate (set) var storage: [Word] // Internal for testing only; stored separately to prevent COW copies
 32 |
/Users/admin/builder/spi-builder-workspace/BigInt/Classes/BigUInt.swift:31:25: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 29 |
 30 |     internal fileprivate (set) var kind: Kind // Internal for testing only
 31 |     internal fileprivate (set) var storage: [Word] // Internal for testing only; stored separately to prevent COW copies
    |                         `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 32 |
 33 |     /// Initializes a new BigUInt with value 0.
[22/25] Compiling BigInt Comparable.swift
/Users/admin/builder/spi-builder-workspace/BigInt/Classes/BigUInt.swift:30:25: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 28 |     }
 29 |
 30 |     internal fileprivate (set) var kind: Kind // Internal for testing only
    |                         `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 31 |     internal fileprivate (set) var storage: [Word] // Internal for testing only; stored separately to prevent COW copies
 32 |
/Users/admin/builder/spi-builder-workspace/BigInt/Classes/BigUInt.swift:31:25: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 29 |
 30 |     internal fileprivate (set) var kind: Kind // Internal for testing only
 31 |     internal fileprivate (set) var storage: [Word] // Internal for testing only; stored separately to prevent COW copies
    |                         `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 32 |
 33 |     /// Initializes a new BigUInt with value 0.
[23/25] Compiling BigInt Addition.swift
/Users/admin/builder/spi-builder-workspace/BigInt/Classes/BigUInt.swift:30:25: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 28 |     }
 29 |
 30 |     internal fileprivate (set) var kind: Kind // Internal for testing only
    |                         `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 31 |     internal fileprivate (set) var storage: [Word] // Internal for testing only; stored separately to prevent COW copies
 32 |
/Users/admin/builder/spi-builder-workspace/BigInt/Classes/BigUInt.swift:31:25: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 29 |
 30 |     internal fileprivate (set) var kind: Kind // Internal for testing only
 31 |     internal fileprivate (set) var storage: [Word] // Internal for testing only; stored separately to prevent COW copies
    |                         `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 32 |
 33 |     /// Initializes a new BigUInt with value 0.
[24/25] Compiling BigInt BigInt.swift
/Users/admin/builder/spi-builder-workspace/BigInt/Classes/BigUInt.swift:30:25: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 28 |     }
 29 |
 30 |     internal fileprivate (set) var kind: Kind // Internal for testing only
    |                         `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 31 |     internal fileprivate (set) var storage: [Word] // Internal for testing only; stored separately to prevent COW copies
 32 |
/Users/admin/builder/spi-builder-workspace/BigInt/Classes/BigUInt.swift:31:25: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 29 |
 30 |     internal fileprivate (set) var kind: Kind // Internal for testing only
 31 |     internal fileprivate (set) var storage: [Word] // Internal for testing only; stored separately to prevent COW copies
    |                         `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 32 |
 33 |     /// Initializes a new BigUInt with value 0.
[25/25] Compiling BigInt BigUInt.swift
/Users/admin/builder/spi-builder-workspace/BigInt/Classes/BigUInt.swift:30:25: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 28 |     }
 29 |
 30 |     internal fileprivate (set) var kind: Kind // Internal for testing only
    |                         `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 31 |     internal fileprivate (set) var storage: [Word] // Internal for testing only; stored separately to prevent COW copies
 32 |
/Users/admin/builder/spi-builder-workspace/BigInt/Classes/BigUInt.swift:31:25: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 29 |
 30 |     internal fileprivate (set) var kind: Kind // Internal for testing only
 31 |     internal fileprivate (set) var storage: [Word] // Internal for testing only; stored separately to prevent COW copies
    |                         `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 32 |
 33 |     /// Initializes a new BigUInt with value 0.
Build complete! (4.93s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "BigInt",
  "name" : "BigInt",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "BigInt",
      "targets" : [
        "BigInt"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "BigIntTests",
      "module_type" : "SwiftTarget",
      "name" : "BigIntTests",
      "path" : "Tests/BigIntTests",
      "sources" : [
        "BigIntTests.swift",
        "BigUIntTests.swift",
        "ProfileTests.swift",
        "Tools.swift",
        "WordTests.swift"
      ],
      "target_dependencies" : [
        "BigInt"
      ],
      "type" : "test"
    },
    {
      "c99name" : "BigInt",
      "module_type" : "SwiftTarget",
      "name" : "BigInt",
      "path" : "BigInt/Classes",
      "product_memberships" : [
        "BigInt"
      ],
      "sources" : [
        "Addition.swift",
        "BigInt.swift",
        "BigUInt.swift",
        "BitwiseOps.swift",
        "Codable.swift",
        "Comparable.swift",
        "DataConversion.swift",
        "Division.swift",
        "Exponentiation.swift",
        "FloatingPointConversion.swift",
        "GCD.swift",
        "Hashable.swift",
        "IntegerConversion.swift",
        "Multiplication.swift",
        "PrimeTest.swift",
        "Random.swift",
        "Shifts.swift",
        "SquareRoot.swift",
        "Strideable.swift",
        "StringConversion.swift",
        "Subtraction.swift",
        "WordsAndBits.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.0"
}
Done.