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 SKClient with Swift 6.0 for Linux.

Swift 6 data race errors: 0

Build Command

bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/pvzig/SKClient.git
Reference: master
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/pvzig/SKClient
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 89d0503 Update README.md
Cloned https://github.com/pvzig/SKClient.git
Revision (git rev-parse @):
89d050307ac42f5a4de5d74dd790ff25185f0c99
SUCCESS checkout https://github.com/pvzig/SKClient.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $workDir
https://github.com/pvzig/SKClient.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
Fetching https://github.com/pvzig/SKCore
[1/288] Fetching skcore
Fetched https://github.com/pvzig/SKCore from cache (0.21s)
Computing version for https://github.com/pvzig/SKCore
Computed https://github.com/pvzig/SKCore at 4.1.3 (0.42s)
Creating working copy for https://github.com/pvzig/SKCore
Working copy of https://github.com/pvzig/SKCore resolved at 4.1.3
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/28] Emitting module SKCore
[5/31] Compiling SKCore Reaction.swift
[6/31] Compiling SKCore Reply.swift
[7/31] Compiling SKCore Scope.swift
[8/31] Compiling SKCore SlackError.swift
[9/31] Compiling SKCore Team.swift
[10/31] Compiling SKCore TeamIcon.swift
[11/31] Compiling SKCore Channel.swift
[12/31] Compiling SKCore Comment.swift
[13/31] Compiling SKCore CustomProfile.swift
[14/31] Compiling SKCore CustomProfileField.swift
[15/31] Compiling SKCore Action.swift
[16/31] Compiling SKCore Attachment.swift
[17/31] Compiling SKCore AttachmentField.swift
[18/31] Compiling SKCore Bot.swift
[19/31] Compiling SKCore Topic.swift
[20/31] Compiling SKCore User.swift
[21/31] Compiling SKCore UserGroup.swift
[22/31] Compiling SKCore File.swift
[23/31] Compiling SKCore History.swift
[24/31] Compiling SKCore Item.swift
[25/31] Compiling SKCore Message.swift
[26/31] Compiling SKCore OAuthConfig.swift
[27/31] Compiling SKCore RTMOptions.swift
[28/31] Compiling SKCore DoNotDisturbStatus.swift
[29/31] Compiling SKCore Edited.swift
[30/31] Compiling SKCore Event.swift
[31/31] Compiling SKCore Extensions.swift
[33/34] Emitting module SKClient
[34/34] Compiling SKClient Client.swift
/host/spi-builder-workspace/Sources/Client.swift:279:28: warning: capture of 'self' with non-sendable type 'Client' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 28 | @_exported import SKCore
 29 |
 30 | open class Client {
    |            `- note: class 'Client' does not conform to the 'Sendable' protocol
 31 |     internal(set) public var authenticatedUser: User?
 32 |     internal(set) public var team: Team?
    :
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: capture of 'self' with non-sendable type 'Client' in a `@Sendable` closure; this is an error in the Swift 6 language mode
280 |                 self.channels[channelID]?.usersTyping.remove(at: index)
281 |             }
/host/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 |             }
Build complete! (12.50s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "skcore",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "4.1.0",
            "upper_bound" : "4.2.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/pvzig/SKCore"
    }
  ],
  "manifest_display_name" : "SKClient",
  "name" : "SKClient",
  "path" : "/host/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.
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.