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 FTPropertyWrappers, reference 2.0.0 (553872), with Swift 6.0 for macOS (SPM) on 28 Nov 2024 05:58:39 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/futuredapp/FTPropertyWrappers.git
Reference: 2.0.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/futuredapp/FTPropertyWrappers
 * tag               2.0.0      -> FETCH_HEAD
HEAD is now at 5538726 Merge pull request #43 from futuredapp/housekeep/add-deprecations
Cloned https://github.com/futuredapp/FTPropertyWrappers.git
Revision (git rev-parse @):
553872688413367ab945840143482fc49b4ebaf5
SUCCESS checkout https://github.com/futuredapp/FTPropertyWrappers.git at 2.0.0
========================================
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": "ftpropertywrappers",
      "name": "FTPropertyWrappers",
      "url": "https://github.com/futuredapp/FTPropertyWrappers.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/FTPropertyWrappers",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/futuredapp/FTPropertyWrappers.git
[1/982] Fetching ftpropertywrappers
Fetched https://github.com/futuredapp/FTPropertyWrappers.git from cache (1.14s)
Creating working copy for https://github.com/futuredapp/FTPropertyWrappers.git
Working copy of https://github.com/futuredapp/FTPropertyWrappers.git resolved at 2.0.0 (5538726)
warning: '.resolve-product-dependencies': dependency 'ftpropertywrappers' 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/futuredapp/FTPropertyWrappers.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/11] Compiling FTPropertyWrappers SingleValueKeychainItem.swift
[4/11] Compiling FTPropertyWrappers Serialized.swift
/Users/admin/builder/spi-builder-workspace/Sources/FTPropertyWrappers/Serialized.swift:74:13: warning: capture of 'self' with non-sendable type 'Serialized<Value>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 4 | @propertyWrapper
 5 | @available(swift, deprecated: 5.5, message: "Use actors instead")
 6 | public final class Serialized<Value> {
   |                    `- note: generic class 'Serialized' does not conform to the 'Sendable' protocol
 7 |
 8 |     /// Synchronization queue for the property. Read or write to the property must be perforimed on this queue
   :
72 |     public func asyncAccess(transform: @escaping (Value) -> Value) {
73 |         queue.async {
74 |             self.value = transform(self.value)
   |             `- warning: capture of 'self' with non-sendable type 'Serialized<Value>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
75 |         }
76 |     }
/Users/admin/builder/spi-builder-workspace/Sources/FTPropertyWrappers/Serialized.swift:74:26: warning: capture of 'transform' with non-sendable type '(Value) -> Value' in a `@Sendable` closure; this is an error in the Swift 6 language mode
72 |     public func asyncAccess(transform: @escaping (Value) -> Value) {
73 |         queue.async {
74 |             self.value = transform(self.value)
   |                          |- warning: capture of 'transform' with non-sendable type '(Value) -> Value' in a `@Sendable` closure; this is an error in the Swift 6 language mode
   |                          `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
75 |         }
76 |     }
[5/11] Compiling FTPropertyWrappers KeychainItemPropertyWrapper.swift
[6/11] Compiling FTPropertyWrappers KeychainEncoder.swift
[7/11] Compiling FTPropertyWrappers KeychainDecoder.swift
[8/11] Compiling FTPropertyWrappers InternetPassword.swift
[9/11] Emitting module FTPropertyWrappers
[10/11] Compiling FTPropertyWrappers GenericPassword.swift
[11/11] Compiling FTPropertyWrappers KeychainTypes.swift
Build complete! (9.76s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "FTPropertyWrappers",
  "name" : "FTPropertyWrappers",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "FTPropertyWrappers",
      "targets" : [
        "FTPropertyWrappers"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "FTPropertyWrappersTests",
      "module_type" : "SwiftTarget",
      "name" : "FTPropertyWrappersTests",
      "path" : "Tests/FTPropertyWrappersTests",
      "sources" : [
        "KeychainCoderTest.swift",
        "KeychainTests.swift",
        "SerializedTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "FTPropertyWrappers"
      ],
      "type" : "test"
    },
    {
      "c99name" : "FTPropertyWrappers",
      "module_type" : "SwiftTarget",
      "name" : "FTPropertyWrappers",
      "path" : "Sources/FTPropertyWrappers",
      "product_memberships" : [
        "FTPropertyWrappers"
      ],
      "sources" : [
        "GenericPassword.swift",
        "InternetPassword.swift",
        "Keychain - Support/KeychainDecoder.swift",
        "Keychain - Support/KeychainEncoder.swift",
        "Keychain - Support/KeychainItemPropertyWrapper.swift",
        "Keychain - Support/KeychainTypes.swift",
        "Keychain - Support/SingleValueKeychainItem.swift",
        "Serialized.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.1"
}
Done.