This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.

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 Corkboard with Swift 6.0 for macOS (SPM).

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/kiliankoe/Corkboard.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/kiliankoe/Corkboard
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 06cebc2 add other platforms to manifest
Cloned https://github.com/kiliankoe/Corkboard.git
Revision (git rev-parse @):
06cebc246f001121d1f69e816423cb703018610c
SUCCESS checkout https://github.com/kiliankoe/Corkboard.git at master
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $workDir
https://github.com/kiliankoe/Corkboard.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a 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-6F35C1178C84523A.txt
[3/7] Emitting module Corkboard
[4/7] Compiling Corkboard API.swift
[5/7] Compiling Corkboard Bookmark.swift
[6/7] Compiling Corkboard Responses.swift
[7/7] Compiling Corkboard PinboardClient.swift
/Users/admin/builder/spi-builder-workspace/Sources/Corkboard/PinboardClient.swift:111:17: warning: capture of 'completion' with non-sendable type '(Result<T, CorkboardError>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
109 |                 let response = resp as? HTTPURLResponse
110 |             else {
111 |                 completion(.failure(.network(resp)))
    |                 |- warning: capture of 'completion' with non-sendable type '(Result<T, CorkboardError>) -> Void' 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'
112 |                 return
113 |             }
/Users/admin/builder/spi-builder-workspace/Sources/Corkboard/PinboardClient.swift:117:17: warning: capture of 'self' with non-sendable type 'PinboardClient' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 21 | }
 22 |
 23 | public class PinboardClient {
    |              `- note: class 'PinboardClient' does not conform to the 'Sendable' protocol
 24 |     var auth: Authentication
 25 |
    :
115 |             switch response.statusCode {
116 |             case 200...299:
117 |                 self.retryWait = 1
    |                 `- warning: capture of 'self' with non-sendable type 'PinboardClient' in a `@Sendable` closure; this is an error in the Swift 6 language mode
118 |             case 429:
119 |                 // Pinboard docs kindly ask to increasingly back off on firing
/Users/admin/builder/spi-builder-workspace/Sources/Corkboard/PinboardClient.swift:173:13: warning: capture of 'self' with non-sendable type 'PinboardClient' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 21 | }
 22 |
 23 | public class PinboardClient {
    |              `- note: class 'PinboardClient' does not conform to the 'Sendable' protocol
 24 |     var auth: Authentication
 25 |
    :
171 |         let deadline = DispatchTime.now() + .seconds(Int(seconds))
172 |         DispatchQueue(label: "Corkboard.RetryRequest").asyncAfter(deadline: deadline) {
173 |             self.request(url, session: session, completion: completion)
    |             `- warning: capture of 'self' with non-sendable type 'PinboardClient' in a `@Sendable` closure; this is an error in the Swift 6 language mode
174 |         }
175 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Corkboard/PinboardClient.swift:173:61: warning: capture of 'completion' with non-sendable type '(Result<T, CorkboardError>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
171 |         let deadline = DispatchTime.now() + .seconds(Int(seconds))
172 |         DispatchQueue(label: "Corkboard.RetryRequest").asyncAfter(deadline: deadline) {
173 |             self.request(url, session: session, completion: completion)
    |                                                             |- warning: capture of 'completion' with non-sendable type '(Result<T, CorkboardError>) -> Void' 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'
174 |         }
175 |     }
Build complete! (18.09s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Corkboard",
  "name" : "Corkboard",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.12"
    },
    {
      "name" : "ios",
      "version" : "10.0"
    },
    {
      "name" : "watchos",
      "version" : "3.0"
    },
    {
      "name" : "tvos",
      "version" : "10.0"
    }
  ],
  "products" : [
    {
      "name" : "Corkboard",
      "targets" : [
        "Corkboard"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "CorkboardTests",
      "module_type" : "SwiftTarget",
      "name" : "CorkboardTests",
      "path" : "Tests/CorkboardTests",
      "sources" : [
        "CorkboardTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "Corkboard"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Corkboard",
      "module_type" : "SwiftTarget",
      "name" : "Corkboard",
      "path" : "Sources/Corkboard",
      "product_memberships" : [
        "Corkboard"
      ],
      "sources" : [
        "API.swift",
        "Bookmark.swift",
        "PinboardClient.swift",
        "Responses.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.0"
}
Done.
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.