The Swift Package Index logo.Swift Package Index

Build Information

Successful build of MultiplicativeArithmetic, reference 2.1.0 (960ccc), with Swift 6.1 for macOS (SPM) on 25 Jun 2026 15:16:09 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: undefined version: run 'make version' to update
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/RougeWare/Swift-MultiplicativeArithmetic.git
Reference: 2.1.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/RougeWare/Swift-MultiplicativeArithmetic
 * tag               2.1.0      -> FETCH_HEAD
HEAD is now at 960ccc5 Merge pull request #15 from RougeWare/feature/Linux/init
Cloned https://github.com/RougeWare/Swift-MultiplicativeArithmetic.git
Revision (git rev-parse @):
960ccc54d6c876983c6658d4aca637b4685e9841
SUCCESS checkout https://github.com/RougeWare/Swift-MultiplicativeArithmetic.git at 2.1.0
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/RougeWare/Swift-MultiplicativeArithmetic.git
https://github.com/RougeWare/Swift-MultiplicativeArithmetic.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "MultiplicativeArithmetic",
  "name" : "MultiplicativeArithmetic",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "MultiplicativeArithmetic",
      "targets" : [
        "MultiplicativeArithmetic"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "MultiplicativeArithmeticTests",
      "module_type" : "SwiftTarget",
      "name" : "MultiplicativeArithmeticTests",
      "path" : "Tests/MultiplicativeArithmeticTests",
      "sources" : [
        "Decimal + MultiplicativeArithmetic tests.swift",
        "MultiplicativeArithmeticTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "MultiplicativeArithmetic"
      ],
      "type" : "test"
    },
    {
      "c99name" : "MultiplicativeArithmetic",
      "module_type" : "SwiftTarget",
      "name" : "MultiplicativeArithmetic",
      "path" : "Sources/MultiplicativeArithmetic",
      "product_memberships" : [
        "MultiplicativeArithmetic"
      ],
      "sources" : [
        "Default Conformances.swift",
        "MultiplicativeArithmetic.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.1"
}
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/5] Compiling MultiplicativeArithmetic MultiplicativeArithmetic.swift
[4/5] Emitting module MultiplicativeArithmetic
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/MultiplicativeArithmetic/Default Conformances.swift:15:17: warning: let '_pow' is not concurrency-safe because non-'Sendable' type '(Double, Double) -> Double' may have shared mutable state; this is an error in the Swift 6 language mode
 13 | #if canImport(Darwin)
 14 |     import Darwin
 15 |     private let _pow:  (Double, Double) -> Double = Darwin.pow
    |                 |- warning: let '_pow' is not concurrency-safe because non-'Sendable' type '(Double, Double) -> Double' may have shared mutable state; this is an error in the Swift 6 language mode
    |                 |- note: add '@MainActor' to make let '_pow' part of global actor 'MainActor'
    |                 `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 16 |     private let _powf: (Float,  Float)  -> Float  = Darwin.powf
 17 |     #if (arch(i386) || arch(x86_64)) && !os(Windows)
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/MultiplicativeArithmetic/Default Conformances.swift:16:17: warning: let '_powf' is not concurrency-safe because non-'Sendable' type '(Float, Float) -> Float' may have shared mutable state; this is an error in the Swift 6 language mode
 14 |     import Darwin
 15 |     private let _pow:  (Double, Double) -> Double = Darwin.pow
 16 |     private let _powf: (Float,  Float)  -> Float  = Darwin.powf
    |                 |- warning: let '_powf' is not concurrency-safe because non-'Sendable' type '(Float, Float) -> Float' may have shared mutable state; this is an error in the Swift 6 language mode
    |                 |- note: add '@MainActor' to make let '_powf' part of global actor 'MainActor'
    |                 `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 17 |     #if (arch(i386) || arch(x86_64)) && !os(Windows)
 18 |         private let _powl: (Float80, Float80) -> Float80 = Darwin.powl
[5/5] Compiling MultiplicativeArithmetic Default Conformances.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/MultiplicativeArithmetic/Default Conformances.swift:15:17: warning: let '_pow' is not concurrency-safe because non-'Sendable' type '(Double, Double) -> Double' may have shared mutable state; this is an error in the Swift 6 language mode
 13 | #if canImport(Darwin)
 14 |     import Darwin
 15 |     private let _pow:  (Double, Double) -> Double = Darwin.pow
    |                 |- warning: let '_pow' is not concurrency-safe because non-'Sendable' type '(Double, Double) -> Double' may have shared mutable state; this is an error in the Swift 6 language mode
    |                 |- note: add '@MainActor' to make let '_pow' part of global actor 'MainActor'
    |                 `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 16 |     private let _powf: (Float,  Float)  -> Float  = Darwin.powf
 17 |     #if (arch(i386) || arch(x86_64)) && !os(Windows)
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/MultiplicativeArithmetic/Default Conformances.swift:16:17: warning: let '_powf' is not concurrency-safe because non-'Sendable' type '(Float, Float) -> Float' may have shared mutable state; this is an error in the Swift 6 language mode
 14 |     import Darwin
 15 |     private let _pow:  (Double, Double) -> Double = Darwin.pow
 16 |     private let _powf: (Float,  Float)  -> Float  = Darwin.powf
    |                 |- warning: let '_powf' is not concurrency-safe because non-'Sendable' type '(Float, Float) -> Float' may have shared mutable state; this is an error in the Swift 6 language mode
    |                 |- note: add '@MainActor' to make let '_powf' part of global actor 'MainActor'
    |                 `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 17 |     #if (arch(i386) || arch(x86_64)) && !os(Windows)
 18 |         private let _powl: (Float80, Float80) -> Float80 = Darwin.powl
Build complete! (3.55s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "MultiplicativeArithmetic",
  "name" : "MultiplicativeArithmetic",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "MultiplicativeArithmetic",
      "targets" : [
        "MultiplicativeArithmetic"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "MultiplicativeArithmeticTests",
      "module_type" : "SwiftTarget",
      "name" : "MultiplicativeArithmeticTests",
      "path" : "Tests/MultiplicativeArithmeticTests",
      "sources" : [
        "Decimal + MultiplicativeArithmetic tests.swift",
        "MultiplicativeArithmeticTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "MultiplicativeArithmetic"
      ],
      "type" : "test"
    },
    {
      "c99name" : "MultiplicativeArithmetic",
      "module_type" : "SwiftTarget",
      "name" : "MultiplicativeArithmetic",
      "path" : "Sources/MultiplicativeArithmetic",
      "product_memberships" : [
        "MultiplicativeArithmetic"
      ],
      "sources" : [
        "Default Conformances.swift",
        "MultiplicativeArithmetic.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.1"
}
Done.