Build Information
Successful build of DeviceAuthority, reference main (6e9f5a
), with Swift 6.0 for macOS (SPM) on 29 Nov 2024 08:35:02 UTC.
Swift 6 data race errors: 0
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.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.58.1
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
[10/960] Fetching shellout
[184/4669] Fetching shellout, swift-log
[333/10139] Fetching shellout, swift-log, console-kit
Fetched https://github.com/apple/swift-log.git from cache (1.13s)
Fetched https://github.com/JohnSundell/ShellOut from cache (1.13s)
Fetched https://github.com/vapor/console-kit.git from cache (1.13s)
Computing version for https://github.com/JohnSundell/ShellOut.git
Computed https://github.com/JohnSundell/ShellOut.git at 2.3.0 (2.40s)
Computing version for https://github.com/vapor/console-kit.git
Computed https://github.com/vapor/console-kit.git at 4.5.0 (0.54s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.4.4 (0.64s)
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
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/JohnSundell/ShellOut
Working copy of https://github.com/JohnSundell/ShellOut resolved at 2.3.0
========================================
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.1",
"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.2",
"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.77.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.0",
"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/vapor/console-kit.git from cache (0.48s)
Fetched https://github.com/JohnSundell/ShellOut.git from cache (0.48s)
Computing version for https://github.com/JohnSundell/ShellOut.git
Computed https://github.com/JohnSundell/ShellOut.git at 2.3.0 (0.54s)
Computing version for https://github.com/vapor/console-kit.git
Computed https://github.com/vapor/console-kit.git at 4.15.1 (0.45s)
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/apple/swift-log.git from cache
[1/71999] Fetching swift-nio
Fetched https://github.com/apple/swift-log.git from cache (3.85s)
Fetched https://github.com/apple/swift-nio.git from cache (3.85s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.2 (0.43s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.77.0 (0.62s)
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-system.git
[1/3919] Fetching swift-system
[80/5488] Fetching swift-system, swift-atomics
[4470/21091] Fetching swift-system, swift-atomics, swift-collections
Fetched https://github.com/apple/swift-atomics.git from cache (11.14s)
Fetched https://github.com/apple/swift-system.git from cache (11.14s)
Fetched https://github.com/apple/swift-collections.git from cache (11.14s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.4.0 (0.42s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (0.44s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.1.4 (0.64s)
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.1
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.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.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.2
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.77.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/getsidetrack/swift-device-authority.git
Working copy of https://github.com/getsidetrack/swift-device-authority.git resolved at main (6e9f5ac)
Creating working copy for https://github.com/JohnSundell/ShellOut.git
Working copy of https://github.com/JohnSundell/ShellOut.git resolved at 2.3.0
Found 2 product dependencies
- console-kit
- ShellOut
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
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.1.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
[5/10] Write swift-device-authority-entitlement.plist
[6/10] Write swift-version--7754E27361AE5C74.txt
[8/18] Compiling Logging LogHandler.swift
[9/18] Compiling Logging Locks.swift
[10/18] Emitting module Logging
[11/18] Compiling Logging Logging.swift
[12/63] Compiling ConsoleKit LoadingBar.swift
[13/63] Compiling ConsoleKit ProgressBar.swift
[14/63] Compiling ConsoleKit Console+Clear.swift
[15/63] Compiling ConsoleKit Console+Ephemeral.swift
[16/63] Compiling ConsoleKit ConsoleClear.swift
[17/67] Compiling ConsoleKit Console+Wait.swift
[18/67] Compiling ConsoleKit ConsoleColor.swift
[19/67] Compiling ConsoleKit ConsoleStyle.swift
[20/67] Compiling ConsoleKit ConsoleText.swift
[21/67] Compiling ConsoleKit ConsoleTextFragment.swift
[22/67] 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; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
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) {
[23/67] Emitting module DeviceAuthority
[24/67] Emitting module ShellOut
[25/67] Compiling ShellOut ShellOut.swift
[26/67] Compiling ConsoleKit Flag.swift
[27/67] Compiling ConsoleKit Option.swift
[28/67] Compiling ConsoleKit Utilities.swift
[29/67] Compiling ConsoleKit Console.swift
[30/67] Compiling ConsoleKit Console+Ask.swift
[31/67] Compiling ConsoleKit Console+Choose.swift
[32/67] Compiling ConsoleKit Console+Confirm.swift
[33/67] Compiling ConsoleKit Console+Input.swift
[34/67] Compiling ConsoleKit Console+Center.swift
[35/67] Compiling ConsoleKit Console+Output.swift
[36/67] Compiling ConsoleKit ANSI.swift
[37/67] Compiling ConsoleKit Terminal.swift
[38/67] Compiling ConsoleKit readpassphrase_linux.swift
[39/67] Compiling ConsoleKit ConsoleError.swift
[40/67] Compiling ConsoleKit ActivityBar.swift
[41/67] Compiling ConsoleKit ActivityIndicator.swift
[42/67] Compiling ConsoleKit ActivityIndicatorRenderer.swift
[43/67] Compiling ConsoleKit ActivityIndicatorState.swift
[44/67] Compiling ConsoleKit CustomActivity.swift
[45/67] Emitting module ConsoleKit
[46/67] Compiling ConsoleKit AsyncCommands.swift
[47/67] Compiling ConsoleKit Command.swift
[48/67] Compiling ConsoleKit CommandContext.swift
[49/67] Compiling ConsoleKit CommandError.swift
[50/67] Compiling ConsoleKit CommandGroup.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 AnyCommand.swift
[56/67] Compiling ConsoleKit Argument.swift
[57/67] Compiling ConsoleKit AnyAsyncCommand.swift
[58/67] Compiling ConsoleKit AsyncCommand.swift
[59/67] Compiling ConsoleKit AsyncCommandGroup.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! (9.74s)
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.