The Swift Package Index logo.Swift Package Index

Build Information

Successful build of xProcs, reference master (b87d29), with Swift 6.2 for macOS (SPM) on 18 Jun 2025 05:13:13 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/stefc/xprocs.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/stefc/xprocs
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at b87d29d make Result enum washable
Cloned https://github.com/stefc/xprocs.git
Revision (git rev-parse @):
b87d29d71eb3d1739ca6cc636e393821cab89124
SUCCESS checkout https://github.com/stefc/xprocs.git at master
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/stefc/xprocs.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-1EA4D86E10B52AF.txt
[3/8] Compiling xProcs StateMonad.swift
[4/8] Compiling xProcs StrFuncs.swift
[5/8] Compiling xProcs DecimalFuncs.swift
[6/8] Compiling xProcs HigherOrderFuncs.swift
/Users/admin/builder/spi-builder-workspace/Sources/xProcs/HigherOrderFuncs.swift:24:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Result' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
 22 |     case Future(id: Int, lhs:Result<V,A>, rhs:Result<V,A>, op: (Result<V,A>,Result<V,A>) -> A)
 23 |
 24 |     public var hashValue: Int {
    |                `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Result' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
 25 |         switch self {
 26 |         case .Done(let accu):
/Users/admin/builder/spi-builder-workspace/Sources/xProcs/HigherOrderFuncs.swift:28:24: warning: enum case 'Call' has 2 associated values
 19 | public indirect enum Result<V,A> : Hashable where V : Hashable, A : Hashable {
 20 |     case Done(A)
 21 |     case Call(V, A)
    |          `- note: 'Call' declared here
 22 |     case Future(id: Int, lhs:Result<V,A>, rhs:Result<V,A>, op: (Result<V,A>,Result<V,A>) -> A)
 23 |
    :
 26 |         case .Done(let accu):
 27 |             return accu.hashValue << 17 ^ 7
 28 |         case .Call(let (value,_)):
    |                        `- warning: enum case 'Call' has 2 associated values
 29 |             return value.hashValue << 19 ^ 5
 30 |         case .Future(let (id, _, _, _)):
/Users/admin/builder/spi-builder-workspace/Sources/xProcs/HigherOrderFuncs.swift:30:26: warning: enum case 'Future' has 4 associated values
 20 |     case Done(A)
 21 |     case Call(V, A)
 22 |     case Future(id: Int, lhs:Result<V,A>, rhs:Result<V,A>, op: (Result<V,A>,Result<V,A>) -> A)
    |          `- note: 'Future(id:lhs:rhs:op:)' declared here
 23 |
 24 |     public var hashValue: Int {
    :
 28 |         case .Call(let (value,_)):
 29 |             return value.hashValue << 19 ^ 5
 30 |         case .Future(let (id, _, _, _)):
    |                          `- warning: enum case 'Future' has 4 associated values
 31 |             return id.hashValue << 23 ^ 11
 32 |         }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[7/8] Compiling xProcs IntFuncs.swift
/Users/admin/builder/spi-builder-workspace/Sources/xProcs/IntFuncs.swift:84:24: warning: forming 'UnsafeMutableRawPointer' to a variable of type 'T'; this is likely incorrect because 'T' may contain an object reference.
 82 |     func arc4random<T: ExpressibleByIntegerLiteral>(_ type: T.Type) -> T {
 83 |         var r: T = 0
 84 |         arc4random_buf(&r, MemoryLayout<T>.size)
    |                        `- warning: forming 'UnsafeMutableRawPointer' to a variable of type 'T'; this is likely incorrect because 'T' may contain an object reference.
 85 |         return r
 86 |     }
[8/8] Emitting module xProcs
/Users/admin/builder/spi-builder-workspace/Sources/xProcs/HigherOrderFuncs.swift:24:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Result' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
 22 |     case Future(id: Int, lhs:Result<V,A>, rhs:Result<V,A>, op: (Result<V,A>,Result<V,A>) -> A)
 23 |
 24 |     public var hashValue: Int {
    |                `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Result' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
 25 |         switch self {
 26 |         case .Done(let accu):
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
Build complete! (3.54s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "xProcs",
  "name" : "xProcs",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "xProcs",
      "targets" : [
        "xProcs"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "xProcsTests",
      "module_type" : "SwiftTarget",
      "name" : "xProcsTests",
      "path" : "Tests/xProcsTests",
      "sources" : [
        "DecimalTests.swift",
        "HigherOrderTests.swift",
        "IntTests.swift",
        "StateTests.swift",
        "StrTests.swift"
      ],
      "target_dependencies" : [
        "xProcs"
      ],
      "type" : "test"
    },
    {
      "c99name" : "xProcs",
      "module_type" : "SwiftTarget",
      "name" : "xProcs",
      "path" : "Sources/xProcs",
      "product_memberships" : [
        "xProcs"
      ],
      "sources" : [
        "DecimalFuncs.swift",
        "HigherOrderFuncs.swift",
        "IntFuncs.swift",
        "StateMonad.swift",
        "StrFuncs.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.0"
}
Done.