The Swift Package Index logo.Swift Package Index

Build Information

Successful build of swift-acp, reference main (e1f7e0), with Swift 6.1 for macOS (SPM) on 1 Jul 2026 02:16:19 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: undefined version: run 'make version' to update
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 e1f7e08 update interface for xcode 26.6
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 @):
e1f7e084fe9a2014ed8aee97ad24b788281bf703
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",
        "StdinTransportTests.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/34] Compiling Logging LoggingSystem.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/35] 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
[9/35] Compiling Logging Logger.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/35] Compiling Logging Logger+Attributes.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/35] 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
[12/35] Emitting module Logging
unable to find node: pound
unable to find node: pound
<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/35] Compiling Logging Logger+With.swift
unable to find node: pound
unable to find node: pound
<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
[14/35] 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
[15/35] Compiling Logging SwiftLogNoOpLogHandler.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
[16/35] 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
[17/35] Compiling ACPModel Config.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
[18/35] Compiling ACPModel Content.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
[19/35] Compiling ACPModel Session.swift
[20/36] Compiling ACPRegistry RegistryTypes.swift
[21/36] Compiling ACPRegistry RegistryClient.swift
[22/36] Compiling ACPModel Terminal.swift
[23/36] Compiling ACPModel Responses.swift
[24/36] Compiling ACPModel Permission.swift
[25/36] Emitting module ACPRegistry
[26/36] Compiling ACPModel Requests.swift
[27/36] Compiling ACPRegistry AgentInstaller.swift
[28/36] Compiling ACPModel ACPModel.swift
[29/36] Compiling ACPModel Capabilities.swift
[30/36] Compiling ACPModel Tool.swift
[33/36] Emitting module ACPModel
[34/36] Compiling ACPModel Errors.swift
[35/36] Compiling ACPModel Message.swift
[36/36] Compiling ACPModel Updates.swift
[37/60] Emitting module ACP
/Users/admin/builder/spi-builder-workspace/Sources/ACP/Utilities/Logger.swift:51: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
49 | extension Logger {
50 |     /// Default subsystem for ACP logging
51 |     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
52 |
53 |     /// 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)
[38/62] Compiling ACP Transport.swift
[39/62] Compiling ACP Updates.swift
[40/62] Compiling ACP Responses.swift
[41/62] Compiling ACP Session.swift
[42/62] Compiling ACP Content.swift
[43/62] Compiling ACP Errors.swift
[44/62] Compiling ACP FileSystemDelegate.swift
[45/62] Compiling ACP Tool.swift
[46/62] Compiling ACP StdioTransport.swift
[47/62] Compiling ACP Logger.swift
/Users/admin/builder/spi-builder-workspace/Sources/ACP/Utilities/Logger.swift:51: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
49 | extension Logger {
50 |     /// Default subsystem for ACP logging
51 |     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
52 |
53 |     /// 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)
[48/62] Compiling ACP ShellEnvironment.swift
/Users/admin/builder/spi-builder-workspace/Sources/ACP/Utilities/Logger.swift:51: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
49 | extension Logger {
50 |     /// Default subsystem for ACP logging
51 |     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
52 |
53 |     /// 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)
[49/62] Compiling ACP Terminal.swift
[50/62] Compiling ACP TerminalDelegate.swift
[51/62] 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 {
[52/62] 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 {
[53/62] 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 {
[54/62] Compiling ACP Agent.swift
[55/62] Compiling ACP StdinTransport.swift
[56/62] Compiling ACP Capabilities.swift
[57/62] Compiling ACP Message.swift
[58/62] Compiling ACP Permission.swift
[59/62] Compiling ACP Requests.swift
[60/62] Compiling ACP ProcessManager.swift
[61/62] Compiling ACP ProcessRegistry.swift
[62/62] Compiling ACP RequestRouter.swift
[63/65] Emitting module ACPHTTP
[64/65] Compiling ACPHTTP ACPHTTP.swift
[65/65] Compiling ACPHTTP WebSocketTransport.swift
Build complete! (10.52s)
Fetching https://github.com/apple/swift-log.git from cache
Fetched https://github.com/apple/swift-log.git from cache (1.09s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.14.0 (1.63s)
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.14.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",
        "StdinTransportTests.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.