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 Cerberus, reference 0.4.2 (ed6193), with Swift 6.1 for macOS (SPM) on 24 Apr 2025 18:29:03 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/bermudadigitalstudio/cerberus.git
Reference: 0.4.2
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/bermudadigitalstudio/cerberus
 * tag               0.4.2      -> FETCH_HEAD
HEAD is now at ed6193a Moved the Log repo to @bermudadigitalstudio, because it was deleted from @lgaches account.
Cloned https://github.com/bermudadigitalstudio/cerberus.git
Revision (git rev-parse @):
ed6193a45c6f7092d083aa3fb89ce99bf5dadff9
SUCCESS checkout https://github.com/bermudadigitalstudio/cerberus.git at 0.4.2
Fetching https://github.com/bermudadigitalstudio/Log.git
[1/15] Fetching log
Fetched https://github.com/bermudadigitalstudio/Log.git from cache (0.56s)
Computing version for https://github.com/bermudadigitalstudio/Log.git
Computed https://github.com/bermudadigitalstudio/Log.git at 0.0.1 (1.18s)
Creating working copy for https://github.com/bermudadigitalstudio/Log.git
Working copy of https://github.com/bermudadigitalstudio/Log.git resolved at 0.0.1
========================================
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": "cerberus",
      "name": "Cerberus",
      "url": "https://github.com/bermudadigitalstudio/cerberus.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/cerberus",
      "dependencies": [
        {
          "identity": "log",
          "name": "Log",
          "url": "https://github.com/bermudadigitalstudio/Log.git",
          "version": "0.0.1",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Log",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/bermudadigitalstudio/cerberus.git
[1/278] Fetching cerberus
Fetched https://github.com/bermudadigitalstudio/cerberus.git from cache (0.65s)
Fetching https://github.com/bermudadigitalstudio/Log.git from cache
Fetched https://github.com/bermudadigitalstudio/Log.git from cache (0.44s)
Computing version for https://github.com/bermudadigitalstudio/Log.git
Computed https://github.com/bermudadigitalstudio/Log.git at 0.0.1 (0.48s)
Creating working copy for https://github.com/bermudadigitalstudio/cerberus.git
Working copy of https://github.com/bermudadigitalstudio/cerberus.git resolved at 0.4.2 (ed6193a)
Creating working copy for https://github.com/bermudadigitalstudio/Log.git
Working copy of https://github.com/bermudadigitalstudio/Log.git resolved at 0.0.1
warning: '.resolve-product-dependencies': dependency 'cerberus' is not used by any target
Found 1 product dependencies
  - Log
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/bermudadigitalstudio/cerberus.git
https://github.com/bermudadigitalstudio/cerberus.git
{
  "dependencies" : [
    {
      "identity" : "log",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.0.1",
            "upper_bound" : "0.1.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/bermudadigitalstudio/Log.git"
    }
  ],
  "manifest_display_name" : "Cerberus",
  "name" : "Cerberus",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "Cerberus",
      "targets" : [
        "Cerberus"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "CerberusTests",
      "module_type" : "SwiftTarget",
      "name" : "CerberusTests",
      "path" : "Tests/CerberusTests",
      "sources" : [
        "AutoRenewalTests.swift",
        "KubernetesVaultTests.swift",
        "LiveVaultTests.swift"
      ],
      "target_dependencies" : [
        "Cerberus"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Cerberus",
      "module_type" : "SwiftTarget",
      "name" : "Cerberus",
      "path" : "Sources/Cerberus",
      "product_dependencies" : [
        "Log"
      ],
      "product_memberships" : [
        "Cerberus"
      ],
      "sources" : [
        "RenewalManager.swift",
        "VaultAPIClient.swift",
        "VaultClient+Kubernetes.swift",
        "VaultClient.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/5] Compiling Log Log.swift
[5/5] Emitting module Log
[6/10] Compiling Cerberus VaultClient.swift
[7/10] Compiling Cerberus VaultClient+Kubernetes.swift
[8/10] Compiling Cerberus RenewalManager.swift
/Users/admin/builder/spi-builder-workspace/Sources/Cerberus/RenewalManager.swift:38:13: warning: capture of 'logger' with non-sendable type '(any Log)?' in a '@Sendable' closure
36 |
37 |         DispatchQueue.global().asyncAfter(deadline: time) { [weak self] in
38 |             logger?.debug("Beginning renewal...")
   |             `- warning: capture of 'logger' with non-sendable type '(any Log)?' in a '@Sendable' closure
39 |
40 |             guard let strongSelf = self else {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Log/Sources/Log/Log.swift:9:17: note: protocol 'Log' does not conform to the 'Sendable' protocol
 7 | }
 8 |
 9 | public protocol Log {
   |                 `- note: protocol 'Log' does not conform to the 'Sendable' protocol
10 |
11 |     func log(_ level: LogLevel, _ message: @autoclosure () -> Any, _ file: String, _ function: String, line: Int, context: Any?)
/Users/admin/builder/spi-builder-workspace/Sources/Cerberus/RenewalManager.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Log'
 1 | import Dispatch
 2 | import Log
   | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Log'
 3 |
 4 | public protocol VaultClientTokenRenewable: class {
/Users/admin/builder/spi-builder-workspace/Sources/Cerberus/RenewalManager.swift:40:36: warning: capture of 'self' with non-sendable type 'RenewalManager?' in a '@Sendable' closure
 6 |     func renewToken() throws
 7 | }
 8 | public final class RenewalManager {
   |                    `- note: class 'RenewalManager' does not conform to the 'Sendable' protocol
 9 |
10 |     unowned let vaultClient: VaultClientTokenRenewable
   :
38 |             logger?.debug("Beginning renewal...")
39 |
40 |             guard let strongSelf = self else {
   |                                    `- warning: capture of 'self' with non-sendable type 'RenewalManager?' in a '@Sendable' closure
41 |                 logger?.debug("RenewalManager has deinitialized, aborting.")
42 |                 return
[9/10] Emitting module Cerberus
[10/10] Compiling Cerberus VaultAPIClient.swift
/Users/admin/builder/spi-builder-workspace/Sources/Cerberus/VaultAPIClient.swift:111:17: warning: capture of 'json' with non-sendable type 'Any?' in a '@Sendable' closure
109 |         } else if let data = data {
110 |             do {
111 |                 json = try JSONSerialization.jsonObject(with: data, options: [])
    |                 `- warning: capture of 'json' with non-sendable type 'Any?' in a '@Sendable' closure
112 |             } catch let jsonError {
113 |                 error = jsonError
/Users/admin/builder/spi-builder-workspace/Sources/Cerberus/VaultAPIClient.swift:108:13: warning: mutation of captured var 'error' in concurrently-executing code
106 |     session.dataTask(with: request, completionHandler: { (data, _, err) in
107 |         if let err = err {
108 |             error = err
    |             `- warning: mutation of captured var 'error' in concurrently-executing code
109 |         } else if let data = data {
110 |             do {
/Users/admin/builder/spi-builder-workspace/Sources/Cerberus/VaultAPIClient.swift:111:17: warning: mutation of captured var 'json' in concurrently-executing code
109 |         } else if let data = data {
110 |             do {
111 |                 json = try JSONSerialization.jsonObject(with: data, options: [])
    |                 `- warning: mutation of captured var 'json' in concurrently-executing code
112 |             } catch let jsonError {
113 |                 error = jsonError
/Users/admin/builder/spi-builder-workspace/Sources/Cerberus/VaultAPIClient.swift:113:17: warning: mutation of captured var 'error' in concurrently-executing code
111 |                 json = try JSONSerialization.jsonObject(with: data, options: [])
112 |             } catch let jsonError {
113 |                 error = jsonError
    |                 `- warning: mutation of captured var 'error' in concurrently-executing code
114 |             }
115 |         }
/Users/admin/builder/spi-builder-workspace/Sources/Cerberus/VaultAPIClient.swift:146:9: warning: mutation of captured var 'error' in concurrently-executing code
144 |     let sema = DispatchSemaphore(value: 0)
145 |     session.uploadTask(with: request, from: data, completionHandler: { (_, _, err) in
146 |         error = err
    |         `- warning: mutation of captured var 'error' in concurrently-executing code
147 |         sema.signal()
148 |     }).resume()
/Users/admin/builder/spi-builder-workspace/Sources/Cerberus/VaultAPIClient.swift:177:17: warning: capture of 'json' with non-sendable type 'Any?' in a '@Sendable' closure
175 |         } else if let data = data {
176 |             do {
177 |                 json = try JSONSerialization.jsonObject(with: data, options: [])
    |                 `- warning: capture of 'json' with non-sendable type 'Any?' in a '@Sendable' closure
178 |             } catch let jsonError {
179 |                 error = jsonError
/Users/admin/builder/spi-builder-workspace/Sources/Cerberus/VaultAPIClient.swift:174:13: warning: mutation of captured var 'error' in concurrently-executing code
172 |     session.uploadTask(with: request, from: data, completionHandler: { (data, _, err) in
173 |         if let err = err {
174 |             error = err
    |             `- warning: mutation of captured var 'error' in concurrently-executing code
175 |         } else if let data = data {
176 |             do {
/Users/admin/builder/spi-builder-workspace/Sources/Cerberus/VaultAPIClient.swift:177:17: warning: mutation of captured var 'json' in concurrently-executing code
175 |         } else if let data = data {
176 |             do {
177 |                 json = try JSONSerialization.jsonObject(with: data, options: [])
    |                 `- warning: mutation of captured var 'json' in concurrently-executing code
178 |             } catch let jsonError {
179 |                 error = jsonError
/Users/admin/builder/spi-builder-workspace/Sources/Cerberus/VaultAPIClient.swift:179:17: warning: mutation of captured var 'error' in concurrently-executing code
177 |                 json = try JSONSerialization.jsonObject(with: data, options: [])
178 |             } catch let jsonError {
179 |                 error = jsonError
    |                 `- warning: mutation of captured var 'error' in concurrently-executing code
180 |             }
181 |         }
Build complete! (5.24s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "log",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.0.1",
            "upper_bound" : "0.1.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/bermudadigitalstudio/Log.git"
    }
  ],
  "manifest_display_name" : "Cerberus",
  "name" : "Cerberus",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "Cerberus",
      "targets" : [
        "Cerberus"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "CerberusTests",
      "module_type" : "SwiftTarget",
      "name" : "CerberusTests",
      "path" : "Tests/CerberusTests",
      "sources" : [
        "AutoRenewalTests.swift",
        "KubernetesVaultTests.swift",
        "LiveVaultTests.swift"
      ],
      "target_dependencies" : [
        "Cerberus"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Cerberus",
      "module_type" : "SwiftTarget",
      "name" : "Cerberus",
      "path" : "Sources/Cerberus",
      "product_dependencies" : [
        "Log"
      ],
      "product_memberships" : [
        "Cerberus"
      ],
      "sources" : [
        "RenewalManager.swift",
        "VaultAPIClient.swift",
        "VaultClient+Kubernetes.swift",
        "VaultClient.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.0"
}
Done.