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 ValidatedPropertyKit, reference 0.0.7 (2e679b), with Swift 6.0 for macOS (SPM) on 2 Nov 2024 21:26:02 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

Build Log

========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/SvenTiigi/ValidatedPropertyKit.git
Reference: 0.0.7
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/SvenTiigi/ValidatedPropertyKit
 * tag               0.0.7      -> FETCH_HEAD
HEAD is now at 2e679bf Make setter nonmutating
Cloned https://github.com/SvenTiigi/ValidatedPropertyKit.git
Revision (git rev-parse @):
2e679bf96ef8b692c6b10cb01e143fd86e36f58f
SUCCESS checkout https://github.com/SvenTiigi/ValidatedPropertyKit.git at 0.0.7
========================================
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": "validatedpropertykit",
      "name": "ValidatedPropertyKit",
      "url": "https://github.com/SvenTiigi/ValidatedPropertyKit.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/ValidatedPropertyKit",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/SvenTiigi/ValidatedPropertyKit.git
[1/689] Fetching validatedpropertykit
Fetched https://github.com/SvenTiigi/ValidatedPropertyKit.git from cache (0.99s)
Creating working copy for https://github.com/SvenTiigi/ValidatedPropertyKit.git
Working copy of https://github.com/SvenTiigi/ValidatedPropertyKit.git resolved at 0.0.7 (2e679bf)
warning: '.resolve-product-dependencies': dependency 'validatedpropertykit' 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/SvenTiigi/ValidatedPropertyKit.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
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--7754E27361AE5C74.txt
[3/16] Compiling ValidatedPropertyKit Validation+LogicalOperators.swift
[4/17] Compiling ValidatedPropertyKit Validation+ComparisonOperators.swift
[5/17] Compiling ValidatedPropertyKit Validation+Constant.swift
[6/17] Compiling ValidatedPropertyKit Validation+String.swift
[7/17] Compiling ValidatedPropertyKit Validation+Sequence.swift
[8/17] Compiling ValidatedPropertyKit Validation+KeyPath.swift
[9/17] Compiling ValidatedPropertyKit Validation+Equatable.swift
[10/17] Compiling ValidatedPropertyKit Validation.swift
[11/17] Compiling ValidatedPropertyKit Validation+Collection.swift
[12/17] Compiling ValidatedPropertyKit Validation+Comparable.swift
[13/17] Compiling ValidatedPropertyKit Validated.swift
/Users/admin/builder/spi-builder-workspace/Sources/Validated.swift:47:17: warning: capture of 'self' with non-sendable type 'Validated<Value>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
  5 | /// A Validated PropertyWrapper
  6 | @propertyWrapper
  7 | public struct Validated<Value>: Validatable, DynamicProperty {
    |               `- note: consider making generic struct 'Validated' conform to the 'Sendable' protocol
  8 |
  9 |     // MARK: Properties
    :
 45 |         .init(
 46 |             get: {
 47 |                 self.value
    |                 `- warning: capture of 'self' with non-sendable type 'Validated<Value>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 48 |             },
 49 |             set: { newValue in
/Users/admin/builder/spi-builder-workspace/Sources/Validated.swift:50:17: warning: capture of 'self' with non-sendable type 'Validated<Value>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
  5 | /// A Validated PropertyWrapper
  6 | @propertyWrapper
  7 | public struct Validated<Value>: Validatable, DynamicProperty {
    |               `- note: consider making generic struct 'Validated' conform to the 'Sendable' protocol
  8 |
  9 |     // MARK: Properties
    :
 48 |             },
 49 |             set: { newValue in
 50 |                 self.value = newValue
    |                 `- warning: capture of 'self' with non-sendable type 'Validated<Value>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 51 |                 if !self.hasChanges {
 52 |                     self.hasChanges.toggle()
[14/17] Compiling ValidatedPropertyKit Validation+BinaryInteger.swift
/Users/admin/builder/spi-builder-workspace/Sources/Validated.swift:47:17: warning: capture of 'self' with non-sendable type 'Validated<Value>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
  5 | /// A Validated PropertyWrapper
  6 | @propertyWrapper
  7 | public struct Validated<Value>: Validatable, DynamicProperty {
    |               `- note: consider making generic struct 'Validated' conform to the 'Sendable' protocol
  8 |
  9 |     // MARK: Properties
    :
 45 |         .init(
 46 |             get: {
 47 |                 self.value
    |                 `- warning: capture of 'self' with non-sendable type 'Validated<Value>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 48 |             },
 49 |             set: { newValue in
/Users/admin/builder/spi-builder-workspace/Sources/Validated.swift:50:17: warning: capture of 'self' with non-sendable type 'Validated<Value>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
  5 | /// A Validated PropertyWrapper
  6 | @propertyWrapper
  7 | public struct Validated<Value>: Validatable, DynamicProperty {
    |               `- note: consider making generic struct 'Validated' conform to the 'Sendable' protocol
  8 |
  9 |     // MARK: Properties
    :
 48 |             },
 49 |             set: { newValue in
 50 |                 self.value = newValue
    |                 `- warning: capture of 'self' with non-sendable type 'Validated<Value>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 51 |                 if !self.hasChanges {
 52 |                     self.hasChanges.toggle()
[15/17] Compiling ValidatedPropertyKit View+validated.swift
[16/17] Compiling ValidatedPropertyKit Validatable.swift
[17/17] Emitting module ValidatedPropertyKit
Build complete! (18.57s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "ValidatedPropertyKit",
  "name" : "ValidatedPropertyKit",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    },
    {
      "name" : "watchos",
      "version" : "6.0"
    },
    {
      "name" : "macos",
      "version" : "10.15"
    }
  ],
  "products" : [
    {
      "name" : "ValidatedPropertyKit",
      "targets" : [
        "ValidatedPropertyKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "ValidatedPropertyKitTests",
      "module_type" : "SwiftTarget",
      "name" : "ValidatedPropertyKitTests",
      "path" : "Tests",
      "sources" : [
        "ValidationCollectionTests.swift",
        "ValidationComparableTests.swift",
        "ValidationEquatableTests.swift",
        "ValidationSequenceTests.swift",
        "ValidationStringTests.swift"
      ],
      "target_dependencies" : [
        "ValidatedPropertyKit"
      ],
      "type" : "test"
    },
    {
      "c99name" : "ValidatedPropertyKit",
      "module_type" : "SwiftTarget",
      "name" : "ValidatedPropertyKit",
      "path" : "Sources",
      "product_memberships" : [
        "ValidatedPropertyKit"
      ],
      "sources" : [
        "SwiftUI/View+validated.swift",
        "Validatable/Validatable.swift",
        "Validated.swift",
        "Validation/Validation+BinaryInteger.swift",
        "Validation/Validation+Collection.swift",
        "Validation/Validation+Comparable.swift",
        "Validation/Validation+ComparisonOperators.swift",
        "Validation/Validation+Constant.swift",
        "Validation/Validation+Equatable.swift",
        "Validation/Validation+KeyPath.swift",
        "Validation/Validation+LogicalOperators.swift",
        "Validation/Validation+Sequence.swift",
        "Validation/Validation+String.swift",
        "Validation/Validation.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.3"
}
Done.