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 canon (05f47e), with Swift 6.0 for macOS (SPM) on 2 Nov 2024 11:51:48 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: canon
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/fcanas/BindBackstop
 * branch            canon      -> FETCH_HEAD
 * [new branch]      canon      -> origin/canon
HEAD is now at 05f47ea Update README.md
Cloned https://github.com/fcanas/BindBackstop.git
Revision (git rev-parse @):
05f47eac31538423fa310b09b649a3698ad5d008
SUCCESS checkout https://github.com/fcanas/BindBackstop.git at canon
========================================
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
[2/30] Fetching bindbackstop
Fetched https://github.com/fcanas/BindBackstop.git from cache (0.59s)
Creating working copy for https://github.com/fcanas/BindBackstop.git
Working copy of https://github.com/fcanas/BindBackstop.git resolved at canon (05f47ea)
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! (10.74s)
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.5"
}
Done.