The Swift Package Index logo.Swift Package Index

Build Information

Successful build of BaseMath, reference 1.0.1 (449475), with Swift 6.2 for macOS (SPM) on 17 Jun 2025 21:38:05 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/jph00/basemath.git
Reference: 1.0.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/jph00/basemath
 * tag               1.0.1      -> FETCH_HEAD
HEAD is now at 449475d mix max abs and more sums
Cloned https://github.com/jph00/basemath.git
Revision (git rev-parse @):
449475d45ed2cd97498c92164bfdc8dbd9f53429
SUCCESS checkout https://github.com/jph00/basemath.git at 1.0.1
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/jph00/basemath.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/3] Write sources
[1/3] Write swift-version-1EA4D86E10B52AF.txt
[2/3] Compiling CBaseMath CBaseMath.c
[4/7] Compiling BaseMath Storage.swift
/Users/admin/builder/spi-builder-workspace/Sources/BaseMath/Storage.swift:23:1: warning: extension declares a conformance of imported type 'UnsafeMutableBufferPointer' to imported protocols 'Equatable', 'ExpressibleByArrayLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
21 | }
22 |
23 | extension UnsafeMutableBufferPointer: BaseVector,ExpressibleByArrayLiteral,Equatable where Element:SupportsBasicMath {
   | |- warning: extension declares a conformance of imported type 'UnsafeMutableBufferPointer' to imported protocols 'Equatable', 'ExpressibleByArrayLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
24 |   public typealias ArrayLiteralElement=Element
25 |
/Users/admin/builder/spi-builder-workspace/Sources/BaseMath/Storage.swift:7:37: warning: initialization of 'UnsafeMutablePointer<Element>' results in a dangling pointer [#TemporaryPointers]
 5 |
 6 |   public func copy() -> Array { return (self as NSCopying).copy(with: nil) as! Array }
 7 |   public var p:MutPtrT {get {return UnsafeMutablePointer(mutating: self)}}
   |                                     |                              |- note: implicit argument conversion from 'Array<Element>' to 'UnsafePointer<Element>' produces a pointer valid only for the duration of the call to 'init(mutating:)'
   |                                     |                              `- note: use the 'withUnsafeBufferPointer' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope
   |                                     `- warning: initialization of 'UnsafeMutablePointer<Element>' results in a dangling pointer [#TemporaryPointers]
 8 | }
 9 |
[#TemporaryPointers]: <https://docs.swift.org/compiler/documentation/diagnostics/temporary-pointers>
[5/7] Compiling BaseMath BaseMath.swift
[6/7] Emitting module BaseMath
/Users/admin/builder/spi-builder-workspace/Sources/BaseMath/Storage.swift:23:1: warning: extension declares a conformance of imported type 'UnsafeMutableBufferPointer' to imported protocols 'Equatable', 'ExpressibleByArrayLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
21 | }
22 |
23 | extension UnsafeMutableBufferPointer: BaseVector,ExpressibleByArrayLiteral,Equatable where Element:SupportsBasicMath {
   | |- warning: extension declares a conformance of imported type 'UnsafeMutableBufferPointer' to imported protocols 'Equatable', 'ExpressibleByArrayLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
24 |   public typealias ArrayLiteralElement=Element
25 |
[7/7] Compiling BaseMath BaseVector.swift
Build complete! (3.80s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "BaseMath",
  "name" : "BaseMath",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "BaseMath",
      "targets" : [
        "BaseMath"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "CBaseMath",
      "module_type" : "ClangTarget",
      "name" : "CBaseMath",
      "path" : "Sources/CBaseMath",
      "product_memberships" : [
        "BaseMath"
      ],
      "sources" : [
        "CBaseMath.c"
      ],
      "type" : "library"
    },
    {
      "c99name" : "BaseMathTests",
      "module_type" : "SwiftTarget",
      "name" : "BaseMathTests",
      "path" : "Tests/BaseMathTests",
      "sources" : [
        "BaseMathTests.swift"
      ],
      "target_dependencies" : [
        "BaseMath"
      ],
      "type" : "test"
    },
    {
      "c99name" : "BaseMath",
      "module_type" : "SwiftTarget",
      "name" : "BaseMath",
      "path" : "Sources/BaseMath",
      "product_memberships" : [
        "BaseMath"
      ],
      "sources" : [
        "BaseMath.swift",
        "BaseVector.swift",
        "Storage.swift"
      ],
      "target_dependencies" : [
        "CBaseMath"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.2"
}
Done.