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 DeviceAuthority, reference main (6e9f5a), with Swift 6.1 for macOS (SPM) on 27 Apr 2025 10:53:09 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/getsidetrack/swift-device-authority.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/getsidetrack/swift-device-authority
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 6e9f5ac Merge pull request #7 from 0xWDG/patch-1
Cloned https://github.com/getsidetrack/swift-device-authority.git
Revision (git rev-parse @):
6e9f5ac67e8ed9a252cbe1abd6aa5985fe772b0b
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/getsidetrack/swift-device-authority.git at main
Fetching https://github.com/vapor/console-kit.git
Fetching https://github.com/JohnSundell/ShellOut
Fetching https://github.com/apple/swift-log.git from cache
[10/960] Fetching shellout
[174/6445] Fetching shellout, console-kit
Fetched https://github.com/vapor/console-kit.git from cache (1.01s)
Fetched https://github.com/JohnSundell/ShellOut from cache (1.01s)
Computing version for https://github.com/JohnSundell/ShellOut.git
Fetched https://github.com/apple/swift-log.git from cache (1.01s)
Computed https://github.com/JohnSundell/ShellOut.git at 2.3.0 (3.90s)
Computing version for https://github.com/vapor/console-kit.git
Computed https://github.com/vapor/console-kit.git at 4.5.0 (0.58s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.4.4 (0.57s)
Creating working copy for https://github.com/JohnSundell/ShellOut
Working copy of https://github.com/JohnSundell/ShellOut resolved at 2.3.0
Creating working copy for https://github.com/vapor/console-kit.git
Working copy of https://github.com/vapor/console-kit.git resolved at 4.5.0
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.4.4
========================================
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": "swift-device-authority",
      "name": "DeviceAuthority",
      "url": "https://github.com/getsidetrack/swift-device-authority.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-device-authority",
      "dependencies": [
        {
          "identity": "console-kit",
          "name": "console-kit",
          "url": "https://github.com/vapor/console-kit.git",
          "version": "4.15.2",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/console-kit",
          "dependencies": [
            {
              "identity": "swift-log",
              "name": "swift-log",
              "url": "https://github.com/apple/swift-log.git",
              "version": "1.6.3",
              "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-log",
              "dependencies": [
              ]
            },
            {
              "identity": "swift-nio",
              "name": "swift-nio",
              "url": "https://github.com/apple/swift-nio.git",
              "version": "2.82.0",
              "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-nio",
              "dependencies": [
                {
                  "identity": "swift-atomics",
                  "name": "swift-atomics",
                  "url": "https://github.com/apple/swift-atomics.git",
                  "version": "1.2.0",
                  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-atomics",
                  "dependencies": [
                  ]
                },
                {
                  "identity": "swift-collections",
                  "name": "swift-collections",
                  "url": "https://github.com/apple/swift-collections.git",
                  "version": "1.1.4",
                  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-collections",
                  "dependencies": [
                  ]
                },
                {
                  "identity": "swift-system",
                  "name": "swift-system",
                  "url": "https://github.com/apple/swift-system.git",
                  "version": "1.4.2",
                  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-system",
                  "dependencies": [
                  ]
                }
              ]
            }
          ]
        },
        {
          "identity": "shellout",
          "name": "ShellOut",
          "url": "https://github.com/JohnSundell/ShellOut.git",
          "version": "2.3.0",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/ShellOut",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/getsidetrack/swift-device-authority.git
[1/117] Fetching swift-device-authority
Fetched https://github.com/getsidetrack/swift-device-authority.git from cache (0.66s)
Fetching https://github.com/JohnSundell/ShellOut.git from cache
Fetching https://github.com/vapor/console-kit.git from cache
Fetched https://github.com/JohnSundell/ShellOut.git from cache (0.47s)
Fetched https://github.com/vapor/console-kit.git from cache (0.47s)
Computing version for https://github.com/JohnSundell/ShellOut.git
Computed https://github.com/JohnSundell/ShellOut.git at 2.3.0 (1.07s)
Computing version for https://github.com/vapor/console-kit.git
Computed https://github.com/vapor/console-kit.git at 4.15.2 (0.50s)
Fetching https://github.com/apple/swift-log.git from cache
Fetching https://github.com/apple/swift-nio.git from cache
Fetched https://github.com/apple/swift-log.git from cache (0.88s)
Fetched https://github.com/apple/swift-nio.git from cache (0.88s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (1.38s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.82.0 (0.68s)
Fetching https://github.com/apple/swift-system.git from cache
Fetching https://github.com/apple/swift-atomics.git from cache
Fetching https://github.com/apple/swift-collections.git from cache
Fetched https://github.com/apple/swift-atomics.git from cache (0.66s)
Fetched https://github.com/apple/swift-system.git from cache (0.67s)
Fetched https://github.com/apple/swift-collections.git from cache (0.68s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (1.17s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.4.2 (0.45s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.1.4 (0.67s)
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.4.2
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.3
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.2.0
Creating working copy for https://github.com/JohnSundell/ShellOut.git
Working copy of https://github.com/JohnSundell/ShellOut.git resolved at 2.3.0
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.1.4
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.82.0
Creating working copy for https://github.com/vapor/console-kit.git
Working copy of https://github.com/vapor/console-kit.git resolved at 4.15.2
Creating working copy for https://github.com/getsidetrack/swift-device-authority.git
Working copy of https://github.com/getsidetrack/swift-device-authority.git resolved at main (6e9f5ac)
Found 2 product dependencies
  - console-kit
  - ShellOut
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/getsidetrack/swift-device-authority.git
https://github.com/getsidetrack/swift-device-authority.git
{
  "dependencies" : [
    {
      "identity" : "console-kit",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "4.5.0",
            "upper_bound" : "5.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/vapor/console-kit.git"
    },
    {
      "identity" : "shellout",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.3.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/JohnSundell/ShellOut.git"
    }
  ],
  "manifest_display_name" : "DeviceAuthority",
  "name" : "DeviceAuthority",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "9.0"
    },
    {
      "name" : "macos",
      "version" : "12.0"
    }
  ],
  "products" : [
    {
      "name" : "DeviceAuthority",
      "targets" : [
        "DeviceAuthority"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "swift-device-authority",
      "targets" : [
        "CommandLine"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "DeviceAuthorityTests",
      "module_type" : "SwiftTarget",
      "name" : "DeviceAuthorityTests",
      "path" : "Tests/DeviceAuthorityTests",
      "sources" : [
        "DeviceAuthorityTests.swift"
      ],
      "target_dependencies" : [
        "DeviceAuthority"
      ],
      "type" : "test"
    },
    {
      "c99name" : "DeviceAuthority",
      "module_type" : "SwiftTarget",
      "name" : "DeviceAuthority",
      "path" : "Sources/DeviceAuthority",
      "product_memberships" : [
        "DeviceAuthority"
      ],
      "sources" : [
        "DeviceAuthority.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "CommandLine",
      "module_type" : "SwiftTarget",
      "name" : "CommandLine",
      "path" : "Sources/CommandLine",
      "product_dependencies" : [
        "ConsoleKit",
        "ShellOut"
      ],
      "product_memberships" : [
        "swift-device-authority"
      ],
      "sources" : [
        "Command.swift",
        "CreateAuthorityCommand.swift",
        "CreateLeafCommand.swift",
        "MobileConfiguration.swift"
      ],
      "type" : "executable"
    }
  ],
  "tools_version" : "5.6"
}
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/10] Write sources
[0/10] Write swift-device-authority-entitlement.plist
[0/10] Write sources
[6/10] Write swift-version-2F0A5646E1D333AE.txt
[8/18] Emitting module Logging
[9/18] Compiling Logging Logging.swift
[10/18] Compiling Logging Locks.swift
[11/18] Compiling Logging LogHandler.swift
[12/63] Emitting module ShellOut
[13/63] Compiling ShellOut ShellOut.swift
[14/63] Compiling DeviceAuthority DeviceAuthority.swift
/Users/admin/builder/spi-builder-workspace/Sources/DeviceAuthority/DeviceAuthority.swift:31:52: warning: capture of 'trust' with non-sendable type 'SecTrust' in a '@Sendable' closure
 29 |                     // Queue completion is called on *must* be same as the queue the function itself is called on.
 30 |                     // Without this, it will crash.
 31 |                     SecTrustEvaluateAsyncWithError(trust, queue) { _, success, error in
    |                                                    `- warning: capture of 'trust' with non-sendable type 'SecTrust' in a '@Sendable' closure
 32 |                         if let error = createError(from: error) {
 33 |                             continuation.resume(throwing: error)
Security.SecTrust:1:14: note: class 'SecTrust' does not conform to the 'Sendable' protocol
1 | public class SecTrust : _CFObject {
  |              `- note: class 'SecTrust' does not conform to the 'Sendable' protocol
2 | }
/Users/admin/builder/spi-builder-workspace/Sources/DeviceAuthority/DeviceAuthority.swift:8:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Security'
  6 |
  7 | import Foundation
  8 | import Security
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Security'
  9 |
 10 | public struct DeviceAuthority {
/Users/admin/builder/spi-builder-workspace/Sources/DeviceAuthority/DeviceAuthority.swift:32:40: warning: capture of 'self' with non-sendable type 'DeviceAuthority' in a '@Sendable' closure
  8 | import Security
  9 |
 10 | public struct DeviceAuthority {
    |               `- note: consider making struct 'DeviceAuthority' conform to the 'Sendable' protocol
 11 |     public let name: String
 12 |     public let bundle: Bundle
    :
 30 |                     // Without this, it will crash.
 31 |                     SecTrustEvaluateAsyncWithError(trust, queue) { _, success, error in
 32 |                         if let error = createError(from: error) {
    |                                        `- warning: capture of 'self' with non-sendable type 'DeviceAuthority' in a '@Sendable' closure
 33 |                             continuation.resume(throwing: error)
 34 |                             return
/Users/admin/builder/spi-builder-workspace/Sources/DeviceAuthority/DeviceAuthority.swift:32:40: warning: capture of 'self' with non-sendable type 'DeviceAuthority' in an isolated closure
  8 | import Security
  9 |
 10 | public struct DeviceAuthority {
    |               `- note: consider making struct 'DeviceAuthority' conform to the 'Sendable' protocol
 11 |     public let name: String
 12 |     public let bundle: Bundle
    :
 30 |                     // Without this, it will crash.
 31 |                     SecTrustEvaluateAsyncWithError(trust, queue) { _, success, error in
 32 |                         if let error = createError(from: error) {
    |                                        `- warning: capture of 'self' with non-sendable type 'DeviceAuthority' in an isolated closure
 33 |                             continuation.resume(throwing: error)
 34 |                             return
/Users/admin/builder/spi-builder-workspace/Sources/DeviceAuthority/DeviceAuthority.swift:57:13: warning: 'SecTrustEvaluateAsync' was deprecated in macOS 10.15: renamed to 'SecTrustEvaluateAsyncWithError(_:_:_:)'
 55 |             let trust = try createTrust(from: certificate)
 56 |
 57 |             SecTrustEvaluateAsync(trust, .global(qos: .userInteractive)) { trust, result in
    |             |- warning: 'SecTrustEvaluateAsync' was deprecated in macOS 10.15: renamed to 'SecTrustEvaluateAsyncWithError(_:_:_:)'
    |             `- note: use 'SecTrustEvaluateAsyncWithError(_:_:_:)' instead
 58 |                 // Unfortunately, this API does not give us rich APIs out of the box.
 59 |                 if let error = createError(from: result, trust: trust) {
[15/63] Emitting module DeviceAuthority
[16/63] Emitting module ConsoleKit
[17/67] Compiling ConsoleKit Flag.swift
[18/67] Compiling ConsoleKit Option.swift
[19/67] Compiling ConsoleKit Utilities.swift
[20/67] Compiling ConsoleKit Console.swift
[21/67] Compiling ConsoleKit Console+Ask.swift
[22/67] Compiling ConsoleKit Console+Wait.swift
[23/67] Compiling ConsoleKit ConsoleColor.swift
[24/67] Compiling ConsoleKit ConsoleStyle.swift
[25/67] Compiling ConsoleKit ConsoleText.swift
[26/67] Compiling ConsoleKit ConsoleTextFragment.swift
[27/67] Compiling ConsoleKit ActivityBar.swift
[28/67] Compiling ConsoleKit ActivityIndicator.swift
[29/67] Compiling ConsoleKit ActivityIndicatorRenderer.swift
[30/67] Compiling ConsoleKit ActivityIndicatorState.swift
[31/67] Compiling ConsoleKit CustomActivity.swift
[32/67] Compiling ConsoleKit AnyCommand.swift
[33/67] Compiling ConsoleKit Argument.swift
[34/67] Compiling ConsoleKit AnyAsyncCommand.swift
[35/67] Compiling ConsoleKit AsyncCommand.swift
[36/67] Compiling ConsoleKit AsyncCommandGroup.swift
[37/67] Compiling ConsoleKit AsyncCommands.swift
[38/67] Compiling ConsoleKit Command.swift
[39/67] Compiling ConsoleKit CommandContext.swift
[40/67] Compiling ConsoleKit CommandError.swift
[41/67] Compiling ConsoleKit CommandGroup.swift
[42/67] Compiling ConsoleKit ANSI.swift
[43/67] Compiling ConsoleKit Terminal.swift
[44/67] Compiling ConsoleKit readpassphrase_linux.swift
[45/67] Compiling ConsoleKit ConsoleError.swift
[46/67] Compiling ConsoleKit LoadingBar.swift
[47/67] Compiling ConsoleKit ProgressBar.swift
[48/67] Compiling ConsoleKit Console+Clear.swift
[49/67] Compiling ConsoleKit Console+Ephemeral.swift
[50/67] Compiling ConsoleKit ConsoleClear.swift
[51/67] Compiling ConsoleKit ConsoleLogger.swift
[52/67] Compiling ConsoleKit GenerateAsyncAutocompleteCommand.swift
[53/67] Compiling ConsoleKit GenerateAutocompleteCommand.swift
[54/67] Compiling ConsoleKit String+LevenshteinDistance.swift
[55/67] Compiling ConsoleKit Console+Choose.swift
[56/67] Compiling ConsoleKit Console+Confirm.swift
[57/67] Compiling ConsoleKit Console+Input.swift
[58/67] Compiling ConsoleKit Console+Center.swift
[59/67] Compiling ConsoleKit Console+Output.swift
[60/67] Compiling ConsoleKit CommandInput.swift
[61/67] Compiling ConsoleKit CommandSignature.swift
[62/67] Compiling ConsoleKit Commands.swift
[63/67] Compiling ConsoleKit Completion.swift
[64/67] Compiling ConsoleKit Console+Run.swift
[65/72] Compiling CommandLine MobileConfiguration.swift
[66/72] Compiling CommandLine Command.swift
[67/72] Emitting module CommandLine
[68/72] Compiling CommandLine CreateAuthorityCommand.swift
[69/72] Compiling CommandLine CreateLeafCommand.swift
[69/72] Write Objects.LinkFileList
[70/72] Linking swift-device-authority
[71/72] Applying swift-device-authority
Build complete! (7.55s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "console-kit",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "4.5.0",
            "upper_bound" : "5.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/vapor/console-kit.git"
    },
    {
      "identity" : "shellout",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.3.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/JohnSundell/ShellOut.git"
    }
  ],
  "manifest_display_name" : "DeviceAuthority",
  "name" : "DeviceAuthority",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "9.0"
    },
    {
      "name" : "macos",
      "version" : "12.0"
    }
  ],
  "products" : [
    {
      "name" : "DeviceAuthority",
      "targets" : [
        "DeviceAuthority"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "swift-device-authority",
      "targets" : [
        "CommandLine"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "DeviceAuthorityTests",
      "module_type" : "SwiftTarget",
      "name" : "DeviceAuthorityTests",
      "path" : "Tests/DeviceAuthorityTests",
      "sources" : [
        "DeviceAuthorityTests.swift"
      ],
      "target_dependencies" : [
        "DeviceAuthority"
      ],
      "type" : "test"
    },
    {
      "c99name" : "DeviceAuthority",
      "module_type" : "SwiftTarget",
      "name" : "DeviceAuthority",
      "path" : "Sources/DeviceAuthority",
      "product_memberships" : [
        "DeviceAuthority"
      ],
      "sources" : [
        "DeviceAuthority.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "CommandLine",
      "module_type" : "SwiftTarget",
      "name" : "CommandLine",
      "path" : "Sources/CommandLine",
      "product_dependencies" : [
        "ConsoleKit",
        "ShellOut"
      ],
      "product_memberships" : [
        "swift-device-authority"
      ],
      "sources" : [
        "Command.swift",
        "CreateAuthorityCommand.swift",
        "CreateLeafCommand.swift",
        "MobileConfiguration.swift"
      ],
      "type" : "executable"
    }
  ],
  "tools_version" : "5.6"
}
Done.