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 AsyncOperations, reference 0.1.0 (a4abbc), with Swift 6.1 for macOS (SPM) on 30 Apr 2025 06:56:54 UTC.

Swift 6 data race errors: 0

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.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Frizlab/AsyncOperations.git
Reference: 0.1.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/Frizlab/AsyncOperations
 * tag               0.1.0      -> FETCH_HEAD
HEAD is now at a4abbc7 Initial commit
Cloned https://github.com/Frizlab/AsyncOperations.git
Revision (git rev-parse @):
a4abbc7b46cb86f805e07dce9fff9b43911ee3f8
SUCCESS checkout https://github.com/Frizlab/AsyncOperations.git at 0.1.0
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/Frizlab/AsyncOperations.git
https://github.com/Frizlab/AsyncOperations.git
{
  "dependencies" : [
    {
      "identity" : "retryingoperation",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.1.7",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/happn-tech/RetryingOperation.git"
    }
  ],
  "manifest_display_name" : "AsyncOperations",
  "name" : "AsyncOperations",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "12.0"
    },
    {
      "name" : "ios",
      "version" : "15.0"
    },
    {
      "name" : "tvos",
      "version" : "15.0"
    },
    {
      "name" : "watchos",
      "version" : "8.0"
    }
  ],
  "products" : [
    {
      "name" : "AsyncOperations",
      "targets" : [
        "AsyncOperations"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "AsyncOperationsTests",
      "module_type" : "SwiftTarget",
      "name" : "AsyncOperationsTests",
      "path" : "Tests/AsyncOperationsTests",
      "sources" : [
        "AsyncOperationsTests.swift"
      ],
      "target_dependencies" : [
        "AsyncOperations"
      ],
      "type" : "test"
    },
    {
      "c99name" : "AsyncOperations",
      "module_type" : "SwiftTarget",
      "name" : "AsyncOperations",
      "path" : "Sources/AsyncOperations",
      "product_dependencies" : [
        "RetryingOperation"
      ],
      "product_memberships" : [
        "AsyncOperations"
      ],
      "sources" : [
        "AsyncBlockOperation.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.5"
}
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/4] Write sources
[3/4] Write swift-version-2F0A5646E1D333AE.txt
[5/9] Compiling Logging MetadataProvider.swift
[6/9] Emitting module Logging
[7/9] Compiling Logging Locks.swift
[8/9] Compiling Logging LogHandler.swift
[9/9] Compiling Logging Logging.swift
[10/14] Compiling RetryingOperation WrappedRetryingOperation.swift
[11/14] Compiling RetryingOperation RetryHelper.swift
[12/14] Compiling RetryingOperation RetryingOperationConfig.swift
[13/14] Emitting module RetryingOperation
[14/14] Compiling RetryingOperation RetryingOperation.swift
[15/16] Emitting module AsyncOperations
/Users/admin/builder/spi-builder-workspace/Sources/AsyncOperations/AsyncBlockOperation.swift:12:14: warning: class 'AsyncBlockOperation' must restate inherited '@unchecked Sendable' conformance
10 |
11 |  See ``addAsyncBlock(startHandler:)`` in the OperationQueue extension for more information. */
12 | public class AsyncBlockOperation : RetryingOperation {
   |              `- warning: class 'AsyncBlockOperation' must restate inherited '@unchecked Sendable' conformance
13 |
14 | 	public typealias StartHandler = (_ stopHandler: @escaping () -> Void) -> Void
[16/16] Compiling AsyncOperations AsyncBlockOperation.swift
/Users/admin/builder/spi-builder-workspace/Sources/AsyncOperations/AsyncBlockOperation.swift:12:14: warning: class 'AsyncBlockOperation' must restate inherited '@unchecked Sendable' conformance
10 |
11 |  See ``addAsyncBlock(startHandler:)`` in the OperationQueue extension for more information. */
12 | public class AsyncBlockOperation : RetryingOperation {
   |              `- warning: class 'AsyncBlockOperation' must restate inherited '@unchecked Sendable' conformance
13 |
14 | 	public typealias StartHandler = (_ stopHandler: @escaping () -> Void) -> Void
/Users/admin/builder/spi-builder-workspace/Sources/AsyncOperations/AsyncBlockOperation.swift:22:8: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
20 | 	public init(asyncBlock: @escaping () async -> Void) {
21 | 		startHandler = { stopHandler in
22 | 			Task{
   |        `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
23 | 				await asyncBlock()
   |           `- note: closure captures 'asyncBlock' which is accessible to code in the current task
24 | 				stopHandler()
25 | 			}
Build complete! (11.09s)
Fetching https://github.com/happn-tech/RetryingOperation.git
[1/395] Fetching retryingoperation
Fetched https://github.com/happn-tech/RetryingOperation.git from cache (0.70s)
Computing version for https://github.com/happn-tech/RetryingOperation.git
Computed https://github.com/happn-tech/RetryingOperation.git at 1.1.8 (1.28s)
Fetching https://github.com/apple/swift-log.git from cache
Fetched https://github.com/apple/swift-log.git from cache (0.64s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (1.13s)
Creating working copy for https://github.com/happn-tech/RetryingOperation.git
Working copy of https://github.com/happn-tech/RetryingOperation.git resolved at 1.1.8
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.3
Build complete.
{
  "dependencies" : [
    {
      "identity" : "retryingoperation",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.1.7",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/happn-tech/RetryingOperation.git"
    }
  ],
  "manifest_display_name" : "AsyncOperations",
  "name" : "AsyncOperations",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "12.0"
    },
    {
      "name" : "ios",
      "version" : "15.0"
    },
    {
      "name" : "tvos",
      "version" : "15.0"
    },
    {
      "name" : "watchos",
      "version" : "8.0"
    }
  ],
  "products" : [
    {
      "name" : "AsyncOperations",
      "targets" : [
        "AsyncOperations"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "AsyncOperationsTests",
      "module_type" : "SwiftTarget",
      "name" : "AsyncOperationsTests",
      "path" : "Tests/AsyncOperationsTests",
      "sources" : [
        "AsyncOperationsTests.swift"
      ],
      "target_dependencies" : [
        "AsyncOperations"
      ],
      "type" : "test"
    },
    {
      "c99name" : "AsyncOperations",
      "module_type" : "SwiftTarget",
      "name" : "AsyncOperations",
      "path" : "Sources/AsyncOperations",
      "product_dependencies" : [
        "RetryingOperation"
      ],
      "product_memberships" : [
        "AsyncOperations"
      ],
      "sources" : [
        "AsyncBlockOperation.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.5"
}
Done.