Build Information
Successful build of SKClient 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/pvzig/SKClient.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
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: macosSpm
Swift version: 6.0
Building package at path: $workDir
https://github.com/pvzig/SKClient.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/3] Write sources
[2/3] Write swift-version-6F35C1178C84523A.txt
[4/29] Emitting module SKCore
[5/31] Compiling SKCore Action.swift
[6/31] Compiling SKCore Attachment.swift
[7/31] Compiling SKCore AttachmentField.swift
[8/31] Compiling SKCore TeamIcon.swift
[9/31] Compiling SKCore Topic.swift
[10/31] Compiling SKCore Reaction.swift
[11/31] Compiling SKCore Reply.swift
[12/31] Compiling SKCore Scope.swift
[13/31] Compiling SKCore User.swift
[14/31] Compiling SKCore UserGroup.swift
[15/31] Compiling SKCore File.swift
[16/31] Compiling SKCore History.swift
[17/31] Compiling SKCore Item.swift
[18/31] Compiling SKCore SlackError.swift
[19/31] Compiling SKCore Team.swift
[20/31] Compiling SKCore Bot.swift
[21/31] Compiling SKCore Channel.swift
[22/31] Compiling SKCore Comment.swift
[23/31] Compiling SKCore CustomProfile.swift
[24/31] Compiling SKCore CustomProfileField.swift
[25/31] Compiling SKCore DoNotDisturbStatus.swift
[26/31] Compiling SKCore Message.swift
[27/31] Compiling SKCore OAuthConfig.swift
[28/31] Compiling SKCore RTMOptions.swift
[29/31] Compiling SKCore Edited.swift
[30/31] Compiling SKCore Event.swift
[31/31] Compiling SKCore Extensions.swift
[32/33] Emitting module SKClient
[33/33] Compiling SKClient Client.swift
/Users/admin/builder/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 | }
/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 | }
Build complete! (24.69s)
Fetching https://github.com/pvzig/SKCore
[1/288] Fetching skcore
Fetched https://github.com/pvzig/SKCore from cache (0.85s)
Computing version for https://github.com/pvzig/SKCore
Computed https://github.com/pvzig/SKCore at 4.1.3 (0.69s)
Creating working copy for https://github.com/pvzig/SKCore
Working copy of https://github.com/pvzig/SKCore resolved at 4.1.3
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" : "/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.