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, reference master (06cebc), with Swift 6.1 for macOS (SPM) on 24 Apr 2025 11:57:13 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.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.61.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
========================================
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": "corkboard",
      "name": "Corkboard",
      "url": "https://github.com/kiliankoe/Corkboard.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Corkboard",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/kiliankoe/Corkboard.git
[1/126] Fetching corkboard
Fetched https://github.com/kiliankoe/Corkboard.git from cache (0.58s)
Creating working copy for https://github.com/kiliankoe/Corkboard.git
Working copy of https://github.com/kiliankoe/Corkboard.git resolved at master (06cebc2)
warning: '.resolve-product-dependencies': dependency 'corkboard' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/kiliankoe/Corkboard.git
https://github.com/kiliankoe/Corkboard.git
{
  "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"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.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/2] Write sources
[1/2] Write swift-version-2F0A5646E1D333AE.txt
[3/7] Compiling Corkboard Bookmark.swift
[4/7] Compiling Corkboard Responses.swift
[5/7] Emitting module Corkboard
[6/7] Compiling Corkboard API.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
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
    |                 `- 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
 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
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
 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
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
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
    |                                                             `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
174 |         }
175 |     }
Build complete! (4.34s)
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.