The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Successful build of DeviceAuthority, reference v0.2.0 (44a5e0), with Swift 6.2 (beta) for macOS (SPM) on 20 Jun 2025 02:13:18 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/getsidetrack/swift-device-authority.git
Reference: v0.2.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/getsidetrack/swift-device-authority
 * tag               v0.2.0     -> FETCH_HEAD
HEAD is now at 44a5e06 Move `numbits` parameters to end of command call
Cloned https://github.com/getsidetrack/swift-device-authority.git
Revision (git rev-parse @):
44a5e06e570bf6c987aa54289948208f12e4a5a0
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/getsidetrack/swift-device-authority.git at v0.2.0
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/getsidetrack/swift-device-authority.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/15] Write sources
[7/15] Write swift-device-authority-entitlement.plist
[7/15] Write sources
[9/15] Write swift-version-1EA4D86E10B52AF.txt
[10/24] Compiling c-nioatomics.c
[12/24] Emitting module Logging
[13/24] Compiling Logging Locks.swift
[14/24] Compiling Logging LogHandler.swift
[15/24] Compiling Logging Logging.swift
[16/24] Compiling Logging MetadataProvider.swift
[16/24] Compiling c-atomics.c
[18/30] Compiling NIOConcurrencyHelpers lock.swift
[19/30] Emitting module NIOConcurrencyHelpers
[20/30] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[21/30] Compiling NIOConcurrencyHelpers NIOLock.swift
[22/30] Compiling NIOConcurrencyHelpers atomics.swift
[23/30] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[24/57] 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 [#SendableClosureCaptures]
 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 [#SendableClosureCaptures]
 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 [#SendableClosureCaptures]
  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 [#SendableClosureCaptures]
 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(_:_:_:)' [#DeprecatedDeclaration]
 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(_:_:_:)' [#DeprecatedDeclaration]
    |             `- 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) {
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[25/57] Emitting module DeviceAuthority
[26/57] Compiling ShellOut ShellOut.swift
[27/57] Emitting module ShellOut
[28/57] Emitting module ConsoleKitTerminal
[29/59] Compiling ConsoleKitTerminal ConsoleClear.swift
[30/59] Compiling ConsoleKitTerminal Console+Ask.swift
[31/59] Compiling ConsoleKitTerminal Console+Choose.swift
[32/59] Compiling ConsoleKitTerminal ProgressBar.swift
[33/59] Compiling ConsoleKitTerminal Console+Clear.swift
[34/59] Compiling ConsoleKitTerminal Console+Ephemeral.swift
[35/59] Compiling ConsoleKitTerminal readpassphrase_linux.swift
[36/59] Compiling ConsoleKitTerminal AnySendableHashable.swift
[37/59] Compiling ConsoleKitTerminal ActivityBar.swift
[38/59] Compiling ConsoleKitTerminal ActivityIndicator.swift
[39/59] Compiling ConsoleKitTerminal ActivityIndicatorRenderer.swift
[40/59] Compiling ConsoleKitTerminal ActivityIndicatorState.swift
[41/59] Compiling ConsoleKitTerminal CustomActivity.swift
[42/59] Compiling ConsoleKitTerminal LoadingBar.swift
[43/59] Compiling ConsoleKitTerminal ConsoleLogger.swift
[44/59] Compiling ConsoleKitTerminal LoggerFragment.swift
[45/59] Compiling ConsoleKitTerminal Console+Confirm.swift
[46/59] Compiling ConsoleKitTerminal Console+Input.swift
[47/59] Compiling ConsoleKitTerminal Console+Center.swift
[48/59] Compiling ConsoleKitTerminal ANSI.swift
[49/59] Compiling ConsoleKitTerminal Console.swift
[50/59] Compiling ConsoleKitTerminal Terminal.swift
[51/59] Compiling ConsoleKitTerminal ConsoleStyle.swift
[52/59] Compiling ConsoleKitTerminal ConsoleText.swift
[53/59] Compiling ConsoleKitTerminal ConsoleTextFragment.swift
[54/59] Compiling ConsoleKitTerminal Console+Output.swift
[55/59] Compiling ConsoleKitTerminal Console+Wait.swift
[56/59] Compiling ConsoleKitTerminal ConsoleColor.swift
[57/81] Emitting module ConsoleKitCommands
[58/83] Compiling ConsoleKitCommands Argument.swift
[59/83] Compiling ConsoleKitCommands CommandSignature.swift
[60/83] Compiling ConsoleKitCommands AnyAsyncCommand.swift
[61/83] Compiling ConsoleKitCommands AsyncCommand.swift
[62/83] Compiling ConsoleKitCommands AsyncCommandGroup.swift
[63/83] Compiling ConsoleKitCommands AsyncCommands.swift
[64/83] Compiling ConsoleKitCommands GenerateAsyncAutocompleteCommand.swift
[65/83] Compiling ConsoleKitCommands AnyCommand.swift
[66/83] Compiling ConsoleKitCommands GenerateAutocompleteCommand.swift
[67/83] Compiling ConsoleKitCommands MergedAsyncCommandGroup.swift
[68/83] Compiling ConsoleKitCommands Command.swift
[69/83] Compiling ConsoleKitCommands CommandContext.swift
[70/83] Compiling ConsoleKitCommands CommandError.swift
[71/83] Compiling ConsoleKitCommands String+LevenshteinDistance.swift
[72/83] Compiling ConsoleKitCommands Utilities.swift
[73/83] Compiling ConsoleKitCommands Commands.swift
[74/83] Compiling ConsoleKitCommands Console+Run.swift
[75/83] Compiling ConsoleKitCommands Flag.swift
[76/83] Compiling ConsoleKitCommands Option.swift
[77/83] Compiling ConsoleKitCommands ConsoleError.swift
[78/83] Compiling ConsoleKitCommands Completion.swift
[79/83] Compiling ConsoleKitCommands CommandGroup.swift
[80/83] Compiling ConsoleKitCommands CommandInput.swift
[81/85] Emitting module ConsoleKit
[82/85] Compiling ConsoleKit Exports.swift
[83/90] Compiling CommandLine MobileConfiguration.swift
[84/90] Compiling CommandLine CreateLeafCommand.swift
[85/90] Compiling CommandLine Command.swift
[86/90] Emitting module CommandLine
[87/90] Compiling CommandLine CreateAuthorityComamnd.swift
[87/90] Write Objects.LinkFileList
[88/90] Linking swift-device-authority
[89/90] Applying swift-device-authority
Build complete! (21.64s)
Fetching https://github.com/JohnSundell/ShellOut.git
Fetching https://github.com/vapor/console-kit.git
[1/980] Fetching shellout
[638/6998] Fetching shellout, console-kit
Fetched https://github.com/vapor/console-kit.git from cache (1.08s)
Fetched https://github.com/JohnSundell/ShellOut.git from cache (1.08s)
Computing version for https://github.com/JohnSundell/ShellOut.git
Computed https://github.com/JohnSundell/ShellOut.git at 2.3.0 (2.91s)
Computing version for https://github.com/vapor/console-kit.git
Computed https://github.com/vapor/console-kit.git at 4.15.2 (0.40s)
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-nio.git
[1/3836] Fetching swift-log
[3837/80163] Fetching swift-log, swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (3.55s)
Fetched https://github.com/apple/swift-log.git from cache (3.55s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (3.98s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.83.0 (0.60s)
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-collections.git
[1/4436] Fetching swift-system
[90/6233] Fetching swift-system, swift-atomics
[1009/22873] Fetching swift-system, swift-atomics, swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.58s)
Fetched https://github.com/apple/swift-system.git from cache (1.58s)
Fetched https://github.com/apple/swift-atomics.git from cache (1.58s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (2.01s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.5.0 (0.39s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (0.48s)
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.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.2.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/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-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.83.0
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.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.6.3
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",
        "CreateAuthorityComamnd.swift",
        "CreateLeafCommand.swift",
        "MobileConfiguration.swift"
      ],
      "type" : "executable"
    }
  ],
  "tools_version" : "5.6"
}
Done.