The Swift Package Index logo.Swift Package Index

Build Information

Successful build of DeviceAuthority, reference main (6e9f5a), with Swift 6.2 for macOS (SPM) on 20 Jun 2025 02:13:13 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: 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
========================================
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
[3/15] Write swift-device-authority-entitlement.plist
[3/15] Write sources
[9/15] Write swift-version-1EA4D86E10B52AF.txt
[10/24] Compiling c-nioatomics.c
[12/24] Compiling Logging MetadataProvider.swift
[12/24] Compiling c-atomics.c
[14/24] Emitting module Logging
[15/24] Compiling Logging Logging.swift
[16/24] Compiling Logging Locks.swift
[17/24] Compiling Logging LogHandler.swift
[18/30] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[19/30] Emitting module NIOConcurrencyHelpers
[20/30] Compiling NIOConcurrencyHelpers NIOLock.swift
[21/30] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[22/30] Compiling NIOConcurrencyHelpers lock.swift
[23/30] Compiling NIOConcurrencyHelpers atomics.swift
[24/57] Emitting module DeviceAuthority
[25/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>
[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 Console+Output.swift
[33/59] Compiling ConsoleKitTerminal Console+Wait.swift
[34/59] Compiling ConsoleKitTerminal ConsoleColor.swift
[35/59] Compiling ConsoleKitTerminal ProgressBar.swift
[36/59] Compiling ConsoleKitTerminal Console+Clear.swift
[37/59] Compiling ConsoleKitTerminal Console+Ephemeral.swift
[38/59] Compiling ConsoleKitTerminal ActivityIndicatorState.swift
[39/59] Compiling ConsoleKitTerminal CustomActivity.swift
[40/59] Compiling ConsoleKitTerminal LoadingBar.swift
[41/59] Compiling ConsoleKitTerminal ConsoleLogger.swift
[42/59] Compiling ConsoleKitTerminal LoggerFragment.swift
[43/59] Compiling ConsoleKitTerminal Console+Confirm.swift
[44/59] Compiling ConsoleKitTerminal Console+Input.swift
[45/59] Compiling ConsoleKitTerminal Console+Center.swift
[46/59] Compiling ConsoleKitTerminal ConsoleStyle.swift
[47/59] Compiling ConsoleKitTerminal ConsoleText.swift
[48/59] Compiling ConsoleKitTerminal ConsoleTextFragment.swift
[49/59] Compiling ConsoleKitTerminal ActivityBar.swift
[50/59] Compiling ConsoleKitTerminal ActivityIndicator.swift
[51/59] Compiling ConsoleKitTerminal ActivityIndicatorRenderer.swift
[52/59] Compiling ConsoleKitTerminal ANSI.swift
[53/59] Compiling ConsoleKitTerminal Console.swift
[54/59] Compiling ConsoleKitTerminal Terminal.swift
[55/59] Compiling ConsoleKitTerminal readpassphrase_linux.swift
[56/59] Compiling ConsoleKitTerminal AnySendableHashable.swift
[57/81] Emitting module ConsoleKitCommands
[58/83] Compiling ConsoleKitCommands Flag.swift
[59/83] Compiling ConsoleKitCommands Option.swift
[60/83] Compiling ConsoleKitCommands Argument.swift
[61/83] Compiling ConsoleKitCommands CommandSignature.swift
[62/83] Compiling ConsoleKitCommands Command.swift
[63/83] Compiling ConsoleKitCommands CommandContext.swift
[64/83] Compiling ConsoleKitCommands CommandError.swift
[65/83] Compiling ConsoleKitCommands String+LevenshteinDistance.swift
[66/83] Compiling ConsoleKitCommands Utilities.swift
[67/83] Compiling ConsoleKitCommands Commands.swift
[68/83] Compiling ConsoleKitCommands Console+Run.swift
[69/83] Compiling ConsoleKitCommands CommandGroup.swift
[70/83] Compiling ConsoleKitCommands CommandInput.swift
[71/83] Compiling ConsoleKitCommands GenerateAutocompleteCommand.swift
[72/83] Compiling ConsoleKitCommands MergedAsyncCommandGroup.swift
[73/83] Compiling ConsoleKitCommands AsyncCommands.swift
[74/83] Compiling ConsoleKitCommands GenerateAsyncAutocompleteCommand.swift
[75/83] Compiling ConsoleKitCommands AnyCommand.swift
[76/83] Compiling ConsoleKitCommands AnyAsyncCommand.swift
[77/83] Compiling ConsoleKitCommands AsyncCommand.swift
[78/83] Compiling ConsoleKitCommands AsyncCommandGroup.swift
[79/83] Compiling ConsoleKitCommands ConsoleError.swift
[80/83] Compiling ConsoleKitCommands Completion.swift
[81/85] Compiling ConsoleKit Exports.swift
[82/85] Emitting module ConsoleKit
[83/90] Compiling CommandLine MobileConfiguration.swift
[84/90] Compiling CommandLine Command.swift
[85/90] Emitting module CommandLine
[86/90] Compiling CommandLine CreateLeafCommand.swift
[87/90] Compiling CommandLine CreateAuthorityCommand.swift
[87/90] Write Objects.LinkFileList
[88/90] Linking swift-device-authority
[89/90] Applying swift-device-authority
Build complete! (21.60s)
Fetching https://github.com/vapor/console-kit.git
Fetching https://github.com/JohnSundell/ShellOut.git
[1/980] Fetching shellout
[756/6998] Fetching shellout, console-kit
Fetched https://github.com/JohnSundell/ShellOut.git from cache (1.11s)
Fetched https://github.com/vapor/console-kit.git from cache (1.11s)
Computing version for https://github.com/JohnSundell/ShellOut.git
Computed https://github.com/JohnSundell/ShellOut.git at 2.3.0 (3.05s)
Computing version for https://github.com/vapor/console-kit.git
Computed https://github.com/vapor/console-kit.git at 4.15.2 (0.43s)
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-log.git from cache (3.60s)
Fetched https://github.com/apple/swift-nio.git from cache (3.60s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (4.07s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.83.0 (0.63s)
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-collections.git
[1/1797] Fetching swift-atomics
[109/6233] Fetching swift-atomics, swift-system
[1481/22873] Fetching swift-atomics, swift-system, swift-collections
Fetched https://github.com/apple/swift-system.git from cache (1.69s)
Fetched https://github.com/apple/swift-atomics.git from cache (1.69s)
Fetched https://github.com/apple/swift-collections.git from cache (1.69s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (2.15s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.5.0 (0.42s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (0.50s)
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/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-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.83.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-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-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.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.15.2
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.