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 BindBackstop, reference 1.0.0 (dfd678), with Swift 6.0 for macOS (SPM) on 2 Nov 2024 11:51:59 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/fcanas/BindBackstop.git
Reference: 1.0.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/fcanas/BindBackstop
 * tag               1.0.0      -> FETCH_HEAD
HEAD is now at dfd678a Initial commit
Cloned https://github.com/fcanas/BindBackstop.git
Revision (git rev-parse @):
dfd678a12e5ab2f3b5d53de8311138a9ef817ec4
SUCCESS checkout https://github.com/fcanas/BindBackstop.git at 1.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": "bindbackstop",
      "name": "BindBackstop",
      "url": "https://github.com/fcanas/BindBackstop.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/BindBackstop",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/fcanas/BindBackstop.git
[1/30] Fetching bindbackstop
Fetched https://github.com/fcanas/BindBackstop.git from cache (0.57s)
Creating working copy for https://github.com/fcanas/BindBackstop.git
Working copy of https://github.com/fcanas/BindBackstop.git resolved at 1.0.0 (dfd678a)
warning: '.resolve-product-dependencies': dependency 'bindbackstop' 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/fcanas/BindBackstop.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/4] Emitting module BindBackstop
[4/4] Compiling BindBackstop BindBackstop.swift
/Users/admin/builder/spi-builder-workspace/Sources/BindBackstop/BindBackstop.swift:6:20: warning: capture of 'source' with non-sendable type 'Binding<Value?>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 4 |     init(_ source: Binding<Value?>, _ defaultValue: Value) {
 5 |         self.init(get: { () -> Value in
 6 |             return source.wrappedValue ?? defaultValue
   |                    `- warning: capture of 'source' with non-sendable type 'Binding<Value?>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 7 |         }) { (value) in
 8 |             source.wrappedValue = value
/Users/admin/builder/spi-builder-workspace/Sources/BindBackstop/BindBackstop.swift:6:43: warning: capture of 'defaultValue' with non-sendable type 'Value' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 4 |     init(_ source: Binding<Value?>, _ defaultValue: Value) {
 5 |         self.init(get: { () -> Value in
 6 |             return source.wrappedValue ?? defaultValue
   |                                           `- warning: capture of 'defaultValue' with non-sendable type 'Value' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 7 |         }) { (value) in
 8 |             source.wrappedValue = value
/Users/admin/builder/spi-builder-workspace/Sources/BindBackstop/BindBackstop.swift:6:43: warning: implicit capture of 'defaultValue' requires that 'Value' conforms to `Sendable`; this is an error in the Swift 6 language mode
 4 |     init(_ source: Binding<Value?>, _ defaultValue: Value) {
 5 |         self.init(get: { () -> Value in
 6 |             return source.wrappedValue ?? defaultValue
   |                                           `- warning: implicit capture of 'defaultValue' requires that 'Value' conforms to `Sendable`; this is an error in the Swift 6 language mode
 7 |         }) { (value) in
 8 |             source.wrappedValue = value
/Users/admin/builder/spi-builder-workspace/Sources/BindBackstop/BindBackstop.swift:8:13: warning: capture of 'source' with non-sendable type 'Binding<Value?>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 6 |             return source.wrappedValue ?? defaultValue
 7 |         }) { (value) in
 8 |             source.wrappedValue = value
   |             `- warning: capture of 'source' with non-sendable type 'Binding<Value?>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 9 |         }
10 |     }
Build complete! (11.19s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "BindBackstop",
  "name" : "BindBackstop",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    },
    {
      "name" : "watchos",
      "version" : "6.0"
    }
  ],
  "products" : [
    {
      "name" : "BindBackstop",
      "targets" : [
        "BindBackstop"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "BindBackstopTests",
      "module_type" : "SwiftTarget",
      "name" : "BindBackstopTests",
      "path" : "Tests/BindBackstopTests",
      "sources" : [
        "BindBackstopTests.swift"
      ],
      "target_dependencies" : [
        "BindBackstop"
      ],
      "type" : "test"
    },
    {
      "c99name" : "BindBackstop",
      "module_type" : "SwiftTarget",
      "name" : "BindBackstop",
      "path" : "Sources/BindBackstop",
      "product_memberships" : [
        "BindBackstop"
      ],
      "sources" : [
        "BindBackstop.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.3"
}
Done.