Build Information
Successful build of Cerberus, reference master (ed6193
), with Swift 6.0 for macOS (SPM) on 26 Nov 2024 18:16:56 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.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/bermudadigitalstudio/cerberus.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/bermudadigitalstudio/cerberus
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
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 master
Fetching https://github.com/bermudadigitalstudio/Log.git
[1/15] Fetching log
Fetched https://github.com/bermudadigitalstudio/Log.git from cache (0.57s)
Computing version for https://github.com/bermudadigitalstudio/Log.git
Computed https://github.com/bermudadigitalstudio/Log.git at 0.0.1 (0.58s)
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
[3/278] Fetching cerberus
Fetched https://github.com/bermudadigitalstudio/cerberus.git from cache (0.70s)
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.02s)
Creating working copy for https://github.com/bermudadigitalstudio/Log.git
Working copy of https://github.com/bermudadigitalstudio/Log.git resolved at 0.0.1
Creating working copy for https://github.com/bermudadigitalstudio/cerberus.git
Working copy of https://github.com/bermudadigitalstudio/cerberus.git resolved at master (ed6193a)
warning: '.resolve-product-dependencies': dependency 'cerberus' is not used by any target
Found 1 product dependencies
- Log
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/bermudadigitalstudio/cerberus.git
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/3] Write sources
[2/3] Write swift-version--7754E27361AE5C74.txt
[4/5] Emitting module Log
[5/5] Compiling Log Log.swift
[6/10] Compiling Cerberus VaultClient+Kubernetes.swift
[7/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; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
41 | logger?.debug("RenewalManager has deinitialized, aborting.")
42 | return
[8/10] Emitting module Cerberus
[9/10] Compiling Cerberus VaultClient.swift
[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; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
114 | }
115 | }
/Users/admin/builder/spi-builder-workspace/Sources/Cerberus/VaultAPIClient.swift:146:9: warning: mutation of captured var 'error' in concurrently-executing code; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
180 | }
181 | }
Build complete! (5.84s)
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.