The Swift Package Index logo.Swift Package Index

Build Information

Successful build of swift-acp, reference main (71cb78), with Swift 6.1 for macOS (SPM) on 9 Apr 2026 21:20:45 UTC.

Swift 6 data race errors: 3

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 InferSendableFromCaptures

Build Log

========================================
RunAll
========================================
Builder version: 4.69.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/TeamSloppy/swift-acp.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/TeamSloppy/swift-acp
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 71cb789 Fix macos error
Submodule path 'reference/agent-client-protocol': checked out '709a3cfe366fb7063aea284ef4f3b25dad1ac6ec'
Submodule path 'reference/kotlin-sdk': checked out 'eb2f16207e41febfa901d0bf0070f0213ae7df8d'
Submodule path 'reference/python-sdk': checked out '69c184c86a1ec7e77a718fcbbfdc7db7eb5351e6'
Submodule path 'reference/registry': checked out '2924f20806c51e1281e3f829ed8b59d1e4699ef6'
Submodule path 'reference/rust-sdk': checked out 'a0917aafe98c95d8e3654d5c441e0cd347df654f'
Submodule path 'reference/typescript-sdk': checked out '9609d922dc855dc4446dfaef082416d34e0f123a'
Submodule 'reference/agent-client-protocol' (https://github.com/agentclientprotocol/agent-client-protocol.git) registered for path 'reference/agent-client-protocol'
Submodule 'reference/kotlin-sdk' (https://github.com/agentclientprotocol/kotlin-sdk.git) registered for path 'reference/kotlin-sdk'
Submodule 'reference/python-sdk' (https://github.com/agentclientprotocol/python-sdk.git) registered for path 'reference/python-sdk'
Submodule 'reference/registry' (https://github.com/agentclientprotocol/registry.git) registered for path 'reference/registry'
Submodule 'reference/rust-sdk' (https://github.com/agentclientprotocol/rust-sdk.git) registered for path 'reference/rust-sdk'
Submodule 'reference/typescript-sdk' (https://github.com/agentclientprotocol/typescript-sdk.git) registered for path 'reference/typescript-sdk'
Cloning into '/Users/admin/builder/spi-builder-workspace/reference/agent-client-protocol'...
Cloning into '/Users/admin/builder/spi-builder-workspace/reference/kotlin-sdk'...
Cloning into '/Users/admin/builder/spi-builder-workspace/reference/python-sdk'...
Cloning into '/Users/admin/builder/spi-builder-workspace/reference/registry'...
Cloning into '/Users/admin/builder/spi-builder-workspace/reference/rust-sdk'...
Cloning into '/Users/admin/builder/spi-builder-workspace/reference/typescript-sdk'...
Cloned https://github.com/TeamSloppy/swift-acp.git
Revision (git rev-parse @):
71cb789b66355bbeb82b402a4b61b7cb1e584ad8
SUCCESS checkout https://github.com/TeamSloppy/swift-acp.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/TeamSloppy/swift-acp.git
https://github.com/TeamSloppy/swift-acp.git
{
  "dependencies" : [
    {
      "identity" : "swift-log",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.6.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-log.git"
    }
  ],
  "manifest_display_name" : "swift-acp",
  "name" : "swift-acp",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "12.0"
    },
    {
      "name" : "ios",
      "version" : "15.0"
    },
    {
      "name" : "tvos",
      "version" : "15.0"
    },
    {
      "name" : "watchos",
      "version" : "8.0"
    }
  ],
  "products" : [
    {
      "name" : "ACPModel",
      "targets" : [
        "ACPModel"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "ACP",
      "targets" : [
        "ACP"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "ACPHTTP",
      "targets" : [
        "ACPHTTP"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "ACPRegistry",
      "targets" : [
        "ACPRegistry"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "ACPTests",
      "module_type" : "SwiftTarget",
      "name" : "ACPTests",
      "path" : "Tests/ACPTests",
      "sources" : [
        "ACPClientTests.swift",
        "ACPE2ETests.swift",
        "ACPPerformanceTests.swift"
      ],
      "target_dependencies" : [
        "ACP",
        "ACPModel"
      ],
      "type" : "test"
    },
    {
      "c99name" : "ACPRegistryTests",
      "module_type" : "SwiftTarget",
      "name" : "ACPRegistryTests",
      "path" : "Tests/ACPRegistryTests",
      "sources" : [
        "RegistryTests.swift"
      ],
      "target_dependencies" : [
        "ACPRegistry"
      ],
      "type" : "test"
    },
    {
      "c99name" : "ACPRegistry",
      "module_type" : "SwiftTarget",
      "name" : "ACPRegistry",
      "path" : "Sources/ACPRegistry",
      "product_memberships" : [
        "ACPRegistry"
      ],
      "sources" : [
        "AgentInstaller.swift",
        "RegistryClient.swift",
        "RegistryTypes.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "ACPModelTests",
      "module_type" : "SwiftTarget",
      "name" : "ACPModelTests",
      "path" : "Tests/ACPModelTests",
      "sources" : [
        "ACPModelTests.swift"
      ],
      "target_dependencies" : [
        "ACPModel"
      ],
      "type" : "test"
    },
    {
      "c99name" : "ACPModel",
      "module_type" : "SwiftTarget",
      "name" : "ACPModel",
      "path" : "Sources/ACPModel",
      "product_memberships" : [
        "ACPModel",
        "ACP",
        "ACPHTTP"
      ],
      "sources" : [
        "ACPModel.swift",
        "Capabilities.swift",
        "Config.swift",
        "Content.swift",
        "Errors.swift",
        "Message.swift",
        "Permission.swift",
        "Requests.swift",
        "Responses.swift",
        "Session.swift",
        "Terminal.swift",
        "Tool.swift",
        "Updates.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "ACPHTTPTests",
      "module_type" : "SwiftTarget",
      "name" : "ACPHTTPTests",
      "path" : "Tests/ACPHTTPTests",
      "sources" : [
        "ACPHTTPTests.swift"
      ],
      "target_dependencies" : [
        "ACPHTTP",
        "ACP",
        "ACPModel"
      ],
      "type" : "test"
    },
    {
      "c99name" : "ACPHTTP",
      "module_type" : "SwiftTarget",
      "name" : "ACPHTTP",
      "path" : "Sources/ACPHTTP",
      "product_memberships" : [
        "ACPHTTP"
      ],
      "sources" : [
        "ACPHTTP.swift",
        "WebSocketTransport.swift"
      ],
      "target_dependencies" : [
        "ACP",
        "ACPModel"
      ],
      "type" : "library"
    },
    {
      "c99name" : "ACP",
      "module_type" : "SwiftTarget",
      "name" : "ACP",
      "path" : "Sources/ACP",
      "product_dependencies" : [
        "Logging"
      ],
      "product_memberships" : [
        "ACP",
        "ACPHTTP"
      ],
      "sources" : [
        "Agent/Agent.swift",
        "Agent/StdinTransport.swift",
        "Capabilities.swift",
        "Client.swift",
        "ClientDelegate.swift",
        "Config.swift",
        "Content.swift",
        "Errors.swift",
        "FileSystemDelegate.swift",
        "Internal/ProcessManager.swift",
        "Internal/ProcessRegistry.swift",
        "Internal/RequestRouter.swift",
        "Message.swift",
        "Permission.swift",
        "Requests.swift",
        "Responses.swift",
        "Session.swift",
        "Terminal.swift",
        "TerminalDelegate.swift",
        "Tool.swift",
        "Transport/StdioTransport.swift",
        "Transport/Transport.swift",
        "Updates.swift",
        "Utilities/Logger.swift",
        "Utilities/ShellEnvironment.swift"
      ],
      "target_dependencies" : [
        "ACPModel"
      ],
      "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/6] Write sources
[5/6] Write swift-version-2F0A5646E1D333AE.txt
[7/29] Compiling Logging MetadataProvider.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[8/29] Emitting module Logging
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[9/29] Compiling Logging LogHandler.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[10/29] Compiling Logging Locks.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[11/29] Compiling Logging LogEvent.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[12/29] Compiling Logging Logging.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[13/29] Compiling ACPRegistry AgentInstaller.swift
[14/29] Compiling ACPRegistry RegistryTypes.swift
[15/29] Compiling ACPRegistry RegistryClient.swift
[16/29] Emitting module ACPRegistry
[17/29] Compiling ACPModel Tool.swift
[18/29] Compiling ACPModel Terminal.swift
[19/29] Compiling ACPModel Requests.swift
[20/29] Compiling ACPModel Responses.swift
[21/29] Compiling ACPModel Session.swift
[22/30] Compiling ACPModel Errors.swift
[23/30] Compiling ACPModel Message.swift
[24/30] Compiling ACPModel Config.swift
[25/30] Compiling ACPModel Content.swift
[26/30] Compiling ACPModel ACPModel.swift
[27/30] Compiling ACPModel Capabilities.swift
[28/30] Emitting module ACPModel
[29/30] Compiling ACPModel Permission.swift
[30/30] Compiling ACPModel Updates.swift
[31/54] Emitting module ACP
/Users/admin/builder/spi-builder-workspace/Sources/ACP/Utilities/Logger.swift:35:24: warning: static property 'acpSubsystem' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
33 | extension Logger {
34 |     /// Default subsystem for ACP logging
35 |     private static var acpSubsystem = "com.acp"
   |                        |- warning: static property 'acpSubsystem' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                        |- note: convert 'acpSubsystem' to a 'let' constant to make 'Sendable' shared state immutable
   |                        |- note: add '@MainActor' to make static property 'acpSubsystem' part of global actor 'MainActor'
   |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 |
37 |     /// Configure the logging subsystem (call once at initialization)
/Users/admin/builder/spi-builder-workspace/Sources/ACP/Utilities/ShellEnvironment.swift:13:24: warning: static property 'cachedEnvironment' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 11 |     private static let cacheLock = NSLock()
 12 |     private static let cacheCondition = NSCondition()
 13 |     private static var cachedEnvironment: [String: String]?
    |                        |- warning: static property 'cachedEnvironment' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert 'cachedEnvironment' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: add '@MainActor' to make static property 'cachedEnvironment' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 14 |     private static var isLoading = false
 15 |
/Users/admin/builder/spi-builder-workspace/Sources/ACP/Utilities/ShellEnvironment.swift:14:24: warning: static property 'isLoading' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 12 |     private static let cacheCondition = NSCondition()
 13 |     private static var cachedEnvironment: [String: String]?
 14 |     private static var isLoading = false
    |                        |- warning: static property 'isLoading' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert 'isLoading' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: add '@MainActor' to make static property 'isLoading' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 15 |
 16 |     /// Get user's shell environment (cached after first load)
[32/56] Compiling ACP Responses.swift
[33/56] Compiling ACP Session.swift
[34/56] Compiling ACP Tool.swift
[35/56] Compiling ACP StdioTransport.swift
[36/56] Compiling ACP Agent.swift
[37/56] Compiling ACP StdinTransport.swift
[38/56] Compiling ACP Capabilities.swift
[39/56] Compiling ACP Logger.swift
/Users/admin/builder/spi-builder-workspace/Sources/ACP/Utilities/Logger.swift:35:24: warning: static property 'acpSubsystem' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
33 | extension Logger {
34 |     /// Default subsystem for ACP logging
35 |     private static var acpSubsystem = "com.acp"
   |                        |- warning: static property 'acpSubsystem' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                        |- note: convert 'acpSubsystem' to a 'let' constant to make 'Sendable' shared state immutable
   |                        |- note: add '@MainActor' to make static property 'acpSubsystem' part of global actor 'MainActor'
   |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 |
37 |     /// Configure the logging subsystem (call once at initialization)
/Users/admin/builder/spi-builder-workspace/Sources/ACP/Utilities/Logger.swift:29:17: warning: 'log(level:message:metadata:source:file:function:line:)' is deprecated: renamed to 'log(event:)'
27 |     private func log(level: Logging.Logger.Level, message: String) {
28 |         let handler = StreamLogHandler.standardError(label: label)
29 |         handler.log(level: level, message: .init(stringLiteral: message), metadata: nil, source: label, file: #fileID, function: #function, line: #line)
   |                 |- warning: 'log(level:message:metadata:source:file:function:line:)' is deprecated: renamed to 'log(event:)'
   |                 `- note: use 'log(event:)' instead
30 |     }
31 | }
/Users/admin/builder/spi-builder-workspace/Sources/ACP/Utilities/ShellEnvironment.swift:13:24: warning: static property 'cachedEnvironment' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 11 |     private static let cacheLock = NSLock()
 12 |     private static let cacheCondition = NSCondition()
 13 |     private static var cachedEnvironment: [String: String]?
    |                        |- warning: static property 'cachedEnvironment' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert 'cachedEnvironment' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: add '@MainActor' to make static property 'cachedEnvironment' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 14 |     private static var isLoading = false
 15 |
/Users/admin/builder/spi-builder-workspace/Sources/ACP/Utilities/ShellEnvironment.swift:14:24: warning: static property 'isLoading' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 12 |     private static let cacheCondition = NSCondition()
 13 |     private static var cachedEnvironment: [String: String]?
 14 |     private static var isLoading = false
    |                        |- warning: static property 'isLoading' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert 'isLoading' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: add '@MainActor' to make static property 'isLoading' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 15 |
 16 |     /// Get user's shell environment (cached after first load)
[40/56] Compiling ACP ShellEnvironment.swift
/Users/admin/builder/spi-builder-workspace/Sources/ACP/Utilities/Logger.swift:35:24: warning: static property 'acpSubsystem' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
33 | extension Logger {
34 |     /// Default subsystem for ACP logging
35 |     private static var acpSubsystem = "com.acp"
   |                        |- warning: static property 'acpSubsystem' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                        |- note: convert 'acpSubsystem' to a 'let' constant to make 'Sendable' shared state immutable
   |                        |- note: add '@MainActor' to make static property 'acpSubsystem' part of global actor 'MainActor'
   |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 |
37 |     /// Configure the logging subsystem (call once at initialization)
/Users/admin/builder/spi-builder-workspace/Sources/ACP/Utilities/Logger.swift:29:17: warning: 'log(level:message:metadata:source:file:function:line:)' is deprecated: renamed to 'log(event:)'
27 |     private func log(level: Logging.Logger.Level, message: String) {
28 |         let handler = StreamLogHandler.standardError(label: label)
29 |         handler.log(level: level, message: .init(stringLiteral: message), metadata: nil, source: label, file: #fileID, function: #function, line: #line)
   |                 |- warning: 'log(level:message:metadata:source:file:function:line:)' is deprecated: renamed to 'log(event:)'
   |                 `- note: use 'log(event:)' instead
30 |     }
31 | }
/Users/admin/builder/spi-builder-workspace/Sources/ACP/Utilities/ShellEnvironment.swift:13:24: warning: static property 'cachedEnvironment' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 11 |     private static let cacheLock = NSLock()
 12 |     private static let cacheCondition = NSCondition()
 13 |     private static var cachedEnvironment: [String: String]?
    |                        |- warning: static property 'cachedEnvironment' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert 'cachedEnvironment' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: add '@MainActor' to make static property 'cachedEnvironment' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 14 |     private static var isLoading = false
 15 |
/Users/admin/builder/spi-builder-workspace/Sources/ACP/Utilities/ShellEnvironment.swift:14:24: warning: static property 'isLoading' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 12 |     private static let cacheCondition = NSCondition()
 13 |     private static var cachedEnvironment: [String: String]?
 14 |     private static var isLoading = false
    |                        |- warning: static property 'isLoading' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert 'isLoading' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: add '@MainActor' to make static property 'isLoading' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 15 |
 16 |     /// Get user's shell environment (cached after first load)
[41/56] Compiling ACP Message.swift
[42/56] Compiling ACP Permission.swift
[43/56] Compiling ACP Requests.swift
[44/56] Compiling ACP Client.swift
/Users/admin/builder/spi-builder-workspace/Sources/ACP/Client.swift:497:30: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
485 |     }
486 |
487 |     private func withRequestTimeout<T>(
    |                                     `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
488 |         seconds: TimeInterval?,
489 |         requestId: RequestId,
    :
495 |
496 |         do {
497 |             return try await withThrowingTaskGroup(of: T.self) { group in
    |                              `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
498 |                 group.addTask {
499 |                     try await operation()
/Users/admin/builder/spi-builder-workspace/Sources/ACP/Client.swift:498:23: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
485 |     }
486 |
487 |     private func withRequestTimeout<T>(
    |                                     `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
488 |         seconds: TimeInterval?,
489 |         requestId: RequestId,
    :
496 |         do {
497 |             return try await withThrowingTaskGroup(of: T.self) { group in
498 |                 group.addTask {
    |                       `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
499 |                     try await operation()
500 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/ACP/Client.swift:501:23: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
485 |     }
486 |
487 |     private func withRequestTimeout<T>(
    |                                     `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
488 |         seconds: TimeInterval?,
489 |         requestId: RequestId,
    :
499 |                     try await operation()
500 |                 }
501 |                 group.addTask {
    |                       `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
502 |                     try await Task.sleep(nanoseconds: UInt64(seconds * 1_000_000_000))
503 |                     throw TimeoutError.requestTimedOut
/Users/admin/builder/spi-builder-workspace/Sources/ACP/Client.swift:506:52: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
485 |     }
486 |
487 |     private func withRequestTimeout<T>(
    |                                     `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
488 |         seconds: TimeInterval?,
489 |         requestId: RequestId,
    :
504 |                 }
505 |
506 |                 guard let result = try await group.next() else {
    |                                                    `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
507 |                     throw TimeoutError.requestTimedOut
508 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/ACP/Client.swift:509:23: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
485 |     }
486 |
487 |     private func withRequestTimeout<T>(
    |                                     `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
488 |         seconds: TimeInterval?,
489 |         requestId: RequestId,
    :
507 |                     throw TimeoutError.requestTimedOut
508 |                 }
509 |                 group.cancelAll()
    |                       `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
510 |                 return result
511 |             }
/Users/admin/builder/spi-builder-workspace/Sources/ACP/Client.swift:493:30: warning: non-sendable result type 'T' cannot be sent from nonisolated context in call to parameter 'operation'; this is an error in the Swift 6 language mode
485 |     }
486 |
487 |     private func withRequestTimeout<T>(
    |                                     `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
488 |         seconds: TimeInterval?,
489 |         requestId: RequestId,
    :
491 |     ) async throws -> T {
492 |         guard let seconds = seconds else {
493 |             return try await operation()
    |                              `- warning: non-sendable result type 'T' cannot be sent from nonisolated context in call to parameter 'operation'; this is an error in the Swift 6 language mode
494 |         }
495 |
/Users/admin/builder/spi-builder-workspace/Sources/ACP/Client.swift:681:34: warning: sending 'message' risks causing data races; this is an error in the Swift 6 language mode
679 |             }
680 |         }
681 |         try await processManager.writeMessage(message)
    |                                  |- warning: sending 'message' risks causing data races; this is an error in the Swift 6 language mode
    |                                  `- note: sending 'self'-isolated 'message' to actor-isolated instance method 'writeMessage' risks causing data races between actor-isolated and 'self'-isolated uses
682 |     }
683 | }
/Users/admin/builder/spi-builder-workspace/Sources/ACP/Client.swift:498:31: 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
496 |         do {
497 |             return try await withThrowingTaskGroup(of: T.self) { group in
498 |                 group.addTask {
    |                               `- 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
499 |                     try await operation()
    |                               `- note: closure captures 'operation' which is accessible to code in the current task
500 |                 }
501 |                 group.addTask {
[45/56] Compiling ACP ClientDelegate.swift
/Users/admin/builder/spi-builder-workspace/Sources/ACP/Client.swift:497:30: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
485 |     }
486 |
487 |     private func withRequestTimeout<T>(
    |                                     `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
488 |         seconds: TimeInterval?,
489 |         requestId: RequestId,
    :
495 |
496 |         do {
497 |             return try await withThrowingTaskGroup(of: T.self) { group in
    |                              `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
498 |                 group.addTask {
499 |                     try await operation()
/Users/admin/builder/spi-builder-workspace/Sources/ACP/Client.swift:498:23: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
485 |     }
486 |
487 |     private func withRequestTimeout<T>(
    |                                     `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
488 |         seconds: TimeInterval?,
489 |         requestId: RequestId,
    :
496 |         do {
497 |             return try await withThrowingTaskGroup(of: T.self) { group in
498 |                 group.addTask {
    |                       `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
499 |                     try await operation()
500 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/ACP/Client.swift:501:23: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
485 |     }
486 |
487 |     private func withRequestTimeout<T>(
    |                                     `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
488 |         seconds: TimeInterval?,
489 |         requestId: RequestId,
    :
499 |                     try await operation()
500 |                 }
501 |                 group.addTask {
    |                       `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
502 |                     try await Task.sleep(nanoseconds: UInt64(seconds * 1_000_000_000))
503 |                     throw TimeoutError.requestTimedOut
/Users/admin/builder/spi-builder-workspace/Sources/ACP/Client.swift:506:52: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
485 |     }
486 |
487 |     private func withRequestTimeout<T>(
    |                                     `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
488 |         seconds: TimeInterval?,
489 |         requestId: RequestId,
    :
504 |                 }
505 |
506 |                 guard let result = try await group.next() else {
    |                                                    `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
507 |                     throw TimeoutError.requestTimedOut
508 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/ACP/Client.swift:509:23: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
485 |     }
486 |
487 |     private func withRequestTimeout<T>(
    |                                     `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
488 |         seconds: TimeInterval?,
489 |         requestId: RequestId,
    :
507 |                     throw TimeoutError.requestTimedOut
508 |                 }
509 |                 group.cancelAll()
    |                       `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
510 |                 return result
511 |             }
/Users/admin/builder/spi-builder-workspace/Sources/ACP/Client.swift:493:30: warning: non-sendable result type 'T' cannot be sent from nonisolated context in call to parameter 'operation'; this is an error in the Swift 6 language mode
485 |     }
486 |
487 |     private func withRequestTimeout<T>(
    |                                     `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
488 |         seconds: TimeInterval?,
489 |         requestId: RequestId,
    :
491 |     ) async throws -> T {
492 |         guard let seconds = seconds else {
493 |             return try await operation()
    |                              `- warning: non-sendable result type 'T' cannot be sent from nonisolated context in call to parameter 'operation'; this is an error in the Swift 6 language mode
494 |         }
495 |
/Users/admin/builder/spi-builder-workspace/Sources/ACP/Client.swift:681:34: warning: sending 'message' risks causing data races; this is an error in the Swift 6 language mode
679 |             }
680 |         }
681 |         try await processManager.writeMessage(message)
    |                                  |- warning: sending 'message' risks causing data races; this is an error in the Swift 6 language mode
    |                                  `- note: sending 'self'-isolated 'message' to actor-isolated instance method 'writeMessage' risks causing data races between actor-isolated and 'self'-isolated uses
682 |     }
683 | }
/Users/admin/builder/spi-builder-workspace/Sources/ACP/Client.swift:498:31: 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
496 |         do {
497 |             return try await withThrowingTaskGroup(of: T.self) { group in
498 |                 group.addTask {
    |                               `- 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
499 |                     try await operation()
    |                               `- note: closure captures 'operation' which is accessible to code in the current task
500 |                 }
501 |                 group.addTask {
[46/56] Compiling ACP Config.swift
/Users/admin/builder/spi-builder-workspace/Sources/ACP/Client.swift:497:30: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
485 |     }
486 |
487 |     private func withRequestTimeout<T>(
    |                                     `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
488 |         seconds: TimeInterval?,
489 |         requestId: RequestId,
    :
495 |
496 |         do {
497 |             return try await withThrowingTaskGroup(of: T.self) { group in
    |                              `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
498 |                 group.addTask {
499 |                     try await operation()
/Users/admin/builder/spi-builder-workspace/Sources/ACP/Client.swift:498:23: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
485 |     }
486 |
487 |     private func withRequestTimeout<T>(
    |                                     `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
488 |         seconds: TimeInterval?,
489 |         requestId: RequestId,
    :
496 |         do {
497 |             return try await withThrowingTaskGroup(of: T.self) { group in
498 |                 group.addTask {
    |                       `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
499 |                     try await operation()
500 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/ACP/Client.swift:501:23: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
485 |     }
486 |
487 |     private func withRequestTimeout<T>(
    |                                     `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
488 |         seconds: TimeInterval?,
489 |         requestId: RequestId,
    :
499 |                     try await operation()
500 |                 }
501 |                 group.addTask {
    |                       `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
502 |                     try await Task.sleep(nanoseconds: UInt64(seconds * 1_000_000_000))
503 |                     throw TimeoutError.requestTimedOut
/Users/admin/builder/spi-builder-workspace/Sources/ACP/Client.swift:506:52: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
485 |     }
486 |
487 |     private func withRequestTimeout<T>(
    |                                     `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
488 |         seconds: TimeInterval?,
489 |         requestId: RequestId,
    :
504 |                 }
505 |
506 |                 guard let result = try await group.next() else {
    |                                                    `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
507 |                     throw TimeoutError.requestTimedOut
508 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/ACP/Client.swift:509:23: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
485 |     }
486 |
487 |     private func withRequestTimeout<T>(
    |                                     `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
488 |         seconds: TimeInterval?,
489 |         requestId: RequestId,
    :
507 |                     throw TimeoutError.requestTimedOut
508 |                 }
509 |                 group.cancelAll()
    |                       `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
510 |                 return result
511 |             }
/Users/admin/builder/spi-builder-workspace/Sources/ACP/Client.swift:493:30: warning: non-sendable result type 'T' cannot be sent from nonisolated context in call to parameter 'operation'; this is an error in the Swift 6 language mode
485 |     }
486 |
487 |     private func withRequestTimeout<T>(
    |                                     `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
488 |         seconds: TimeInterval?,
489 |         requestId: RequestId,
    :
491 |     ) async throws -> T {
492 |         guard let seconds = seconds else {
493 |             return try await operation()
    |                              `- warning: non-sendable result type 'T' cannot be sent from nonisolated context in call to parameter 'operation'; this is an error in the Swift 6 language mode
494 |         }
495 |
/Users/admin/builder/spi-builder-workspace/Sources/ACP/Client.swift:681:34: warning: sending 'message' risks causing data races; this is an error in the Swift 6 language mode
679 |             }
680 |         }
681 |         try await processManager.writeMessage(message)
    |                                  |- warning: sending 'message' risks causing data races; this is an error in the Swift 6 language mode
    |                                  `- note: sending 'self'-isolated 'message' to actor-isolated instance method 'writeMessage' risks causing data races between actor-isolated and 'self'-isolated uses
682 |     }
683 | }
/Users/admin/builder/spi-builder-workspace/Sources/ACP/Client.swift:498:31: 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
496 |         do {
497 |             return try await withThrowingTaskGroup(of: T.self) { group in
498 |                 group.addTask {
    |                               `- 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
499 |                     try await operation()
    |                               `- note: closure captures 'operation' which is accessible to code in the current task
500 |                 }
501 |                 group.addTask {
[47/56] Compiling ACP Terminal.swift
[48/56] Compiling ACP TerminalDelegate.swift
[49/56] Compiling ACP ProcessManager.swift
[50/56] Compiling ACP ProcessRegistry.swift
[51/56] Compiling ACP RequestRouter.swift
[52/56] Compiling ACP Transport.swift
[53/56] Compiling ACP Updates.swift
[54/56] Compiling ACP Content.swift
[55/56] Compiling ACP Errors.swift
[56/56] Compiling ACP FileSystemDelegate.swift
[57/59] Compiling ACPHTTP ACPHTTP.swift
[58/59] Compiling ACPHTTP WebSocketTransport.swift
[59/59] Emitting module ACPHTTP
Build complete! (11.13s)
Fetching https://github.com/apple/swift-log.git from cache
Fetched https://github.com/apple/swift-log.git from cache (1.04s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.11.0 (1.60s)
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.11.0
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift-log",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.6.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-log.git"
    }
  ],
  "manifest_display_name" : "swift-acp",
  "name" : "swift-acp",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "12.0"
    },
    {
      "name" : "ios",
      "version" : "15.0"
    },
    {
      "name" : "tvos",
      "version" : "15.0"
    },
    {
      "name" : "watchos",
      "version" : "8.0"
    }
  ],
  "products" : [
    {
      "name" : "ACPModel",
      "targets" : [
        "ACPModel"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "ACP",
      "targets" : [
        "ACP"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "ACPHTTP",
      "targets" : [
        "ACPHTTP"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "ACPRegistry",
      "targets" : [
        "ACPRegistry"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "ACPTests",
      "module_type" : "SwiftTarget",
      "name" : "ACPTests",
      "path" : "Tests/ACPTests",
      "sources" : [
        "ACPClientTests.swift",
        "ACPE2ETests.swift",
        "ACPPerformanceTests.swift"
      ],
      "target_dependencies" : [
        "ACP",
        "ACPModel"
      ],
      "type" : "test"
    },
    {
      "c99name" : "ACPRegistryTests",
      "module_type" : "SwiftTarget",
      "name" : "ACPRegistryTests",
      "path" : "Tests/ACPRegistryTests",
      "sources" : [
        "RegistryTests.swift"
      ],
      "target_dependencies" : [
        "ACPRegistry"
      ],
      "type" : "test"
    },
    {
      "c99name" : "ACPRegistry",
      "module_type" : "SwiftTarget",
      "name" : "ACPRegistry",
      "path" : "Sources/ACPRegistry",
      "product_memberships" : [
        "ACPRegistry"
      ],
      "sources" : [
        "AgentInstaller.swift",
        "RegistryClient.swift",
        "RegistryTypes.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "ACPModelTests",
      "module_type" : "SwiftTarget",
      "name" : "ACPModelTests",
      "path" : "Tests/ACPModelTests",
      "sources" : [
        "ACPModelTests.swift"
      ],
      "target_dependencies" : [
        "ACPModel"
      ],
      "type" : "test"
    },
    {
      "c99name" : "ACPModel",
      "module_type" : "SwiftTarget",
      "name" : "ACPModel",
      "path" : "Sources/ACPModel",
      "product_memberships" : [
        "ACPModel",
        "ACP",
        "ACPHTTP"
      ],
      "sources" : [
        "ACPModel.swift",
        "Capabilities.swift",
        "Config.swift",
        "Content.swift",
        "Errors.swift",
        "Message.swift",
        "Permission.swift",
        "Requests.swift",
        "Responses.swift",
        "Session.swift",
        "Terminal.swift",
        "Tool.swift",
        "Updates.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "ACPHTTPTests",
      "module_type" : "SwiftTarget",
      "name" : "ACPHTTPTests",
      "path" : "Tests/ACPHTTPTests",
      "sources" : [
        "ACPHTTPTests.swift"
      ],
      "target_dependencies" : [
        "ACPHTTP",
        "ACP",
        "ACPModel"
      ],
      "type" : "test"
    },
    {
      "c99name" : "ACPHTTP",
      "module_type" : "SwiftTarget",
      "name" : "ACPHTTP",
      "path" : "Sources/ACPHTTP",
      "product_memberships" : [
        "ACPHTTP"
      ],
      "sources" : [
        "ACPHTTP.swift",
        "WebSocketTransport.swift"
      ],
      "target_dependencies" : [
        "ACP",
        "ACPModel"
      ],
      "type" : "library"
    },
    {
      "c99name" : "ACP",
      "module_type" : "SwiftTarget",
      "name" : "ACP",
      "path" : "Sources/ACP",
      "product_dependencies" : [
        "Logging"
      ],
      "product_memberships" : [
        "ACP",
        "ACPHTTP"
      ],
      "sources" : [
        "Agent/Agent.swift",
        "Agent/StdinTransport.swift",
        "Capabilities.swift",
        "Client.swift",
        "ClientDelegate.swift",
        "Config.swift",
        "Content.swift",
        "Errors.swift",
        "FileSystemDelegate.swift",
        "Internal/ProcessManager.swift",
        "Internal/ProcessRegistry.swift",
        "Internal/RequestRouter.swift",
        "Message.swift",
        "Permission.swift",
        "Requests.swift",
        "Responses.swift",
        "Session.swift",
        "Terminal.swift",
        "TerminalDelegate.swift",
        "Tool.swift",
        "Transport/StdioTransport.swift",
        "Transport/Transport.swift",
        "Updates.swift",
        "Utilities/Logger.swift",
        "Utilities/ShellEnvironment.swift"
      ],
      "target_dependencies" : [
        "ACPModel"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
Done.