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 Delegated with Swift 6.0 for macOS (SPM).

Swift 6 data race errors: 0

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/dreymonde/Delegated.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/dreymonde/Delegated
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at dd9404b add delegateCount to MultipleDelegated
Cloned https://github.com/dreymonde/Delegated.git
Revision (git rev-parse @):
dd9404b8345c413b5b6987abace615392b3595f6
SUCCESS checkout https://github.com/dreymonde/Delegated.git at master
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $workDir
https://github.com/dreymonde/Delegated.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/2] Write sources
[1/2] Write swift-version-6F35C1178C84523A.txt
[3/4] Compiling Delegated Delegated.swift
/Users/admin/builder/spi-builder-workspace/Sources/Delegated/Delegated.swift:511:28: warning: capture of 'delegation' with non-sendable type 'KeyPath<Target, Delegated1<Target>>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
509 |     func pipe<Target: AnyObject>(via target: Target, to delegation: KeyPath<Target, Delegated1<Target>>) {
510 |         self.delegate(to: target) { (target, _) in
511 |            target[keyPath: delegation].wrappedValue(target)
    |                            `- warning: capture of 'delegation' with non-sendable type 'KeyPath<Target, Delegated1<Target>>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
512 |         }
513 |     }
Swift.KeyPath:1:14: note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
1 | public class KeyPath<Root, Value> : PartialKeyPath<Root> {
  |              `- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
2 |     deinit
3 | }
[4/4] Emitting module Delegated
Build complete! (3.24s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Delegated",
  "name" : "Delegated",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "Delegated",
      "targets" : [
        "Delegated"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "DelegatedTests",
      "module_type" : "SwiftTarget",
      "name" : "DelegatedTests",
      "path" : "Tests/DelegatedTests",
      "sources" : [
        "DelegatedTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "Delegated"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Delegated",
      "module_type" : "SwiftTarget",
      "name" : "Delegated",
      "path" : "Sources/Delegated",
      "product_memberships" : [
        "Delegated"
      ],
      "sources" : [
        "Delegated.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.0"
}
Done.
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.