Build Information
Successful build of CodexAccounts, reference main (bb466b), with Swift 6.1 for macOS (SPM) on 1 Nov 2026 10:00:52 UTC.
Swift 6 data race errors: 1
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/sameerbajaj/CodexAccounts.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/sameerbajaj/CodexAccounts
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at bb466ba feat: add MIT license, Package.swift for SPM/SPI, and canonical backlinks
Cloned https://github.com/sameerbajaj/CodexAccounts.git
Revision (git rev-parse @):
bb466ba7451a7cf1277f8428e843fc384697bda4
SUCCESS checkout https://github.com/sameerbajaj/CodexAccounts.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/sameerbajaj/CodexAccounts.git
https://github.com/sameerbajaj/CodexAccounts.git
{
"dependencies" : [
],
"manifest_display_name" : "CodexAccounts",
"name" : "CodexAccounts",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "15.0"
}
],
"products" : [
{
"name" : "CodexAccounts",
"targets" : [
"CodexAccounts"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "CodexAccountsTests",
"module_type" : "SwiftTarget",
"name" : "CodexAccountsTests",
"path" : "CodexAccountsTests",
"sources" : [
"CodexAccountsTests.swift"
],
"target_dependencies" : [
"CodexAccounts"
],
"type" : "test"
},
{
"c99name" : "CodexAccounts",
"module_type" : "SwiftTarget",
"name" : "CodexAccounts",
"path" : "CodexAccounts",
"product_memberships" : [
"CodexAccounts"
],
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/CodexAccounts/Assets.xcassets",
"rule" : {
"process" : {
}
}
}
],
"sources" : [
"CodexAccountsApp.swift",
"ContentView.swift",
"Helpers/DateExtensions.swift",
"Models/CodexAccount.swift",
"Models/DiagnosticModels.swift",
"Models/UsageModels.swift",
"Services/AccountStore.swift",
"Services/AuthFileWatcher.swift",
"Services/CodexAPIService.swift",
"Services/DiagnosticStore.swift",
"Services/JWTParser.swift",
"Services/SelfUpdater.swift",
"Services/TestMessageService.swift",
"Services/UpdateChecker.swift",
"ViewModels/AccountsViewModel.swift",
"Views/AccountCardView.swift",
"Views/AddAccountView.swift",
"Views/AppTheme.swift",
"Views/DiagnosticTraceView.swift",
"Views/EmptyStateView.swift",
"Views/MenuBarPopover.swift",
"Views/Styles.swift"
],
"type" : "executable"
}
],
"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/7] Write CodexAccounts-entitlement.plist
[0/7] Write sources
[2/7] Copying Assets.xcassets
[3/7] Write swift-version-2F0A5646E1D333AE.txt
[5/29] Emitting module CodexAccounts
/Users/admin/builder/spi-builder-workspace/CodexAccounts/Services/SelfUpdater.swift:267:9: warning: stored property 'onProgress' of 'Sendable'-conforming class 'DownloadDelegate' has non-sendable type '(Double) -> Void'; this is an error in the Swift 6 language mode
265 |
266 | private final class DownloadDelegate: NSObject, URLSessionDownloadDelegate {
267 | let onProgress: (Double) -> Void
| |- warning: stored property 'onProgress' of 'Sendable'-conforming class 'DownloadDelegate' has non-sendable type '(Double) -> Void'; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
268 |
269 | init(progress: @escaping (Double) -> Void) {
[6/31] Compiling CodexAccounts Styles.swift
[7/31] Compiling CodexAccounts resource_bundle_accessor.swift
[8/31] Compiling CodexAccounts DiagnosticStore.swift
[9/31] Compiling CodexAccounts JWTParser.swift
[10/31] Compiling CodexAccounts CodexAccountsApp.swift
[11/31] Compiling CodexAccounts ContentView.swift
[12/31] Compiling CodexAccounts DateExtensions.swift
[13/31] Compiling CodexAccounts SelfUpdater.swift
/Users/admin/builder/spi-builder-workspace/CodexAccounts/Services/SelfUpdater.swift:267:9: warning: stored property 'onProgress' of 'Sendable'-conforming class 'DownloadDelegate' has non-sendable type '(Double) -> Void'; this is an error in the Swift 6 language mode
265 |
266 | private final class DownloadDelegate: NSObject, URLSessionDownloadDelegate {
267 | let onProgress: (Double) -> Void
| |- warning: stored property 'onProgress' of 'Sendable'-conforming class 'DownloadDelegate' has non-sendable type '(Double) -> Void'; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
268 |
269 | init(progress: @escaping (Double) -> Void) {
[14/31] Compiling CodexAccounts TestMessageService.swift
/Users/admin/builder/spi-builder-workspace/CodexAccounts/Services/SelfUpdater.swift:267:9: warning: stored property 'onProgress' of 'Sendable'-conforming class 'DownloadDelegate' has non-sendable type '(Double) -> Void'; this is an error in the Swift 6 language mode
265 |
266 | private final class DownloadDelegate: NSObject, URLSessionDownloadDelegate {
267 | let onProgress: (Double) -> Void
| |- warning: stored property 'onProgress' of 'Sendable'-conforming class 'DownloadDelegate' has non-sendable type '(Double) -> Void'; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
268 |
269 | init(progress: @escaping (Double) -> Void) {
[15/31] Compiling CodexAccounts AppTheme.swift
[16/31] Compiling CodexAccounts DiagnosticTraceView.swift
[17/31] Compiling CodexAccounts EmptyStateView.swift
[18/31] Compiling CodexAccounts MenuBarPopover.swift
[19/31] Compiling CodexAccounts CodexAccount.swift
[20/31] Compiling CodexAccounts DiagnosticModels.swift
[21/31] Compiling CodexAccounts UsageModels.swift
[22/31] Compiling CodexAccounts AccountCardView.swift
[23/31] Compiling CodexAccounts AddAccountView.swift
[24/31] Compiling CodexAccounts AccountStore.swift
/Users/admin/builder/spi-builder-workspace/CodexAccounts/Services/AuthFileWatcher.swift:34:13: warning: capture of 'self' with non-sendable type 'AuthFileWatcher?' in a '@Sendable' closure
11 | /// Uses a lightweight Timer approach (stat check every 2 seconds).
12 | @Observable
13 | final class AuthFileWatcher {
| `- note: class 'AuthFileWatcher' does not conform to the 'Sendable' protocol
14 | var isWatching = false
15 | var onAuthFileChanged: (() -> Void)?
:
32 |
33 | timer = Timer.scheduledTimer(withTimeInterval: 2.0, repeats: true) { [weak self] _ in
34 | self?.checkFile()
| `- warning: capture of 'self' with non-sendable type 'AuthFileWatcher?' in a '@Sendable' closure
35 | }
36 | }
/Users/admin/builder/spi-builder-workspace/CodexAccounts/Services/CodexAPIService.swift:30:29: warning: passing closure as a 'sending' parameter risks causing data races between 'self'-isolated code and concurrent execution of the closure; this is an error in the Swift 6 language mode
28 | }
29 |
30 | let task = Task { try await operation(account, now) }
| | `- note: closure captures 'self'-isolated 'operation'
| `- warning: passing closure as a 'sending' parameter risks causing data races between 'self'-isolated code and concurrent execution of the closure; this is an error in the Swift 6 language mode
31 | inFlightByAccountID[account.id] = task
32 |
[25/31] Compiling CodexAccounts AuthFileWatcher.swift
/Users/admin/builder/spi-builder-workspace/CodexAccounts/Services/AuthFileWatcher.swift:34:13: warning: capture of 'self' with non-sendable type 'AuthFileWatcher?' in a '@Sendable' closure
11 | /// Uses a lightweight Timer approach (stat check every 2 seconds).
12 | @Observable
13 | final class AuthFileWatcher {
| `- note: class 'AuthFileWatcher' does not conform to the 'Sendable' protocol
14 | var isWatching = false
15 | var onAuthFileChanged: (() -> Void)?
:
32 |
33 | timer = Timer.scheduledTimer(withTimeInterval: 2.0, repeats: true) { [weak self] _ in
34 | self?.checkFile()
| `- warning: capture of 'self' with non-sendable type 'AuthFileWatcher?' in a '@Sendable' closure
35 | }
36 | }
/Users/admin/builder/spi-builder-workspace/CodexAccounts/Services/CodexAPIService.swift:30:29: warning: passing closure as a 'sending' parameter risks causing data races between 'self'-isolated code and concurrent execution of the closure; this is an error in the Swift 6 language mode
28 | }
29 |
30 | let task = Task { try await operation(account, now) }
| | `- note: closure captures 'self'-isolated 'operation'
| `- warning: passing closure as a 'sending' parameter risks causing data races between 'self'-isolated code and concurrent execution of the closure; this is an error in the Swift 6 language mode
31 | inFlightByAccountID[account.id] = task
32 |
[26/31] Compiling CodexAccounts CodexAPIService.swift
/Users/admin/builder/spi-builder-workspace/CodexAccounts/Services/AuthFileWatcher.swift:34:13: warning: capture of 'self' with non-sendable type 'AuthFileWatcher?' in a '@Sendable' closure
11 | /// Uses a lightweight Timer approach (stat check every 2 seconds).
12 | @Observable
13 | final class AuthFileWatcher {
| `- note: class 'AuthFileWatcher' does not conform to the 'Sendable' protocol
14 | var isWatching = false
15 | var onAuthFileChanged: (() -> Void)?
:
32 |
33 | timer = Timer.scheduledTimer(withTimeInterval: 2.0, repeats: true) { [weak self] _ in
34 | self?.checkFile()
| `- warning: capture of 'self' with non-sendable type 'AuthFileWatcher?' in a '@Sendable' closure
35 | }
36 | }
/Users/admin/builder/spi-builder-workspace/CodexAccounts/Services/CodexAPIService.swift:30:29: warning: passing closure as a 'sending' parameter risks causing data races between 'self'-isolated code and concurrent execution of the closure; this is an error in the Swift 6 language mode
28 | }
29 |
30 | let task = Task { try await operation(account, now) }
| | `- note: closure captures 'self'-isolated 'operation'
| `- warning: passing closure as a 'sending' parameter risks causing data races between 'self'-isolated code and concurrent execution of the closure; this is an error in the Swift 6 language mode
31 | inFlightByAccountID[account.id] = task
32 |
[27/31] Compiling CodexAccounts UpdateChecker.swift
/Users/admin/builder/spi-builder-workspace/CodexAccounts/ViewModels/AccountsViewModel.swift:2047:13: warning: variable 'trace' was never mutated; consider changing to 'let' constant
2045 | )
2046 |
2047 | var trace = ActivationDiagnosticTrace(
| `- warning: variable 'trace' was never mutated; consider changing to 'let' constant
2048 | id: UUID(),
2049 | accountIdSuffix: accountIdSuffix,
[28/31] Compiling CodexAccounts AccountsViewModel.swift
/Users/admin/builder/spi-builder-workspace/CodexAccounts/ViewModels/AccountsViewModel.swift:2047:13: warning: variable 'trace' was never mutated; consider changing to 'let' constant
2045 | )
2046 |
2047 | var trace = ActivationDiagnosticTrace(
| `- warning: variable 'trace' was never mutated; consider changing to 'let' constant
2048 | id: UUID(),
2049 | accountIdSuffix: accountIdSuffix,
[28/31] Write Objects.LinkFileList
[29/31] Linking CodexAccounts
[30/31] Applying CodexAccounts
Build complete! (10.82s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "CodexAccounts",
"name" : "CodexAccounts",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "15.0"
}
],
"products" : [
{
"name" : "CodexAccounts",
"targets" : [
"CodexAccounts"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "CodexAccountsTests",
"module_type" : "SwiftTarget",
"name" : "CodexAccountsTests",
"path" : "CodexAccountsTests",
"sources" : [
"CodexAccountsTests.swift"
],
"target_dependencies" : [
"CodexAccounts"
],
"type" : "test"
},
{
"c99name" : "CodexAccounts",
"module_type" : "SwiftTarget",
"name" : "CodexAccounts",
"path" : "CodexAccounts",
"product_memberships" : [
"CodexAccounts"
],
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/CodexAccounts/Assets.xcassets",
"rule" : {
"process" : {
}
}
}
],
"sources" : [
"CodexAccountsApp.swift",
"ContentView.swift",
"Helpers/DateExtensions.swift",
"Models/CodexAccount.swift",
"Models/DiagnosticModels.swift",
"Models/UsageModels.swift",
"Services/AccountStore.swift",
"Services/AuthFileWatcher.swift",
"Services/CodexAPIService.swift",
"Services/DiagnosticStore.swift",
"Services/JWTParser.swift",
"Services/SelfUpdater.swift",
"Services/TestMessageService.swift",
"Services/UpdateChecker.swift",
"ViewModels/AccountsViewModel.swift",
"Views/AccountCardView.swift",
"Views/AddAccountView.swift",
"Views/AppTheme.swift",
"Views/DiagnosticTraceView.swift",
"Views/EmptyStateView.swift",
"Views/MenuBarPopover.swift",
"Views/Styles.swift"
],
"type" : "executable"
}
],
"tools_version" : "5.9"
}
Done.