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 SKClient, reference 4.1.0 (008e10), with Swift 6.0 for macOS (SPM) on 27 Nov 2024 12:08:09 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.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/pvzig/SKClient.git
Reference: 4.1.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/pvzig/SKClient
 * tag               4.1.0      -> FETCH_HEAD
HEAD is now at 008e10a Merge branch 'swift4'
Cloned https://github.com/pvzig/SKClient.git
Revision (git rev-parse @):
008e10a402f17519750a5b94c4cf6b16310abf18
SUCCESS checkout https://github.com/pvzig/SKClient.git at 4.1.0
Fetching https://github.com/SlackKit/SKCore
[1/288] Fetching skcore
Fetched https://github.com/SlackKit/SKCore from cache (0.80s)
Computing version for https://github.com/SlackKit/SKCore
Computed https://github.com/SlackKit/SKCore at 4.1.3 (0.54s)
Creating working copy for https://github.com/SlackKit/SKCore
Working copy of https://github.com/SlackKit/SKCore resolved at 4.1.3
========================================
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": "skclient",
      "name": "SKClient",
      "url": "https://github.com/pvzig/SKClient.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SKClient",
      "dependencies": [
        {
          "identity": "skcore",
          "name": "SKCore",
          "url": "https://github.com/SlackKit/SKCore",
          "version": "4.1.3",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SKCore",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/pvzig/SKClient.git
[1/125] Fetching skclient
Fetched https://github.com/pvzig/SKClient.git from cache (0.69s)
Fetching https://github.com/SlackKit/SKCore from cache
Fetched https://github.com/SlackKit/SKCore from cache (0.46s)
Computing version for https://github.com/SlackKit/SKCore
Computed https://github.com/SlackKit/SKCore at 4.1.3 (0.02s)
Creating working copy for https://github.com/pvzig/SKClient.git
Working copy of https://github.com/pvzig/SKClient.git resolved at 4.1.0 (008e10a)
Creating working copy for https://github.com/SlackKit/SKCore
Working copy of https://github.com/SlackKit/SKCore resolved at 4.1.3
warning: '.resolve-product-dependencies': dependency 'skclient' is not used by any target
Found 1 product dependencies
  - SKCore
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/pvzig/SKClient.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 -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/3] Write sources
[2/3] Write swift-version--7754E27361AE5C74.txt
[4/29] Emitting module SKCore
[5/31] Compiling SKCore SlackError.swift
[6/31] Compiling SKCore Team.swift
[7/31] Compiling SKCore Action.swift
[8/31] Compiling SKCore Attachment.swift
[9/31] Compiling SKCore AttachmentField.swift
[10/31] Compiling SKCore CustomProfile.swift
[11/31] Compiling SKCore CustomProfileField.swift
[12/31] Compiling SKCore DoNotDisturbStatus.swift
[13/31] Compiling SKCore Bot.swift
[14/31] Compiling SKCore Channel.swift
[15/31] Compiling SKCore Comment.swift
[16/31] Compiling SKCore Reaction.swift
[17/31] Compiling SKCore Reply.swift
[18/31] Compiling SKCore Scope.swift
[19/31] Compiling SKCore User.swift
[20/31] Compiling SKCore UserGroup.swift
[21/31] Compiling SKCore File.swift
[22/31] Compiling SKCore History.swift
[23/31] Compiling SKCore Item.swift
[24/31] Compiling SKCore TeamIcon.swift
[25/31] Compiling SKCore Topic.swift
[26/31] Compiling SKCore Edited.swift
[27/31] Compiling SKCore Event.swift
[28/31] Compiling SKCore Extensions.swift
[29/31] Compiling SKCore Message.swift
[30/31] Compiling SKCore OAuthConfig.swift
[31/31] Compiling SKCore RTMOptions.swift
[32/33] Compiling SKClient Client.swift
/Users/admin/builder/spi-builder-workspace/Sources/Client.swift:279:28: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
277 |         let timeout = DispatchTime.now() + Double(Int64(5.0 * Double(UInt64.nanosecondsPerSecond))) / Double(UInt64.nanosecondsPerSecond)
278 |         DispatchQueue.main.asyncAfter(deadline: timeout, execute: {
279 |             if let index = self.channels[channelID]?.usersTyping.index(of: userID) {
    |                            |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
    |                            `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
280 |                 self.channels[channelID]?.usersTyping.remove(at: index)
281 |             }
[33/33] Emitting module SKClient
Build complete! (14.16s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "skcore",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "4.1.0",
            "upper_bound" : "4.2.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/SlackKit/SKCore"
    }
  ],
  "manifest_display_name" : "SKClient",
  "name" : "SKClient",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "SKClient",
      "targets" : [
        "SKClient"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SKClient",
      "module_type" : "SwiftTarget",
      "name" : "SKClient",
      "path" : "Sources",
      "product_dependencies" : [
        "SKCore"
      ],
      "product_memberships" : [
        "SKClient"
      ],
      "sources" : [
        "Client.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.0"
}
Done.