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 DSFValueBinders, reference main (8bbcac), with Swift 6.0 for macOS (SPM) on 1 Dec 2024 12:57:57 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.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/dagronf/DSFValueBinders.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/dagronf/DSFValueBinders
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 8bbcacd Fix issue where the binding value wasn't set correctly when first created
Cloned https://github.com/dagronf/DSFValueBinders.git
Revision (git rev-parse @):
8bbcacda087d1f0da384c8ad2fda061faabda3f1
SUCCESS checkout https://github.com/dagronf/DSFValueBinders.git at main
========================================
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": "dsfvaluebinders",
      "name": "DSFValueBinders",
      "url": "https://github.com/dagronf/DSFValueBinders.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/DSFValueBinders",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/dagronf/DSFValueBinders.git
[1/235] Fetching dsfvaluebinders
Fetched https://github.com/dagronf/DSFValueBinders.git from cache (0.75s)
Creating working copy for https://github.com/dagronf/DSFValueBinders.git
Working copy of https://github.com/dagronf/DSFValueBinders.git resolved at main (8bbcacd)
warning: '.resolve-product-dependencies': dependency 'dsfvaluebinders' 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/dagronf/DSFValueBinders.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "DSFValueBinders",
  "name" : "DSFValueBinders",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.11"
    },
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "DSFValueBinders",
      "targets" : [
        "DSFValueBinders"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "DSFValueBinders-static",
      "targets" : [
        "DSFValueBinders"
      ],
      "type" : {
        "library" : [
          "static"
        ]
      }
    },
    {
      "name" : "DSFValueBinders-shared",
      "targets" : [
        "DSFValueBinders"
      ],
      "type" : {
        "library" : [
          "dynamic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "DSFValueBindersTests",
      "module_type" : "SwiftTarget",
      "name" : "DSFValueBindersTests",
      "path" : "Tests/DSFValueBindersTests",
      "sources" : [
        "DSFValueBindersTests.swift",
        "DSFValueBindersTransformTests.swift",
        "PropertyWrapperTests.swift",
        "Utils.swift"
      ],
      "target_dependencies" : [
        "DSFValueBinders"
      ],
      "type" : "test"
    },
    {
      "c99name" : "DSFValueBinders",
      "module_type" : "SwiftTarget",
      "name" : "DSFValueBinders",
      "path" : "Sources/DSFValueBinders",
      "product_memberships" : [
        "DSFValueBinders",
        "DSFValueBinders-static",
        "DSFValueBinders-shared"
      ],
      "sources" : [
        "CombiningValueBinder.swift",
        "DSFValueBinders.swift",
        "EnumKeyPathBinder.swift",
        "KeyPathBinder.swift",
        "PropertyWrapper.swift",
        "ValueBinder+transform.swift",
        "ValueBinder+transformers.swift",
        "ValueBinder.swift",
        "private/ValueBinder+Binding.swift",
        "private/WrappedPublisher.swift",
        "utils/SemLock.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.4"
}
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/6] Write sources
[1/6] Write swift-version--7754E27361AE5C74.txt
[3/17] Compiling DSFValueBinders ValueBinder.swift
[4/17] Compiling DSFValueBinders ValueBinder+Binding.swift
[5/17] Emitting module DSFValueBinders
[6/17] Compiling DSFValueBinders CombiningValueBinder.swift
[7/17] Compiling DSFValueBinders DSFValueBinders.swift
[8/17] Compiling DSFValueBinders PropertyWrapper.swift
[9/18] Compiling DSFValueBinders EnumKeyPathBinder.swift
/Users/admin/builder/spi-builder-workspace/Sources/DSFValueBinders/EnumKeyPathBinder.swift:94:5: warning: capture of 'self' with non-sendable type 'EnumKeyPathBinder<ClassType, ValueType>?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 47 | /// > new value is NSToolbarSizeMode(rawValue: 1)
 48 | /// ```
 49 | public class EnumKeyPathBinder<ClassType: NSObject, ValueType: RawRepresentable>: ValueBinder<ValueType> {
    |              `- note: generic class 'EnumKeyPathBinder' does not conform to the 'Sendable' protocol
 50 | 	/// Create a key path binding object for an enum value
 51 | 	/// - Parameters:
    :
 92 | 				let newValue = ValueType(rawValue: raw)
 93 | 			{
 94 | 				self?.kvoUpdate(newValue)
    |     `- warning: capture of 'self' with non-sendable type 'EnumKeyPathBinder<ClassType, ValueType>?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 95 | 			}
 96 | 		}
[10/18] Compiling DSFValueBinders ValueBinder+transformers.swift
[11/18] Compiling DSFValueBinders KeyPathBinder.swift
/Users/admin/builder/spi-builder-workspace/Sources/DSFValueBinders/KeyPathBinder.swift:88:4: warning: capture of 'self' with non-sendable type 'KeyPathBinder<ClassType, ValueType>?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 47 | /// > new value is 1024.56
 48 | /// ```
 49 | public class KeyPathBinder<ClassType: NSObject, ValueType: Any>: ValueBinder<ValueType> {
    |              `- note: generic class 'KeyPathBinder' does not conform to the 'Sendable' protocol
 50 | 	/// Create a key path binding object
 51 | 	/// - Parameters:
    :
 86 | 		// Start listening for kvo changes
 87 | 		self.kvoObservation = object.observe(keyPath, options: [.new]) { [weak self] _, value in
 88 | 			self?.kvoUpdate(value)
    |    `- warning: capture of 'self' with non-sendable type 'KeyPathBinder<ClassType, ValueType>?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 89 | 		}
 90 | 	}
[12/18] Compiling DSFValueBinders WrappedPublisher.swift
[13/18] Compiling DSFValueBinders ValueBinder+transform.swift
[14/18] Compiling DSFValueBinders SemLock.swift
[14/18] Write Objects.LinkFileList
[16/18] Archiving libDSFValueBinders-static.a
[17/18] Linking libDSFValueBinders-shared.dylib
Build complete! (16.52s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "DSFValueBinders",
  "name" : "DSFValueBinders",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.11"
    },
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "DSFValueBinders",
      "targets" : [
        "DSFValueBinders"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "DSFValueBinders-static",
      "targets" : [
        "DSFValueBinders"
      ],
      "type" : {
        "library" : [
          "static"
        ]
      }
    },
    {
      "name" : "DSFValueBinders-shared",
      "targets" : [
        "DSFValueBinders"
      ],
      "type" : {
        "library" : [
          "dynamic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "DSFValueBindersTests",
      "module_type" : "SwiftTarget",
      "name" : "DSFValueBindersTests",
      "path" : "Tests/DSFValueBindersTests",
      "sources" : [
        "DSFValueBindersTests.swift",
        "DSFValueBindersTransformTests.swift",
        "PropertyWrapperTests.swift",
        "Utils.swift"
      ],
      "target_dependencies" : [
        "DSFValueBinders"
      ],
      "type" : "test"
    },
    {
      "c99name" : "DSFValueBinders",
      "module_type" : "SwiftTarget",
      "name" : "DSFValueBinders",
      "path" : "Sources/DSFValueBinders",
      "product_memberships" : [
        "DSFValueBinders",
        "DSFValueBinders-static",
        "DSFValueBinders-shared"
      ],
      "sources" : [
        "CombiningValueBinder.swift",
        "DSFValueBinders.swift",
        "EnumKeyPathBinder.swift",
        "KeyPathBinder.swift",
        "PropertyWrapper.swift",
        "ValueBinder+transform.swift",
        "ValueBinder+transformers.swift",
        "ValueBinder.swift",
        "private/ValueBinder+Binding.swift",
        "private/WrappedPublisher.swift",
        "utils/SemLock.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.4"
}
Done.