Build Information
Successful build of ZenmanageSwift, reference main (adce34), with Swift 6.1 for macOS (SPM) on 10 Nov 2026 07:07:45 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 InferSendableFromCapturesBuild Log
========================================
RunAll
========================================
Builder version: 5.1.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/zenmanage/zenmanage-swift.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/zenmanage/zenmanage-swift
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at adce341 ci: pin GitHub Actions to commit SHAs (#11)
Cloned https://github.com/zenmanage/zenmanage-swift.git
Revision (git rev-parse @):
adce3412c017b77c796cadcf281a695dd9434648
SUCCESS checkout https://github.com/zenmanage/zenmanage-swift.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/zenmanage/zenmanage-swift.git
https://github.com/zenmanage/zenmanage-swift.git
{
"dependencies" : [
],
"manifest_display_name" : "ZenmanageSwift",
"name" : "ZenmanageSwift",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "tvos",
"version" : "13.0"
},
{
"name" : "watchos",
"version" : "6.0"
}
],
"products" : [
{
"name" : "Zenmanage",
"targets" : [
"Zenmanage"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "ZenmanageTests",
"module_type" : "SwiftTarget",
"name" : "ZenmanageTests",
"path" : "Tests/ZenmanageTests",
"sources" : [
"CDNPayloadTests.swift",
"CacheTests.swift",
"ConfigurationTests.swift",
"ErrorsTests.swift",
"FlagManagerFallbackTests.swift",
"JsonFlagTypeTests.swift",
"ModelsTests.swift",
"ObjectiveCBridgeTests.swift",
"ReleaseVersionTests.swift",
"RequestTimeoutTests.swift",
"RolloutTests.swift",
"RuleEngineTests.swift",
"RulePositionTests.swift",
"TestSupport.swift",
"UnknownFlagTypeTests.swift",
"ZenmanageClientTests.swift"
],
"target_dependencies" : [
"Zenmanage"
],
"type" : "test"
},
{
"c99name" : "Zenmanage",
"module_type" : "SwiftTarget",
"name" : "Zenmanage",
"path" : "Sources/Zenmanage",
"product_memberships" : [
"Zenmanage"
],
"sources" : [
"APIClient.swift",
"Cache.swift",
"Configuration.swift",
"Errors.swift",
"FlagManager.swift",
"Logging.swift",
"Models.swift",
"ObjectiveC.swift",
"RuleEngine.swift",
"Version.swift",
"Zenmanage.swift"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
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/2] Write sources
[1/2] Write swift-version-2F0A5646E1D333AE.txt
[3/13] Compiling Zenmanage Version.swift
[4/13] Compiling Zenmanage ObjectiveC.swift
/Users/admin/builder/spi-builder-workspace/Sources/Zenmanage/ObjectiveC.swift:184:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
182 |
183 | @objc public func refreshRulesWithCompletion(_ completion: @escaping (NSError?) -> Void) {
184 | Task {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
185 | do {
186 | try await manager.refreshRules()
| `- note: closure captures 'self' which is accessible to code in the current task
187 | completion(nil)
188 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/Zenmanage/ObjectiveC.swift:197:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
195 | let scopedManager = context.map { manager.withContext($0.context) } ?? manager
196 |
197 | Task {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
198 | do {
199 | let flags = try await scopedManager.all().map(ObjCFlag.init)
| `- note: closure captures non-Sendable 'scopedManager'
200 | completion(flags, nil)
| `- note: closure captures non-Sendable 'completion'
201 | } catch {
202 | completion(nil, error.zenmanageNSError)
/Users/admin/builder/spi-builder-workspace/Sources/Zenmanage/ObjectiveC.swift:215:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
213 | let scopedManager = context.map { manager.withContext($0.context) } ?? manager
214 |
215 | Task {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
216 | do {
217 | let flag: Flag
218 |
219 | switch defaultValue {
| `- note: closure captures non-Sendable 'defaultValue'
220 | case let value as NSString:
221 | flag = try await scopedManager.single(key, defaultValue: value as String)
| `- note: closure captures non-Sendable 'scopedManager'
222 | case let value as NSNumber:
223 | if CFGetTypeID(value) == CFBooleanGetTypeID() {
:
236 | }
237 |
238 | completion(ObjCFlag(flag: flag), nil)
| `- note: closure captures non-Sendable 'completion'
239 | } catch {
240 | completion(nil, error.zenmanageNSError)
[5/13] Compiling Zenmanage RuleEngine.swift
[6/13] Compiling Zenmanage Logging.swift
[7/13] Compiling Zenmanage FlagManager.swift
/Users/admin/builder/spi-builder-workspace/Sources/Zenmanage/FlagManager.swift:232:46: warning: type 'any ZenmanageLogger' does not conform to the 'Sendable' protocol
230 |
231 | let decoder = JSONDecoder()
232 | decoder.userInfo[.zenmanageLogger] = logger
| `- warning: type 'any ZenmanageLogger' does not conform to the 'Sendable' protocol
233 | return try decoder.decode(RulesEnvelope.self, from: data).flags
234 | }
[8/13] Compiling Zenmanage Configuration.swift
[9/13] Compiling Zenmanage Errors.swift
[10/13] Emitting module Zenmanage
[11/13] Compiling Zenmanage APIClient.swift
/Users/admin/builder/spi-builder-workspace/Sources/Zenmanage/APIClient.swift:34:46: warning: type 'any ZenmanageLogger' does not conform to the 'Sendable' protocol
32 | clientAgent = configuration.clientAgent ?? Self.defaultClientAgent
33 | requestTimeout = configuration.requestTimeout
34 | decoder.userInfo[.zenmanageLogger] = logger
| `- warning: type 'any ZenmanageLogger' does not conform to the 'Sendable' protocol
35 | }
36 |
/Users/admin/builder/spi-builder-workspace/Sources/Zenmanage/APIClient.swift:71:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
69 | }
70 |
71 | Task {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
72 | do {
73 | try await sendUsage(key: key, context: context, defaultValue: defaultValue)
| `- note: closure captures 'self' which is accessible to code in the current task
74 | } catch {
75 | logger.debug("Failed to report usage", metadata: ["key": key, "error": error.localizedDescription])
[12/13] Compiling Zenmanage Cache.swift
/Users/admin/builder/spi-builder-workspace/Sources/Zenmanage/APIClient.swift:34:46: warning: type 'any ZenmanageLogger' does not conform to the 'Sendable' protocol
32 | clientAgent = configuration.clientAgent ?? Self.defaultClientAgent
33 | requestTimeout = configuration.requestTimeout
34 | decoder.userInfo[.zenmanageLogger] = logger
| `- warning: type 'any ZenmanageLogger' does not conform to the 'Sendable' protocol
35 | }
36 |
/Users/admin/builder/spi-builder-workspace/Sources/Zenmanage/APIClient.swift:71:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
69 | }
70 |
71 | Task {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
72 | do {
73 | try await sendUsage(key: key, context: context, defaultValue: defaultValue)
| `- note: closure captures 'self' which is accessible to code in the current task
74 | } catch {
75 | logger.debug("Failed to report usage", metadata: ["key": key, "error": error.localizedDescription])
[13/13] Compiling Zenmanage Models.swift
[14/14] Compiling Zenmanage Zenmanage.swift
Build complete! (5.26s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "ZenmanageSwift",
"name" : "ZenmanageSwift",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "tvos",
"version" : "13.0"
},
{
"name" : "watchos",
"version" : "6.0"
}
],
"products" : [
{
"name" : "Zenmanage",
"targets" : [
"Zenmanage"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "ZenmanageTests",
"module_type" : "SwiftTarget",
"name" : "ZenmanageTests",
"path" : "Tests/ZenmanageTests",
"sources" : [
"CDNPayloadTests.swift",
"CacheTests.swift",
"ConfigurationTests.swift",
"ErrorsTests.swift",
"FlagManagerFallbackTests.swift",
"JsonFlagTypeTests.swift",
"ModelsTests.swift",
"ObjectiveCBridgeTests.swift",
"ReleaseVersionTests.swift",
"RequestTimeoutTests.swift",
"RolloutTests.swift",
"RuleEngineTests.swift",
"RulePositionTests.swift",
"TestSupport.swift",
"UnknownFlagTypeTests.swift",
"ZenmanageClientTests.swift"
],
"target_dependencies" : [
"Zenmanage"
],
"type" : "test"
},
{
"c99name" : "Zenmanage",
"module_type" : "SwiftTarget",
"name" : "Zenmanage",
"path" : "Sources/Zenmanage",
"product_memberships" : [
"Zenmanage"
],
"sources" : [
"APIClient.swift",
"Cache.swift",
"Configuration.swift",
"Errors.swift",
"FlagManager.swift",
"Logging.swift",
"Models.swift",
"ObjectiveC.swift",
"RuleEngine.swift",
"Version.swift",
"Zenmanage.swift"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
Done.