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 SKWebAPI, reference master (fb2d6a), with Swift 6.1 for macOS (SPM) on 25 Apr 2025 21:26:40 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/pvzig/SKWebAPI.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/pvzig/SKWebAPI
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at fb2d6af Update Cartfile
Cloned https://github.com/pvzig/SKWebAPI.git
Revision (git rev-parse @):
fb2d6af497a378b2556573c245cc5280a7e1754a
SUCCESS checkout https://github.com/pvzig/SKWebAPI.git at master
Fetching https://github.com/pvzig/SKCore
[1/288] Fetching skcore
Fetched https://github.com/pvzig/SKCore from cache (0.75s)
Computing version for https://github.com/pvzig/SKCore
Computed https://github.com/pvzig/SKCore at 4.1.3 (1.33s)
Creating working copy for https://github.com/pvzig/SKCore
Working copy of https://github.com/pvzig/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": "skwebapi",
      "name": "SKWebAPI",
      "url": "https://github.com/pvzig/SKWebAPI.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SKWebAPI",
      "dependencies": [
        {
          "identity": "skcore",
          "name": "SKCore",
          "url": "https://github.com/pvzig/SKCore",
          "version": "4.1.3",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SKCore",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/pvzig/SKWebAPI.git
[1/294] Fetching skwebapi
Fetched https://github.com/pvzig/SKWebAPI.git from cache (0.67s)
Fetching https://github.com/pvzig/SKCore from cache
Fetched https://github.com/pvzig/SKCore from cache (0.39s)
Computing version for https://github.com/pvzig/SKCore
Computed https://github.com/pvzig/SKCore at 4.1.3 (0.44s)
Creating working copy for https://github.com/pvzig/SKWebAPI.git
Working copy of https://github.com/pvzig/SKWebAPI.git resolved at master (fb2d6af)
Creating working copy for https://github.com/pvzig/SKCore
Working copy of https://github.com/pvzig/SKCore resolved at 4.1.3
warning: '.resolve-product-dependencies': dependency 'skwebapi' is not used by any target
Found 1 product dependencies
  - SKCore
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/pvzig/SKWebAPI.git
https://github.com/pvzig/SKWebAPI.git
{
  "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" : "SKWebAPI",
  "name" : "SKWebAPI",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "SKWebAPI",
      "targets" : [
        "SKWebAPI"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SKWebAPI",
      "module_type" : "SwiftTarget",
      "name" : "SKWebAPI",
      "path" : "Sources",
      "product_dependencies" : [
        "SKCore"
      ],
      "product_memberships" : [
        "SKWebAPI"
      ],
      "sources" : [
        "Endpoint.swift",
        "NetworkInterface.swift",
        "WebAPI.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.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/3] Write sources
[2/3] Write swift-version-2F0A5646E1D333AE.txt
[4/29] Compiling SKCore Reaction.swift
[5/29] Compiling SKCore Reply.swift
[6/29] Compiling SKCore Scope.swift
[7/31] Compiling SKCore TeamIcon.swift
[8/31] Compiling SKCore Topic.swift
[9/31] Compiling SKCore SlackError.swift
[10/31] Compiling SKCore Team.swift
[11/31] Compiling SKCore CustomProfile.swift
[12/31] Compiling SKCore CustomProfileField.swift
[13/31] Compiling SKCore DoNotDisturbStatus.swift
[14/31] Emitting module SKCore
[15/31] Compiling SKCore Action.swift
[16/31] Compiling SKCore Attachment.swift
[17/31] Compiling SKCore AttachmentField.swift
[18/31] Compiling SKCore User.swift
[19/31] Compiling SKCore UserGroup.swift
[20/31] Compiling SKCore File.swift
[21/31] Compiling SKCore History.swift
[22/31] Compiling SKCore Item.swift
[23/31] Compiling SKCore Bot.swift
[24/31] Compiling SKCore Channel.swift
[25/31] Compiling SKCore Comment.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/35] Compiling SKWebAPI NetworkInterface.swift
/Users/admin/builder/spi-builder-workspace/Sources/NetworkInterface.swift:51:17: warning: capture of 'successClosure' with non-sendable type '([String : Any]) -> Void' in a '@Sendable' closure
 49 |         session.dataTask(with: request) {(data, response, publicError) in
 50 |             do {
 51 |                 successClosure(try NetworkInterface.handleResponse(data, response: response, publicError: publicError))
    |                 |- warning: capture of 'successClosure' with non-sendable type '([String : Any]) -> Void' in a '@Sendable' closure
    |                 `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
 52 |             } catch let error {
 53 |                 errorClosure(error as? SlackError ?? SlackError.unknownError)
/Users/admin/builder/spi-builder-workspace/Sources/NetworkInterface.swift:53:17: warning: capture of 'errorClosure' with non-sendable type '(SlackError) -> Void' in a '@Sendable' closure
 51 |                 successClosure(try NetworkInterface.handleResponse(data, response: response, publicError: publicError))
 52 |             } catch let error {
 53 |                 errorClosure(error as? SlackError ?? SlackError.unknownError)
    |                 |- warning: capture of 'errorClosure' with non-sendable type '(SlackError) -> Void' in a '@Sendable' closure
    |                 `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
 54 |             }
 55 |         }.resume()
/Users/admin/builder/spi-builder-workspace/Sources/NetworkInterface.swift:69:13: warning: mutation of captured var 'data' in concurrently-executing code
 67 |         let semaphore = DispatchSemaphore(value: 0)
 68 |         session.dataTask(with: request) { (reqData, reqResponse, reqError) in
 69 |             data = reqData
    |             `- warning: mutation of captured var 'data' in concurrently-executing code
 70 |             response = reqResponse
 71 |             error = reqError
/Users/admin/builder/spi-builder-workspace/Sources/NetworkInterface.swift:70:13: warning: mutation of captured var 'response' in concurrently-executing code
 68 |         session.dataTask(with: request) { (reqData, reqResponse, reqError) in
 69 |             data = reqData
 70 |             response = reqResponse
    |             `- warning: mutation of captured var 'response' in concurrently-executing code
 71 |             error = reqError
 72 |             if data == nil, let error = error { print(error) }
/Users/admin/builder/spi-builder-workspace/Sources/NetworkInterface.swift:71:13: warning: mutation of captured var 'error' in concurrently-executing code
 69 |             data = reqData
 70 |             response = reqResponse
 71 |             error = reqError
    |             `- warning: mutation of captured var 'error' in concurrently-executing code
 72 |             if data == nil, let error = error { print(error) }
 73 |             semaphore.signal()
/Users/admin/builder/spi-builder-workspace/Sources/NetworkInterface.swift:72:16: warning: reference to captured var 'data' in concurrently-executing code
 70 |             response = reqResponse
 71 |             error = reqError
 72 |             if data == nil, let error = error { print(error) }
    |                `- warning: reference to captured var 'data' in concurrently-executing code
 73 |             semaphore.signal()
 74 |         }.resume()
/Users/admin/builder/spi-builder-workspace/Sources/NetworkInterface.swift:72:41: warning: reference to captured var 'error' in concurrently-executing code
 70 |             response = reqResponse
 71 |             error = reqError
 72 |             if data == nil, let error = error { print(error) }
    |                                         `- warning: reference to captured var 'error' in concurrently-executing code
 73 |             semaphore.signal()
 74 |         }.resume()
/Users/admin/builder/spi-builder-workspace/Sources/NetworkInterface.swift:97:17: warning: capture of 'success' with non-sendable type '(Bool) -> Void' in a '@Sendable' closure
 95 |         session.dataTask(with: request) {(_, _, publicError) in
 96 |             if publicError == nil {
 97 |                 success(true)
    |                 |- warning: capture of 'success' with non-sendable type '(Bool) -> Void' in a '@Sendable' closure
    |                 `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
 98 |             } else {
 99 |                 errorClosure(SlackError.clientNetworkError)
/Users/admin/builder/spi-builder-workspace/Sources/NetworkInterface.swift:99:17: warning: capture of 'errorClosure' with non-sendable type '(SlackError) -> Void' in a '@Sendable' closure
 97 |                 success(true)
 98 |             } else {
 99 |                 errorClosure(SlackError.clientNetworkError)
    |                 |- warning: capture of 'errorClosure' with non-sendable type '(SlackError) -> Void' in a '@Sendable' closure
    |                 `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
100 |             }
101 |         }.resume()
/Users/admin/builder/spi-builder-workspace/Sources/NetworkInterface.swift:126:17: warning: capture of 'successClosure' with non-sendable type '([String : Any]) -> Void' in a '@Sendable' closure
124 |         session.dataTask(with: request) {(data, response, publicError) in
125 |             do {
126 |                 successClosure(try NetworkInterface.handleResponse(data, response: response, publicError: publicError))
    |                 |- warning: capture of 'successClosure' with non-sendable type '([String : Any]) -> Void' in a '@Sendable' closure
    |                 `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
127 |             } catch let error {
128 |                 errorClosure(error as? SlackError ?? SlackError.unknownError)
/Users/admin/builder/spi-builder-workspace/Sources/NetworkInterface.swift:128:17: warning: capture of 'errorClosure' with non-sendable type '(SlackError) -> Void' in a '@Sendable' closure
126 |                 successClosure(try NetworkInterface.handleResponse(data, response: response, publicError: publicError))
127 |             } catch let error {
128 |                 errorClosure(error as? SlackError ?? SlackError.unknownError)
    |                 |- warning: capture of 'errorClosure' with non-sendable type '(SlackError) -> Void' in a '@Sendable' closure
    |                 `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
129 |             }
130 |         }.resume()
[33/35] Compiling SKWebAPI Endpoint.swift
[34/35] Emitting module SKWebAPI
[35/35] Compiling SKWebAPI WebAPI.swift
Build complete! (6.13s)
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" : "SKWebAPI",
  "name" : "SKWebAPI",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "SKWebAPI",
      "targets" : [
        "SKWebAPI"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SKWebAPI",
      "module_type" : "SwiftTarget",
      "name" : "SKWebAPI",
      "path" : "Sources",
      "product_dependencies" : [
        "SKCore"
      ],
      "product_memberships" : [
        "SKWebAPI"
      ],
      "sources" : [
        "Endpoint.swift",
        "NetworkInterface.swift",
        "WebAPI.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.0"
}
Done.