This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.

The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Successful build of FunctionTools with Swift 6.0 for macOS (SPM).

Swift 6 data race errors: 1

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/RougeWare/Swift-Function-Tools.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/RougeWare/Swift-Function-Tools
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
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 master
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $workDir
https://github.com/RougeWare/Swift-Function-Tools.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/6] Write sources
[1/6] Write swift-version-6F35C1178C84523A.txt
[3/15] Compiling FunctionTools Null functions.swift
[4/15] Compiling FunctionTools Function types.swift
[5/15] Compiling FunctionTools Echo.swift
[6/15] Compiling FunctionTools Constant.swift
[7/15] Compiling FunctionTools !.swift
[8/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 non-isolated 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 non-isolated 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: annotate 'blackholeAcceptor' with '@MainActor' if property should only be accessed from the main actor
   |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |     didSet {
14 |         blackholeAcceptor = nil
[9/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 non-isolated 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 non-isolated 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: annotate 'blackholeAcceptor' with '@MainActor' if property should only be accessed from the main actor
   |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |     didSet {
14 |         blackholeAcceptor = nil
[10/15] Compiling FunctionTools Curry.swift
[11/15] Compiling FunctionTools Call.swift
[11/15] Write Objects.LinkFileList
[13/15] Linking libFunctionTools_dynamic.dylib
[14/15] Linking libFunctionToolsDynamic.dylib
Build complete! (22.54s)
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.
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.