The Swift Package Index logo.Swift Package Index

Build Information

Successful build of BasicMathTools, reference 1.3.0 (a82147), with Swift 6.1 for macOS (SPM) on 27 Jan 2026 06:40:58 UTC.

Swift 6 data race errors: 8

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.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/RougeWare/Swift-Basic-Math-Tools.git
Reference: 1.3.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/RougeWare/Swift-Basic-Math-Tools
 * tag               1.3.0      -> FETCH_HEAD
HEAD is now at a821470 Merge pull request #12 from RougeWare/feature/reduce
Cloned https://github.com/RougeWare/Swift-Basic-Math-Tools.git
Revision (git rev-parse @):
a821470f058fa41878afdaf83dfcf5f17d94af01
SUCCESS checkout https://github.com/RougeWare/Swift-Basic-Math-Tools.git at 1.3.0
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/RougeWare/Swift-Basic-Math-Tools.git
https://github.com/RougeWare/Swift-Basic-Math-Tools.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "BasicMathTools",
  "name" : "BasicMathTools",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "BasicMathTools",
      "targets" : [
        "BasicMathTools"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "BasicMathToolsTests",
      "module_type" : "SwiftTarget",
      "name" : "BasicMathToolsTests",
      "path" : "Tests/BasicMathToolsTests",
      "sources" : [
        "Clamps tests.swift",
        "TolerablyEqual Tests.swift",
        "Wrapping tests.swift",
        "XCTestManifests.swift",
        "additive reductions tests.swift"
      ],
      "target_dependencies" : [
        "BasicMathTools"
      ],
      "type" : "test"
    },
    {
      "c99name" : "BasicMathTools",
      "module_type" : "SwiftTarget",
      "name" : "BasicMathTools",
      "path" : "Sources/BasicMathTools",
      "product_memberships" : [
        "BasicMathTools"
      ],
      "sources" : [
        "Clamps.swift",
        "TolerablyEqual.swift",
        "Wrapping.swift",
        "additive reductions.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/2] Write sources
[1/2] Write swift-version-2F0A5646E1D333AE.txt
[3/7] Compiling BasicMathTools Wrapping.swift
[4/7] Compiling BasicMathTools additive reductions.swift
[5/7] Emitting module BasicMathTools
/Users/admin/builder/spi-builder-workspace/Sources/BasicMathTools/TolerablyEqual.swift:83:55: warning: static property 'defaultTolerance' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
81 | // MARK: Default Conformances
82 |
83 | extension CGFloat: TolerablyEqual { public static var defaultTolerance = CGFloat(CGFloat.NativeType.defaultTolerance) }
   |                                                       |- warning: static property 'defaultTolerance' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                                                       |- note: convert 'defaultTolerance' to a 'let' constant to make 'Sendable' shared state immutable
   |                                                       |- note: add '@MainActor' to make static property 'defaultTolerance' part of global actor 'MainActor'
   |                                                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
84 | extension Float32: TolerablyEqual { public static var defaultTolerance: Float32 = 0.0001 }
85 | extension Float64: TolerablyEqual { public static var defaultTolerance: Float64 = 0.00001 }
/Users/admin/builder/spi-builder-workspace/Sources/BasicMathTools/TolerablyEqual.swift:84:55: warning: static property 'defaultTolerance' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
82 |
83 | extension CGFloat: TolerablyEqual { public static var defaultTolerance = CGFloat(CGFloat.NativeType.defaultTolerance) }
84 | extension Float32: TolerablyEqual { public static var defaultTolerance: Float32 = 0.0001 }
   |                                                       |- warning: static property 'defaultTolerance' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                                                       |- note: convert 'defaultTolerance' to a 'let' constant to make 'Sendable' shared state immutable
   |                                                       |- note: add '@MainActor' to make static property 'defaultTolerance' part of global actor 'MainActor'
   |                                                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
85 | extension Float64: TolerablyEqual { public static var defaultTolerance: Float64 = 0.00001 }
86 | #if !arch(arm64)
/Users/admin/builder/spi-builder-workspace/Sources/BasicMathTools/TolerablyEqual.swift:85:55: warning: static property 'defaultTolerance' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
83 | extension CGFloat: TolerablyEqual { public static var defaultTolerance = CGFloat(CGFloat.NativeType.defaultTolerance) }
84 | extension Float32: TolerablyEqual { public static var defaultTolerance: Float32 = 0.0001 }
85 | extension Float64: TolerablyEqual { public static var defaultTolerance: Float64 = 0.00001 }
   |                                                       |- warning: static property 'defaultTolerance' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                                                       |- note: convert 'defaultTolerance' to a 'let' constant to make 'Sendable' shared state immutable
   |                                                       |- note: add '@MainActor' to make static property 'defaultTolerance' part of global actor 'MainActor'
   |                                                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
86 | #if !arch(arm64)
87 | extension Float80: TolerablyEqual { public static var defaultTolerance: Float80 = 0.000001 }
/Users/admin/builder/spi-builder-workspace/Sources/BasicMathTools/TolerablyEqual.swift:90:53: warning: static property 'defaultTolerance' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
88 | #endif
89 |
90 | extension Int:   TolerablyEqual { public static var defaultTolerance: Int   = 0 }
   |                                                     |- warning: static property 'defaultTolerance' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                                                     |- note: convert 'defaultTolerance' to a 'let' constant to make 'Sendable' shared state immutable
   |                                                     |- note: add '@MainActor' to make static property 'defaultTolerance' part of global actor 'MainActor'
   |                                                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
91 | extension Int8:  TolerablyEqual { public static var defaultTolerance: Int8  = 0 }
92 | extension Int16: TolerablyEqual { public static var defaultTolerance: Int16 = 0 }
/Users/admin/builder/spi-builder-workspace/Sources/BasicMathTools/TolerablyEqual.swift:91:53: warning: static property 'defaultTolerance' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
89 |
90 | extension Int:   TolerablyEqual { public static var defaultTolerance: Int   = 0 }
91 | extension Int8:  TolerablyEqual { public static var defaultTolerance: Int8  = 0 }
   |                                                     |- warning: static property 'defaultTolerance' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                                                     |- note: convert 'defaultTolerance' to a 'let' constant to make 'Sendable' shared state immutable
   |                                                     |- note: add '@MainActor' to make static property 'defaultTolerance' part of global actor 'MainActor'
   |                                                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
92 | extension Int16: TolerablyEqual { public static var defaultTolerance: Int16 = 0 }
93 | extension Int32: TolerablyEqual { public static var defaultTolerance: Int32 = 0 }
/Users/admin/builder/spi-builder-workspace/Sources/BasicMathTools/TolerablyEqual.swift:92:53: warning: static property 'defaultTolerance' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
90 | extension Int:   TolerablyEqual { public static var defaultTolerance: Int   = 0 }
91 | extension Int8:  TolerablyEqual { public static var defaultTolerance: Int8  = 0 }
92 | extension Int16: TolerablyEqual { public static var defaultTolerance: Int16 = 0 }
   |                                                     |- warning: static property 'defaultTolerance' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                                                     |- note: convert 'defaultTolerance' to a 'let' constant to make 'Sendable' shared state immutable
   |                                                     |- note: add '@MainActor' to make static property 'defaultTolerance' part of global actor 'MainActor'
   |                                                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
93 | extension Int32: TolerablyEqual { public static var defaultTolerance: Int32 = 0 }
94 | extension Int64: TolerablyEqual { public static var defaultTolerance: Int64 = 0 }
/Users/admin/builder/spi-builder-workspace/Sources/BasicMathTools/TolerablyEqual.swift:93:53: warning: static property 'defaultTolerance' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
91 | extension Int8:  TolerablyEqual { public static var defaultTolerance: Int8  = 0 }
92 | extension Int16: TolerablyEqual { public static var defaultTolerance: Int16 = 0 }
93 | extension Int32: TolerablyEqual { public static var defaultTolerance: Int32 = 0 }
   |                                                     |- warning: static property 'defaultTolerance' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                                                     |- note: convert 'defaultTolerance' to a 'let' constant to make 'Sendable' shared state immutable
   |                                                     |- note: add '@MainActor' to make static property 'defaultTolerance' part of global actor 'MainActor'
   |                                                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
94 | extension Int64: TolerablyEqual { public static var defaultTolerance: Int64 = 0 }
95 |
/Users/admin/builder/spi-builder-workspace/Sources/BasicMathTools/TolerablyEqual.swift:94:53: warning: static property 'defaultTolerance' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
92 | extension Int16: TolerablyEqual { public static var defaultTolerance: Int16 = 0 }
93 | extension Int32: TolerablyEqual { public static var defaultTolerance: Int32 = 0 }
94 | extension Int64: TolerablyEqual { public static var defaultTolerance: Int64 = 0 }
   |                                                     |- warning: static property 'defaultTolerance' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                                                     |- note: convert 'defaultTolerance' to a 'let' constant to make 'Sendable' shared state immutable
   |                                                     |- note: add '@MainActor' to make static property 'defaultTolerance' part of global actor 'MainActor'
   |                                                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
95 |
[6/7] Compiling BasicMathTools Clamps.swift
[7/7] Compiling BasicMathTools TolerablyEqual.swift
/Users/admin/builder/spi-builder-workspace/Sources/BasicMathTools/TolerablyEqual.swift:83:55: warning: static property 'defaultTolerance' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
81 | // MARK: Default Conformances
82 |
83 | extension CGFloat: TolerablyEqual { public static var defaultTolerance = CGFloat(CGFloat.NativeType.defaultTolerance) }
   |                                                       |- warning: static property 'defaultTolerance' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                                                       |- note: convert 'defaultTolerance' to a 'let' constant to make 'Sendable' shared state immutable
   |                                                       |- note: add '@MainActor' to make static property 'defaultTolerance' part of global actor 'MainActor'
   |                                                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
84 | extension Float32: TolerablyEqual { public static var defaultTolerance: Float32 = 0.0001 }
85 | extension Float64: TolerablyEqual { public static var defaultTolerance: Float64 = 0.00001 }
/Users/admin/builder/spi-builder-workspace/Sources/BasicMathTools/TolerablyEqual.swift:84:55: warning: static property 'defaultTolerance' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
82 |
83 | extension CGFloat: TolerablyEqual { public static var defaultTolerance = CGFloat(CGFloat.NativeType.defaultTolerance) }
84 | extension Float32: TolerablyEqual { public static var defaultTolerance: Float32 = 0.0001 }
   |                                                       |- warning: static property 'defaultTolerance' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                                                       |- note: convert 'defaultTolerance' to a 'let' constant to make 'Sendable' shared state immutable
   |                                                       |- note: add '@MainActor' to make static property 'defaultTolerance' part of global actor 'MainActor'
   |                                                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
85 | extension Float64: TolerablyEqual { public static var defaultTolerance: Float64 = 0.00001 }
86 | #if !arch(arm64)
/Users/admin/builder/spi-builder-workspace/Sources/BasicMathTools/TolerablyEqual.swift:85:55: warning: static property 'defaultTolerance' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
83 | extension CGFloat: TolerablyEqual { public static var defaultTolerance = CGFloat(CGFloat.NativeType.defaultTolerance) }
84 | extension Float32: TolerablyEqual { public static var defaultTolerance: Float32 = 0.0001 }
85 | extension Float64: TolerablyEqual { public static var defaultTolerance: Float64 = 0.00001 }
   |                                                       |- warning: static property 'defaultTolerance' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                                                       |- note: convert 'defaultTolerance' to a 'let' constant to make 'Sendable' shared state immutable
   |                                                       |- note: add '@MainActor' to make static property 'defaultTolerance' part of global actor 'MainActor'
   |                                                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
86 | #if !arch(arm64)
87 | extension Float80: TolerablyEqual { public static var defaultTolerance: Float80 = 0.000001 }
/Users/admin/builder/spi-builder-workspace/Sources/BasicMathTools/TolerablyEqual.swift:90:53: warning: static property 'defaultTolerance' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
88 | #endif
89 |
90 | extension Int:   TolerablyEqual { public static var defaultTolerance: Int   = 0 }
   |                                                     |- warning: static property 'defaultTolerance' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                                                     |- note: convert 'defaultTolerance' to a 'let' constant to make 'Sendable' shared state immutable
   |                                                     |- note: add '@MainActor' to make static property 'defaultTolerance' part of global actor 'MainActor'
   |                                                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
91 | extension Int8:  TolerablyEqual { public static var defaultTolerance: Int8  = 0 }
92 | extension Int16: TolerablyEqual { public static var defaultTolerance: Int16 = 0 }
/Users/admin/builder/spi-builder-workspace/Sources/BasicMathTools/TolerablyEqual.swift:91:53: warning: static property 'defaultTolerance' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
89 |
90 | extension Int:   TolerablyEqual { public static var defaultTolerance: Int   = 0 }
91 | extension Int8:  TolerablyEqual { public static var defaultTolerance: Int8  = 0 }
   |                                                     |- warning: static property 'defaultTolerance' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                                                     |- note: convert 'defaultTolerance' to a 'let' constant to make 'Sendable' shared state immutable
   |                                                     |- note: add '@MainActor' to make static property 'defaultTolerance' part of global actor 'MainActor'
   |                                                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
92 | extension Int16: TolerablyEqual { public static var defaultTolerance: Int16 = 0 }
93 | extension Int32: TolerablyEqual { public static var defaultTolerance: Int32 = 0 }
/Users/admin/builder/spi-builder-workspace/Sources/BasicMathTools/TolerablyEqual.swift:92:53: warning: static property 'defaultTolerance' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
90 | extension Int:   TolerablyEqual { public static var defaultTolerance: Int   = 0 }
91 | extension Int8:  TolerablyEqual { public static var defaultTolerance: Int8  = 0 }
92 | extension Int16: TolerablyEqual { public static var defaultTolerance: Int16 = 0 }
   |                                                     |- warning: static property 'defaultTolerance' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                                                     |- note: convert 'defaultTolerance' to a 'let' constant to make 'Sendable' shared state immutable
   |                                                     |- note: add '@MainActor' to make static property 'defaultTolerance' part of global actor 'MainActor'
   |                                                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
93 | extension Int32: TolerablyEqual { public static var defaultTolerance: Int32 = 0 }
94 | extension Int64: TolerablyEqual { public static var defaultTolerance: Int64 = 0 }
/Users/admin/builder/spi-builder-workspace/Sources/BasicMathTools/TolerablyEqual.swift:93:53: warning: static property 'defaultTolerance' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
91 | extension Int8:  TolerablyEqual { public static var defaultTolerance: Int8  = 0 }
92 | extension Int16: TolerablyEqual { public static var defaultTolerance: Int16 = 0 }
93 | extension Int32: TolerablyEqual { public static var defaultTolerance: Int32 = 0 }
   |                                                     |- warning: static property 'defaultTolerance' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                                                     |- note: convert 'defaultTolerance' to a 'let' constant to make 'Sendable' shared state immutable
   |                                                     |- note: add '@MainActor' to make static property 'defaultTolerance' part of global actor 'MainActor'
   |                                                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
94 | extension Int64: TolerablyEqual { public static var defaultTolerance: Int64 = 0 }
95 |
/Users/admin/builder/spi-builder-workspace/Sources/BasicMathTools/TolerablyEqual.swift:94:53: warning: static property 'defaultTolerance' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
92 | extension Int16: TolerablyEqual { public static var defaultTolerance: Int16 = 0 }
93 | extension Int32: TolerablyEqual { public static var defaultTolerance: Int32 = 0 }
94 | extension Int64: TolerablyEqual { public static var defaultTolerance: Int64 = 0 }
   |                                                     |- warning: static property 'defaultTolerance' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                                                     |- note: convert 'defaultTolerance' to a 'let' constant to make 'Sendable' shared state immutable
   |                                                     |- note: add '@MainActor' to make static property 'defaultTolerance' part of global actor 'MainActor'
   |                                                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
95 |
Build complete! (4.03s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "BasicMathTools",
  "name" : "BasicMathTools",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "BasicMathTools",
      "targets" : [
        "BasicMathTools"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "BasicMathToolsTests",
      "module_type" : "SwiftTarget",
      "name" : "BasicMathToolsTests",
      "path" : "Tests/BasicMathToolsTests",
      "sources" : [
        "Clamps tests.swift",
        "TolerablyEqual Tests.swift",
        "Wrapping tests.swift",
        "XCTestManifests.swift",
        "additive reductions tests.swift"
      ],
      "target_dependencies" : [
        "BasicMathTools"
      ],
      "type" : "test"
    },
    {
      "c99name" : "BasicMathTools",
      "module_type" : "SwiftTarget",
      "name" : "BasicMathTools",
      "path" : "Sources/BasicMathTools",
      "product_memberships" : [
        "BasicMathTools"
      ],
      "sources" : [
        "Clamps.swift",
        "TolerablyEqual.swift",
        "Wrapping.swift",
        "additive reductions.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.0"
}
Done.