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 ReadWriteLock, reference 1.0.3 (98a435), with Swift 6.0 for macOS (SPM) on 28 Nov 2024 07:25:54 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.1.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.58.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/SomeRandomiOSDev/ReadWriteLock.git
Reference: 1.0.3
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/SomeRandomiOSDev/ReadWriteLock
 * tag               1.0.3      -> FETCH_HEAD
HEAD is now at 98a435b Merge pull request #6 from SomeRandomiOSDev/Modernize
Cloned https://github.com/SomeRandomiOSDev/ReadWriteLock.git
Revision (git rev-parse @):
98a435b60dfcb35bb58b739935392912e899ae2a
SUCCESS checkout https://github.com/SomeRandomiOSDev/ReadWriteLock.git at 1.0.3
========================================
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": "readwritelock",
      "name": "ReadWriteLock",
      "url": "https://github.com/SomeRandomiOSDev/ReadWriteLock.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/ReadWriteLock",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/SomeRandomiOSDev/ReadWriteLock.git
[1/143] Fetching readwritelock
Fetched https://github.com/SomeRandomiOSDev/ReadWriteLock.git from cache (0.72s)
Creating working copy for https://github.com/SomeRandomiOSDev/ReadWriteLock.git
Working copy of https://github.com/SomeRandomiOSDev/ReadWriteLock.git resolved at 1.0.3 (98a435b)
warning: '.resolve-product-dependencies': dependency 'readwritelock' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/SomeRandomiOSDev/ReadWriteLock.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.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/2] Write sources
[1/2] Write swift-version--7754E27361AE5C74.txt
[3/5] Compiling ReadWriteLock ReadWriteLock.swift
[4/5] Emitting module ReadWriteLock
[5/5] Compiling ReadWriteLock ReadWriteAtomic.swift
/Users/admin/builder/spi-builder-workspace/Sources/ReadWriteLock/ReadWriteAtomic.swift:57:48: warning: converting non-sendable function value to '@isolated(any) @Sendable () -> Value' may introduce data races
 55 |         @available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *)
 56 |         public var binding: SwiftUI.Binding<Value> {
 57 |             return SwiftUI.Binding<Value>(get: getter, set: setter)
    |                                                `- warning: converting non-sendable function value to '@isolated(any) @Sendable () -> Value' may introduce data races
 58 |         }
 59 |         #endif // #if canImport(SwiftUI) && (!os(iOS) || !arch(arm))
/Users/admin/builder/spi-builder-workspace/Sources/ReadWriteLock/ReadWriteAtomic.swift:57:61: warning: converting non-sendable function value to '@isolated(any) @Sendable (Value) -> Void' may introduce data races
 55 |         @available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *)
 56 |         public var binding: SwiftUI.Binding<Value> {
 57 |             return SwiftUI.Binding<Value>(get: getter, set: setter)
    |                                                             `- warning: converting non-sendable function value to '@isolated(any) @Sendable (Value) -> Void' may introduce data races
 58 |         }
 59 |         #endif // #if canImport(SwiftUI) && (!os(iOS) || !arch(arm))
Build complete! (10.70s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "ReadWriteLock",
  "name" : "ReadWriteLock",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "9.0"
    },
    {
      "name" : "macos",
      "version" : "10.10"
    },
    {
      "name" : "tvos",
      "version" : "9.0"
    },
    {
      "name" : "watchos",
      "version" : "2.0"
    }
  ],
  "products" : [
    {
      "name" : "ReadWriteLock",
      "targets" : [
        "ReadWriteLock"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "5"
  ],
  "targets" : [
    {
      "c99name" : "ReadWriteLockTests",
      "module_type" : "SwiftTarget",
      "name" : "ReadWriteLockTests",
      "path" : "Tests/ReadWriteLockTests",
      "sources" : [
        "ReadWriteAtomicTests.swift",
        "ReadWriteLockTests.swift"
      ],
      "target_dependencies" : [
        "ReadWriteLock"
      ],
      "type" : "test"
    },
    {
      "c99name" : "ReadWriteLock",
      "module_type" : "SwiftTarget",
      "name" : "ReadWriteLock",
      "path" : "Sources/ReadWriteLock",
      "product_memberships" : [
        "ReadWriteLock"
      ],
      "sources" : [
        "ReadWriteAtomic.swift",
        "ReadWriteLock.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.0"
}
Done.