The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Successful build of FunctionTools, reference 1.2.4 (a854f4), with Swift 6.1 for macOS (SPM) on 27 Apr 2025 22:36:52 UTC.

Swift 6 data race errors: 1

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/RougeWare/Swift-Function-Tools.git
Reference: 1.2.4
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/RougeWare/Swift-Function-Tools
 * tag               1.2.4      -> FETCH_HEAD
HEAD is now at a854f4e Merge pull request #20 from RougeWare/feature/13-publicize-curry
Cloned https://github.com/RougeWare/Swift-Function-Tools.git
Revision (git rev-parse @):
a854f4ed89b7e404019b5a09d24e067acc15432d
SUCCESS checkout https://github.com/RougeWare/Swift-Function-Tools.git at 1.2.4
========================================
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": "swift-function-tools",
      "name": "FunctionTools",
      "url": "https://github.com/RougeWare/Swift-Function-Tools.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Swift-Function-Tools",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/RougeWare/Swift-Function-Tools.git
[1/121] Fetching swift-function-tools
Fetched https://github.com/RougeWare/Swift-Function-Tools.git from cache (0.58s)
Creating working copy for https://github.com/RougeWare/Swift-Function-Tools.git
Working copy of https://github.com/RougeWare/Swift-Function-Tools.git resolved at 1.2.4 (a854f4e)
warning: '.resolve-product-dependencies': dependency 'swift-function-tools' 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/RougeWare/Swift-Function-Tools.git
https://github.com/RougeWare/Swift-Function-Tools.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "FunctionTools",
  "name" : "FunctionTools",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "FunctionTools",
      "targets" : [
        "FunctionTools"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "FunctionTools_dynamic",
      "targets" : [
        "FunctionTools"
      ],
      "type" : {
        "library" : [
          "dynamic"
        ]
      }
    },
    {
      "name" : "FunctionToolsDynamic",
      "targets" : [
        "FunctionTools"
      ],
      "type" : {
        "library" : [
          "dynamic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "FunctionToolsTests",
      "module_type" : "SwiftTarget",
      "name" : "FunctionToolsTests",
      "path" : "Tests/FunctionToolsTests",
      "sources" : [
        "! Tests.swift",
        "XCTestManifests.swift",
        "curry Tests.swift"
      ],
      "target_dependencies" : [
        "FunctionTools"
      ],
      "type" : "test"
    },
    {
      "c99name" : "FunctionTools",
      "module_type" : "SwiftTarget",
      "name" : "FunctionTools",
      "path" : "Sources/FunctionTools",
      "product_memberships" : [
        "FunctionTools",
        "FunctionTools_dynamic",
        "FunctionToolsDynamic"
      ],
      "sources" : [
        "!.swift",
        "Blackholes.swift",
        "Call.swift",
        "Constant.swift",
        "Curry.swift",
        "Echo.swift",
        "Function types.swift",
        "Null functions.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.2"
}
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/6] Write sources
[1/6] Write swift-version-2F0A5646E1D333AE.txt
[3/15] Compiling FunctionTools Null functions.swift
[4/15] Compiling FunctionTools Function types.swift
[5/15] Compiling FunctionTools Curry.swift
[6/15] Compiling FunctionTools Call.swift
[7/15] Compiling FunctionTools Blackholes.swift
/Users/admin/builder/spi-builder-workspace/Sources/FunctionTools/Blackholes.swift:12:13: warning: var 'blackholeAcceptor' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | /// This guarantees that even the most scrutinous of optimizers will never optimize-away these blackholes
12 | private var blackholeAcceptor: Any? {
   |             |- warning: var 'blackholeAcceptor' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |             |- note: convert 'blackholeAcceptor' to a 'let' constant to make 'Sendable' shared state immutable
   |             |- note: add '@MainActor' to make var 'blackholeAcceptor' part of global actor 'MainActor'
   |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |     didSet {
14 |         blackholeAcceptor = nil
[8/15] Compiling FunctionTools Constant.swift
[9/15] Compiling FunctionTools Echo.swift
[10/15] Compiling FunctionTools !.swift
[11/15] Emitting module FunctionTools
/Users/admin/builder/spi-builder-workspace/Sources/FunctionTools/Blackholes.swift:12:13: warning: var 'blackholeAcceptor' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | /// This guarantees that even the most scrutinous of optimizers will never optimize-away these blackholes
12 | private var blackholeAcceptor: Any? {
   |             |- warning: var 'blackholeAcceptor' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |             |- note: convert 'blackholeAcceptor' to a 'let' constant to make 'Sendable' shared state immutable
   |             |- note: add '@MainActor' to make var 'blackholeAcceptor' part of global actor 'MainActor'
   |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |     didSet {
14 |         blackholeAcceptor = nil
[11/15] Write Objects.LinkFileList
[13/15] Linking libFunctionToolsDynamic.dylib
[14/15] Linking libFunctionTools_dynamic.dylib
Build complete! (5.21s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "FunctionTools",
  "name" : "FunctionTools",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "FunctionTools",
      "targets" : [
        "FunctionTools"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "FunctionTools_dynamic",
      "targets" : [
        "FunctionTools"
      ],
      "type" : {
        "library" : [
          "dynamic"
        ]
      }
    },
    {
      "name" : "FunctionToolsDynamic",
      "targets" : [
        "FunctionTools"
      ],
      "type" : {
        "library" : [
          "dynamic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "FunctionToolsTests",
      "module_type" : "SwiftTarget",
      "name" : "FunctionToolsTests",
      "path" : "Tests/FunctionToolsTests",
      "sources" : [
        "! Tests.swift",
        "XCTestManifests.swift",
        "curry Tests.swift"
      ],
      "target_dependencies" : [
        "FunctionTools"
      ],
      "type" : "test"
    },
    {
      "c99name" : "FunctionTools",
      "module_type" : "SwiftTarget",
      "name" : "FunctionTools",
      "path" : "Sources/FunctionTools",
      "product_memberships" : [
        "FunctionTools",
        "FunctionTools_dynamic",
        "FunctionToolsDynamic"
      ],
      "sources" : [
        "!.swift",
        "Blackholes.swift",
        "Call.swift",
        "Constant.swift",
        "Curry.swift",
        "Echo.swift",
        "Function types.swift",
        "Null functions.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.2"
}
Done.